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 
25 #include <vector>
26 #include <memory>
27 
28 class SiStripGainRandomCalculator : public ConditionDBWriter<SiStripApvGain> {
29 
30 public:
31 
34 
35 private:
36 
37  void algoAnalyze(const edm::Event &, const edm::EventSetup &) override;
38 
39  std::unique_ptr<SiStripApvGain> getNewObject() override;
40 
41 private:
42 
43  double meanGain_;
44  double sigmaGain_;
46 
47  std::vector< std::pair<uint32_t, unsigned short> > detid_apvs_;
48  unsigned long long m_cacheID_;
50 
51 };
52 #endif
std::unique_ptr< SiStripApvGain > getNewObject() override
void algoAnalyze(const edm::Event &, const edm::EventSetup &) override
SiStripGainRandomCalculator(const edm::ParameterSet &)
std::vector< std::pair< uint32_t, unsigned short > > detid_apvs_