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 <vector>
25
#include <memory>
26
27
class
SiStripGainRandomCalculator
:
public
ConditionDBWriter
<SiStripApvGain> {
28
public
:
29
explicit
SiStripGainRandomCalculator
(
const
edm::ParameterSet
&);
30
~SiStripGainRandomCalculator
()
override
;
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_
;
40
double
minimumPosValue_
;
41
42
std::vector<std::pair<uint32_t, unsigned short> >
detid_apvs_
;
43
unsigned
long
long
m_cacheID_
;
44
bool
printdebug_
;
45
};
46
#endif
SiStripGainRandomCalculator::getNewObject
std::unique_ptr< SiStripApvGain > getNewObject() override
Definition:
SiStripGainRandomCalculator.cc:77
SiStripGainRandomCalculator::sigmaGain_
double sigmaGain_
Definition:
SiStripGainRandomCalculator.h:39
SiStripGainRandomCalculator::algoAnalyze
void algoAnalyze(const edm::Event &, const edm::EventSetup &) override
Definition:
SiStripGainRandomCalculator.cc:44
SiStripGainRandomCalculator::meanGain_
double meanGain_
Definition:
SiStripGainRandomCalculator.h:38
SiStripGainRandomCalculator::minimumPosValue_
double minimumPosValue_
Definition:
SiStripGainRandomCalculator.h:40
ConditionDBWriter
Definition:
ConditionDBWriter.h:149
SiStripGainRandomCalculator::~SiStripGainRandomCalculator
~SiStripGainRandomCalculator() override
Definition:
SiStripGainRandomCalculator.cc:40
SiStripApvGain.h
edm::ParameterSet
Definition:
ParameterSet.h:36
SiStripGainRandomCalculator::m_cacheID_
unsigned long long m_cacheID_
Definition:
SiStripGainRandomCalculator.h:43
edm::EventSetup
Definition:
EventSetup.h:57
SiStripGainRandomCalculator::detid_apvs_
std::vector< std::pair< uint32_t, unsigned short > > detid_apvs_
Definition:
SiStripGainRandomCalculator.h:42
ConditionDBWriter.h
SiStripGainRandomCalculator::printdebug_
bool printdebug_
Definition:
SiStripGainRandomCalculator.h:44
SiStripGainRandomCalculator::SiStripGainRandomCalculator
SiStripGainRandomCalculator(const edm::ParameterSet &)
Definition:
SiStripGainRandomCalculator.cc:23
SiStripGainRandomCalculator
Definition:
SiStripGainRandomCalculator.h:27
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16