CMS 3D CMS Logo

SiStripGainRandomCalculator.h
Go to the documentation of this file.
1 #ifndef CalibTracker_SiStripChannelGain_SiStripGainRandomCalculator_h
2 #define CalibTracker_SiStripChannelGain_SiStripGainRandomCalculator_h
3 // -*- C++ -*-
4 //
5 // Package: SiStripApvGainCalculator
6 // Class: SiStripApvGainCalculator
7 //
15 //
16 // Original Author: Dorian Kcira, Pierre Rodeghiero
17 // Created: Mon Nov 20 10:04:31 CET 2006
18 //
19 //
20 
21 
24 #include <vector>
25 
26 class SiStripGainRandomCalculator : public ConditionDBWriter<SiStripApvGain> {
27 
28 public:
29 
32 
33 private:
34 
35  void algoAnalyze(const edm::Event &, const edm::EventSetup &) override;
36 
37  SiStripApvGain * getNewObject() override;
38 
39 private:
40 
41  double meanGain_;
42  double sigmaGain_;
44 
45  std::vector< std::pair<uint32_t, unsigned short> > detid_apvs_;
46  unsigned long long m_cacheID_;
48 
49 };
50 #endif
void algoAnalyze(const edm::Event &, const edm::EventSetup &) override
SiStripGainRandomCalculator(const edm::ParameterSet &)
std::vector< std::pair< uint32_t, unsigned short > > detid_apvs_
SiStripApvGain * getNewObject() override