CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalEBFenixTcpFormat.h
Go to the documentation of this file.
1 #ifndef SimCalorimetry_EcalEBTrigPrimAlgos_EcalEBFenixTcpFormat_h
2 #define SimCalorimetry_EcalEBTrigPrimAlgos_EcalEBFenixTcpFormat_h
3 
5 #include <vector>
6 
7 class EcalTPGLutGroup;
8 class EcalTPGLutIdMap;
10 class EcalTPGSpike;
11 
23 public:
24  EcalEBFenixTcpFormat(bool tccFormat, bool debug, bool famos, int binOfMax);
25  virtual ~EcalEBFenixTcpFormat();
26 
27  void process(std::vector<int> &, std::vector<int> &);
28  void process(std::vector<int> &Et,
29  std::vector<int> &fgvb,
30  std::vector<int> &sfgvb,
31  int eTTotShift,
32  std::vector<EcalEBTriggerPrimitiveSample> &out,
33  std::vector<EcalEBTriggerPrimitiveSample> &outTcc,
34  bool isInInnerRings);
35  void setParameters(uint32_t towid,
36  const EcalTPGLutGroup *ecaltpgLutGroup,
37  const EcalTPGLutIdMap *ecaltpgLut,
38  const EcalTPGTowerStatus *ecaltpgbadTT,
39  const EcalTPGSpike *ecaltpgSpike);
40 
41 private:
42  const unsigned int *lut_;
43  const uint16_t *badTTStatus_;
44  uint16_t status_;
45  bool tcpFormat_;
46  bool debug_;
47  bool famos_;
48  unsigned int binOfMax_;
49  uint16_t spikeZeroThresh_;
50 };
51 
52 #endif
const unsigned int * lut_
const uint16_t * badTTStatus_
Formatting for Fenix Tcp input 10 bits from Ettot 1 bit from fgvb 3 bits TriggerTowerFlag output: 16 ...
void setParameters(uint32_t towid, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT, const EcalTPGSpike *ecaltpgSpike)
#define debug
Definition: HDRShower.cc:19
EcalEBFenixTcpFormat(bool tccFormat, bool debug, bool famos, int binOfMax)
void process(std::vector< int > &, std::vector< int > &)