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 
23 
24 #include <vector>
25 #include <memory>
26 
27 class SiStripGainRandomCalculator : public ConditionDBWriter<SiStripApvGain> {
28 public:
31 
32 private:
33  void algoAnalyze(const edm::Event &, const edm::EventSetup &) override;
34 
35  std::unique_ptr<SiStripApvGain> getNewObject() override;
36 
37 private:
38  double meanGain_;
39  double sigmaGain_;
41 
42  std::vector<std::pair<uint32_t, unsigned short> > detid_apvs_;
43  unsigned long long m_cacheID_;
45 };
46 #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_