CMS 3D CMS Logo

CSCDbStripConditions.h
Go to the documentation of this file.
1 #ifndef CSCDigitizer_CSCDbStripConditions_h
2 #define CSCDigitizer_CSCDbStripConditions_h
3 
7 
9 {
10 public:
12  ~CSCDbStripConditions() override;
13 
15  void initializeEvent(const edm::EventSetup & es) override;
16 
18  float gain(const CSCDetId & detId, int channel) const override;
20  float gainSigma(const CSCDetId & detId, int channel) const override {return 0.005;}
21 
23  float pedestal(const CSCDetId & detId, int channel) const override;
24  float pedestalSigma(const CSCDetId & detId, int channel) const override;
25 
26  void crosstalk(const CSCDetId&detId, int channel,
27  double stripLength, bool leftRight,
28  float & capacitive, float & resistive) const override;
29 
31  bool isInBadChamber( const CSCDetId& id ) const override;
32 
33 private:
34  void fetchNoisifier(const CSCDetId & detId, int istrip) override;
35 
37 
38  // nominal constant to give 100% crosstalk
40  // constant for resistive crosstalk scaling.
41  // Not really sure why it shouldn't be one.
43  // converts DB gains to the gain we expect, 0.5 fC/ADC
46 };
47 
48 #endif
49 
50 
void initializeEvent(const edm::EventSetup &es) override
fetch the maps from the database
void fetchNoisifier(const CSCDetId &detId, int istrip) override
float pedestal(const CSCDetId &detId, int channel) const override
in ADC counts
bool isInBadChamber(const CSCDetId &id) const override
check list of bad chambers from db
CSCDbStripConditions(const edm::ParameterSet &pset)
float pedestalSigma(const CSCDetId &detId, int channel) const override
float gain(const CSCDetId &detId, int channel) const override
channels count from 1
float gainSigma(const CSCDetId &detId, int channel) const override
total calibration precision
void crosstalk(const CSCDetId &detId, int channel, double stripLength, bool leftRight, float &capacitive, float &resistive) const override