CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~CSCDbStripConditions();
13 
15  virtual void initializeEvent(const edm::EventSetup & es);
16 
18  virtual float gain(const CSCDetId & detId, int channel) const;
20  virtual float gainSigma(const CSCDetId & detId, int channel) const {return 0.005;}
21 
23  virtual float pedestal(const CSCDetId & detId, int channel) const;
24  virtual float pedestalSigma(const CSCDetId & detId, int channel) const;
25 
26  virtual void crosstalk(const CSCDetId&detId, int channel,
27  double stripLength, bool leftRight,
28  float & capacitive, float & resistive) const;
29 
31  virtual bool isInBadChamber( const CSCDetId& id ) const;
32 
33 private:
34  virtual void fetchNoisifier(const CSCDetId & detId, int istrip);
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 
virtual float gainSigma(const CSCDetId &detId, int channel) const
total calibration precision
CSCDbStripConditions(const edm::ParameterSet &pset)
virtual float pedestal(const CSCDetId &detId, int channel) const
in ADC counts
tuple pset
Definition: CrabTask.py:85
virtual float pedestalSigma(const CSCDetId &detId, int channel) const
virtual void fetchNoisifier(const CSCDetId &detId, int istrip)
virtual void initializeEvent(const edm::EventSetup &es)
fetch the maps from the database
virtual bool isInBadChamber(const CSCDetId &id) const
check list of bad chambers from db
virtual float gain(const CSCDetId &detId, int channel) const
channels count from 1
virtual void crosstalk(const CSCDetId &detId, int channel, double stripLength, bool leftRight, float &capacitive, float &resistive) const