CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CSCDbStripConditions.h
Go to the documentation of this file.
1 #ifndef CSCDigitizer_CSCDbStripConditions_h
2 #define CSCDigitizer_CSCDbStripConditions_h
3 
7 
9 public:
11  ~CSCDbStripConditions() override;
12 
14  void initializeEvent(const edm::EventSetup &es) override;
15 
17  float gain(const CSCDetId &detId, int channel) const override;
19  float gainSigma(const CSCDetId &detId, int channel) const override { return 0.005; }
20 
22  float pedestal(const CSCDetId &detId, int channel) const override;
23  float pedestalSigma(const CSCDetId &detId, int channel) const override;
24 
25  void crosstalk(const CSCDetId &detId,
26  int channel,
27  double stripLength,
28  bool leftRight,
29  float &capacitive,
30  float &resistive) const override;
31 
33  bool isInBadChamber(const CSCDetId &id) const override;
34 
35 private:
36  void fetchNoisifier(const CSCDetId &detId, int istrip) override;
37 
39 
40  // nominal constant to give 100% crosstalk
42  // constant for resistive crosstalk scaling.
43  // Not really sure why it shouldn't be one.
45  // converts DB gains to the gain we expect, 0.5 fC/ADC
48 };
49 
50 #endif
float pedestal(const CSCDetId &detId, int channel) const override
in ADC counts
void initializeEvent(const edm::EventSetup &es) override
fetch the maps from the database
void fetchNoisifier(const CSCDetId &detId, int istrip) override
CSCDbStripConditions(const edm::ParameterSet &pset, edm::ConsumesCollector cc)
float gain(const CSCDetId &detId, int channel) const override
channels count from 1
float pedestalSigma(const CSCDetId &detId, int channel) const override
void crosstalk(const CSCDetId &detId, int channel, double stripLength, bool leftRight, float &capacitive, float &resistive) const override
float gainSigma(const CSCDetId &detId, int channel) const override
total calibration precision
bool isInBadChamber(const CSCDetId &id) const override
check list of bad chambers from db