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 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
CSCDbStripConditions::initializeEvent
void initializeEvent(const edm::EventSetup &es) override
fetch the maps from the database
Definition: CSCDbStripConditions.cc:27
CSCDbStripConditions::isInBadChamber
bool isInBadChamber(const CSCDetId &id) const override
check list of bad chambers from db
Definition: CSCDbStripConditions.cc:97
CSCDbStripConditions::pedestal
float pedestal(const CSCDetId &detId, int channel) const override
in ADC counts
Definition: CSCDbStripConditions.cc:33
CSCDbStripConditions::theResistiveCrosstalkScaling
float theResistiveCrosstalkScaling
Definition: CSCDbStripConditions.h:44
CSCDbStripConditions::doCorrelatedNoise_
bool doCorrelatedNoise_
Definition: CSCDbStripConditions.h:47
CSCDbStripConditions::CSCDbStripConditions
CSCDbStripConditions(const edm::ParameterSet &pset)
Definition: CSCDbStripConditions.cc:11
CSCConditions
Definition: CSCConditions.h:48
CSCStripConditions
Definition: CSCStripConditions.h:13
CSCDbStripConditions::gain
float gain(const CSCDetId &detId, int channel) const override
channels count from 1
Definition: CSCDbStripConditions.cc:29
CSCDbStripConditions::fetchNoisifier
void fetchNoisifier(const CSCDetId &detId, int istrip) override
Definition: CSCDbStripConditions.cc:53
edm::ParameterSet
Definition: ParameterSet.h:36
CSCDbStripConditions::~CSCDbStripConditions
~CSCDbStripConditions() override
Definition: CSCDbStripConditions.cc:22
CSCConditions.h
CSCDetId
Definition: CSCDetId.h:26
CSCStripConditions.h
edm::EventSetup
Definition: EventSetup.h:57
CSCDbStripConditions::pedestalSigma
float pedestalSigma(const CSCDetId &detId, int channel) const override
Definition: CSCDbStripConditions.cc:37
CSCDbStripConditions
Definition: CSCDbStripConditions.h:8
CSCDbStripConditions::theGainsConstant
float theGainsConstant
Definition: CSCDbStripConditions.h:46
CSCDbStripConditions::gainSigma
float gainSigma(const CSCDetId &detId, int channel) const override
total calibration precision
Definition: CSCDbStripConditions.h:19
CSCDbStripConditions::theConditions
CSCConditions theConditions
Definition: CSCDbStripConditions.h:38
ParameterSet.h
CSCDbStripConditions::crosstalk
void crosstalk(const CSCDetId &detId, int channel, double stripLength, bool leftRight, float &capacitive, float &resistive) const override
Definition: CSCDbStripConditions.cc:41
CSCDbStripConditions::theCapacitiveCrosstalk
float theCapacitiveCrosstalk
Definition: CSCDbStripConditions.h:41
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27