Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29:28

0001 #ifndef SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXETSTRIPH
0002 #define SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXETSTRIPH
0003 #include <vector>
0004 
0005 /**
0006    \class EcalFenixEtStrip
0007 
0008    class for calculation of Et for Fenix strip
0009  *  input: 5x18 bits
0010  *  output: 18 bits representing sum
0011  *
0012  *  sum method gets vector of CaloTimeSamples
0013  *  as input (steph comment : Ursula, why CaloTimeSample ?)
0014  *  simple sum, test for max?
0015  *  max in h4ana is 0x3FFFF
0016  *
0017  *  ---> if overflow sum= (2^18-1)
0018  */
0019 
0020 class EcalFenixEtStrip {
0021 private:
0022 public:
0023   EcalFenixEtStrip();
0024   virtual ~EcalFenixEtStrip();
0025   void process(const std::vector<std::vector<int>> &linout, int nrXtals, std::vector<int> &output);
0026 };
0027 
0028 #endif