CalibTracker
SiStripChannelGain
plugins
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
#include "
CommonTools/ConditionDBWriter/interface/ConditionDBWriter.h
"
22
#include "
CondFormats/SiStripObjects/interface/SiStripApvGain.h
"
23
24
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
25
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
26
#include "
FWCore/Framework/interface/ESWatcher.h
"
27
28
#include <vector>
29
#include <memory>
30
31
class
SiStripGainRandomCalculator
:
public
ConditionDBWriter
<SiStripApvGain> {
32
public
:
33
explicit
SiStripGainRandomCalculator
(
const
edm::ParameterSet
&);
34
~SiStripGainRandomCalculator
()
override
;
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_
;
44
double
minimumPosValue_
;
45
46
std::vector<std::pair<uint32_t, unsigned short> >
detid_apvs_
;
47
bool
printdebug_
;
48
49
edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord>
tkGeomToken_
;
50
edm::ESWatcher<TrackerDigiGeometryRecord>
tkDigiGeomRcdWatcher_
;
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:57
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
Generated for CMSSW Reference Manual by
1.8.16