CMS 3D CMS Logo

HcalTPParameters.h
Go to the documentation of this file.
1 #ifndef CondFormatsHcalObjectsHcalTPParameters_h
2 #define CondFormatsHcalObjectsHcalTPParameters_h
3 
5 
6 #include <vector>
7 #include <algorithm>
8 #include <cstdint>
9 
11 public:
14 
15  // Load a new entry
16  void loadObject(int version, int adcCut, uint64_t tdcMask, uint32_t tbits, int auxi1, int auxi2);
17 
19  int getFGVersionHBHE() const { return version_; }
21  int getADCThresholdHF() const { return adcCut_; }
23  uint64_t getTDCMaskHF() const { return tdcMask_; }
25  uint32_t getHFTriggerInfo() const { return tbits_; }
27  int getAuxi1() const { return auxi1_; }
28  int getAuxi2() const { return auxi2_; }
29 
30 private:
31  int version_;
32  int adcCut_;
34  uint32_t tbits_;
35  int auxi1_;
36  int auxi2_;
37 
39 };
40 
41 #endif
int getADCThresholdHF() const
get ADC threshold fof TDC mask of HF
int getFGVersionHBHE() const
get FineGrain Algorithm Version for HBHE
uint32_t getHFTriggerInfo() const
get Self Trigger bits
uint64_t getTDCMaskHF() const
get TDC mask for HF
int getAuxi2() const
unsigned long long uint64_t
Definition: Time.h:13
int getAuxi1() const
get Axiliary words
void loadObject(int version, int adcCut, uint64_t tdcMask, uint32_t tbits, int auxi1, int auxi2)
#define COND_SERIALIZABLE
Definition: Serializable.h:39