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
TrackerGeometry.h
edm::ESWatcher< TrackerDigiGeometryRecord >
SiStripGainRandomCalculator::getNewObject
std::unique_ptr< SiStripApvGain > getNewObject() override
Definition: SiStripGainRandomCalculator.cc:70
SiStripGainRandomCalculator::sigmaGain_
double sigmaGain_
Definition: SiStripGainRandomCalculator.h:43
SiStripGainRandomCalculator::algoAnalyze
void algoAnalyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiStripGainRandomCalculator.cc:43
SiStripGainRandomCalculator::meanGain_
double meanGain_
Definition: SiStripGainRandomCalculator.h:42
SiStripGainRandomCalculator::minimumPosValue_
double minimumPosValue_
Definition: SiStripGainRandomCalculator.h:44
SiStripGainRandomCalculator::tkDigiGeomRcdWatcher_
edm::ESWatcher< TrackerDigiGeometryRecord > tkDigiGeomRcdWatcher_
Definition: SiStripGainRandomCalculator.h:50
ConditionDBWriter
Definition: ConditionDBWriter.h:149
SiStripGainRandomCalculator::~SiStripGainRandomCalculator
~SiStripGainRandomCalculator() override
Definition: SiStripGainRandomCalculator.cc:39
SiStripApvGain.h
TrackerDigiGeometryRecord.h
edm::ParameterSet
Definition: ParameterSet.h:47
edm::EventSetup
Definition: EventSetup.h:58
SiStripGainRandomCalculator::tkGeomToken_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tkGeomToken_
Definition: SiStripGainRandomCalculator.h:49
SiStripGainRandomCalculator::detid_apvs_
std::vector< std::pair< uint32_t, unsigned short > > detid_apvs_
Definition: SiStripGainRandomCalculator.h:46
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord >
ConditionDBWriter.h
SiStripGainRandomCalculator::printdebug_
bool printdebug_
Definition: SiStripGainRandomCalculator.h:47
ESWatcher.h
SiStripGainRandomCalculator::SiStripGainRandomCalculator
SiStripGainRandomCalculator(const edm::ParameterSet &)
Definition: SiStripGainRandomCalculator.cc:20
SiStripGainRandomCalculator
Definition: SiStripGainRandomCalculator.h:31
edm::Event
Definition: Event.h:73