CalibTracker
SiStripESProducers
plugins
fake
SiStripNoiseNormalizedWithApvGainBuilder.h
Go to the documentation of this file.
1
#ifndef SiStripNoiseNormalizedWithApvGainBuilder_H
2
#define SiStripNoiseNormalizedWithApvGainBuilder_H
3
4
#include "
FWCore/ServiceRegistry/interface/Service.h
"
5
#include "
CondCore/DBOutputService/interface/PoolDBOutputService.h
"
6
#include "
FWCore/Framework/interface/MakerMacros.h
"
7
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
8
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
9
#include "
FWCore/Utilities/interface/Exception.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
#include "
CommonTools/ConditionDBWriter/interface/ConditionDBWriter.h
"
12
#include "
FWCore/ParameterSet/interface/FileInPath.h
"
13
#include "
FWCore/Framework/interface/ESHandle.h
"
14
#include "
Geometry/Records/interface/TrackerTopologyRcd.h
"
15
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
16
17
#include "
CondFormats/SiStripObjects/interface/SiStripApvGain.h
"
18
#include "
CondFormats/SiStripObjects/interface/SiStripNoises.h
"
19
#include "
CondFormats/DataRecord/interface/SiStripCondDataRecords.h
"
20
21
#include "CLHEP/Random/RandFlat.h"
22
#include "CLHEP/Random/RandGauss.h"
23
24
class
TrackerTopology
;
25
class
TrackerGeometry
;
32
class
SiStripNoiseNormalizedWithApvGainBuilder
:
public
edm::EDAnalyzer
{
33
public
:
34
explicit
SiStripNoiseNormalizedWithApvGainBuilder
(
const
edm::ParameterSet
& iConfig);
35
36
~SiStripNoiseNormalizedWithApvGainBuilder
()
override
{};
37
38
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
39
40
private
:
42
void
fillParameters
(
std::map
<
int
, std::vector<double> >& mapToFill,
const
std::string
& parameterName)
const
;
50
void
fillSubDetParameter
(
std::map
<
int
, std::vector<double> >& mapToFill,
51
const
std::vector<double>&
v
,
52
const
int
subDet,
53
const
unsigned
short
layers
)
const
;
54
55
inline
void
printLog
(
const
uint32_t detId,
const
unsigned
short
strip
,
const
double
&
noise
)
const
{
56
edm::LogInfo
(
"SiStripNoisesDummyCalculator"
)
57
<<
"detid: "
<< detId <<
" strip: "
<<
strip
<<
" noise: "
<<
noise
<<
" \t"
<< std::endl;
58
}
59
60
edm::FileInPath
fp_
;
61
bool
printdebug_
;
62
edm::ParameterSet
pset_
;
63
64
double
electronsPerADC_
;
65
double
minimumPosValue_
;
66
bool
stripLengthMode_
;
67
uint32_t
printDebug_
;
68
69
edm::ESGetToken<TrackerTopology, TrackerTopologyRcd>
tTopoToken_
;
70
edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord>
tGeomToken_
;
71
edm::ESGetToken<SiStripApvGain, SiStripApvGainRcd>
inputApvGainToken_
;
72
};
73
74
#endif
SiStripNoiseNormalizedWithApvGainBuilder::electronsPerADC_
double electronsPerADC_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:64
MessageLogger.h
ESHandle.h
TrackerTopology
Definition:
TrackerTopology.h:16
digitizers_cfi.strip
strip
Definition:
digitizers_cfi.py:19
edm::LogInfo
Definition:
MessageLogger.h:254
SiStripNoiseNormalizedWithApvGainBuilder::~SiStripNoiseNormalizedWithApvGainBuilder
~SiStripNoiseNormalizedWithApvGainBuilder() override
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:36
SiStripNoises.h
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
FileInPath.h
edm::FileInPath
Definition:
FileInPath.h:64
MakerMacros.h
PoolDBOutputService.h
TrackerTopologyRcd.h
Service.h
SiStripNoiseNormalizedWithApvGainBuilder
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:32
SiStripApvGain.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerDigiGeometryRecord.h
edm::ParameterSet
Definition:
ParameterSet.h:36
SiStripCondDataRecords.h
SiStripNoiseNormalizedWithApvGainBuilder::SiStripNoiseNormalizedWithApvGainBuilder
SiStripNoiseNormalizedWithApvGainBuilder(const edm::ParameterSet &iConfig)
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.cc:12
hgcalDigitizer_cfi.noise
noise
Definition:
hgcalDigitizer_cfi.py:150
SiStripNoiseNormalizedWithApvGainBuilder::printdebug_
bool printdebug_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:61
SiStripNoiseNormalizedWithApvGainBuilder::inputApvGainToken_
edm::ESGetToken< SiStripApvGain, SiStripApvGainRcd > inputApvGainToken_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:71
SiStripNoiseNormalizedWithApvGainBuilder::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.cc:24
edm::EventSetup
Definition:
EventSetup.h:57
SiStripNoiseNormalizedWithApvGainBuilder::fp_
edm::FileInPath fp_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:60
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
ConditionDBWriter.h
SiStripNoiseNormalizedWithApvGainBuilder::stripLengthMode_
bool stripLengthMode_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:66
SiStripNoiseNormalizedWithApvGainBuilder::tTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:69
Frameworkfwd.h
SiStripNoiseNormalizedWithApvGainBuilder::printLog
void printLog(const uint32_t detId, const unsigned short strip, const double &noise) const
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:55
Exception.h
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
SiStripNoiseNormalizedWithApvGainBuilder::minimumPosValue_
double minimumPosValue_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:65
ParameterSet.h
edm::Event
Definition:
Event.h:73
SiStripNoiseNormalizedWithApvGainBuilder::tGeomToken_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tGeomToken_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:70
hgcalTopologyTester_cfi.layers
layers
Definition:
hgcalTopologyTester_cfi.py:8
SiStripNoiseNormalizedWithApvGainBuilder::pset_
edm::ParameterSet pset_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:62
SiStripNoiseNormalizedWithApvGainBuilder::fillSubDetParameter
void fillSubDetParameter(std::map< int, std::vector< double > > &mapToFill, const std::vector< double > &v, const int subDet, const unsigned short layers) const
TrackerGeometry
Definition:
TrackerGeometry.h:14
SiStripNoiseNormalizedWithApvGainBuilder::printDebug_
uint32_t printDebug_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:67
SiStripNoiseNormalizedWithApvGainBuilder::fillParameters
void fillParameters(std::map< int, std::vector< double > > &mapToFill, const std::string ¶meterName) const
Fills the parameters read from cfg and matching the name in the given map.
Generated for CMSSW Reference Manual by
1.8.16