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