CMS 3D CMS Logo

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
EcalEBFenixTcpFormat::famos_
bool famos_
Definition: EcalEBFenixTcpFormat.h:47
EcalEBFenixTcpFormat::binOfMax_
unsigned int binOfMax_
Definition: EcalEBFenixTcpFormat.h:48
EcalTPGSpike
Definition: EcalTPGSpike.h:9
EcalTPGLutGroup
Definition: EcalTPGLutGroup.h:13
debug
#define debug
Definition: HDRShower.cc:19
EcalEBFenixTcpFormat::EcalEBFenixTcpFormat
EcalEBFenixTcpFormat(bool tccFormat, bool debug, bool famos, int binOfMax)
Definition: EcalEBFenixTcpFormat.cc:11
EcalTPGLutIdMap
Definition: EcalTPGLutIdMap.h:10
EcalEBFenixTcpFormat::badTTStatus_
const uint16_t * badTTStatus_
Definition: EcalEBFenixTcpFormat.h:43
EcalEBFenixTcpFormat::setParameters
void setParameters(uint32_t towid, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT, const EcalTPGSpike *ecaltpgSpike)
Definition: EcalEBFenixTcpFormat.cc:131
EcalEBFenixTcpFormat::debug_
bool debug_
Definition: EcalEBFenixTcpFormat.h:46
EcalTPGTowerStatus
Definition: EcalTPGTowerStatus.h:9
EcalEBFenixTcpFormat::tcpFormat_
bool tcpFormat_
Definition: EcalEBFenixTcpFormat.h:45
EcalEBTriggerPrimitiveSample.h
EcalEBFenixTcpFormat::~EcalEBFenixTcpFormat
virtual ~EcalEBFenixTcpFormat()
Definition: EcalEBFenixTcpFormat.cc:17
EcalEBFenixTcpFormat::process
void process(std::vector< int > &, std::vector< int > &)
Definition: EcalEBFenixTcpFormat.cc:19
EcalEBFenixTcpFormat::spikeZeroThresh_
uint16_t spikeZeroThresh_
Definition: EcalEBFenixTcpFormat.h:49
EcalEBFenixTcpFormat::lut_
const unsigned int * lut_
Definition: EcalEBFenixTcpFormat.h:42
EcalEBFenixTcpFormat::status_
uint16_t status_
Definition: EcalEBFenixTcpFormat.h:44
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
EcalEBFenixTcpFormat
Formatting for Fenix Tcp input 10 bits from Ettot 1 bit from fgvb 3 bits TriggerTowerFlag output: 16 ...
Definition: EcalEBFenixTcpFormat.h:22