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 "
Geometry/Records/interface/TrackerTopologyRcd.h
"
14
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
15
16
#include "
CondFormats/SiStripObjects/interface/SiStripApvGain.h
"
17
#include "
CondFormats/SiStripObjects/interface/SiStripNoises.h
"
18
#include "
CondFormats/DataRecord/interface/SiStripCondDataRecords.h
"
19
20
#include "CLHEP/Random/RandFlat.h"
21
#include "CLHEP/Random/RandGauss.h"
22
23
class
TrackerTopology
;
24
class
TrackerGeometry
;
31
class
SiStripNoiseNormalizedWithApvGainBuilder
:
public
edm::EDAnalyzer
{
32
public
:
33
explicit
SiStripNoiseNormalizedWithApvGainBuilder
(
const
edm::ParameterSet
& iConfig);
34
35
~SiStripNoiseNormalizedWithApvGainBuilder
()
override
{};
36
37
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
38
39
private
:
41
void
fillParameters
(
std::map
<
int
, std::vector<double> >& mapToFill,
const
std::string
& parameterName)
const
;
49
void
fillSubDetParameter
(
std::map
<
int
, std::vector<double> >& mapToFill,
50
const
std::vector<double>&
v
,
51
const
int
subDet,
52
const
unsigned
short
layers
)
const
;
53
54
inline
void
printLog
(
const
uint32_t detId,
const
unsigned
short
strip
,
const
double
&
noise
)
const
{
55
edm::LogInfo
(
"SiStripNoisesDummyCalculator"
)
56
<<
"detid: "
<< detId <<
" strip: "
<<
strip
<<
" noise: "
<<
noise
<<
" \t"
<< std::endl;
57
}
58
59
edm::FileInPath
fp_
;
60
bool
printdebug_
;
61
edm::ParameterSet
pset_
;
62
63
double
electronsPerADC_
;
64
double
minimumPosValue_
;
65
bool
stripLengthMode_
;
66
uint32_t
printDebug_
;
67
68
edm::ESGetToken<TrackerTopology, TrackerTopologyRcd>
tTopoToken_
;
69
edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord>
tGeomToken_
;
70
edm::ESGetToken<SiStripApvGain, SiStripApvGainRcd>
inputApvGainToken_
;
71
};
72
73
#endif
SiStripNoiseNormalizedWithApvGainBuilder::electronsPerADC_
double electronsPerADC_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:63
MessageLogger.h
TrackerTopology
Definition:
TrackerTopology.h:16
digitizers_cfi.strip
strip
Definition:
digitizers_cfi.py:19
SiStripNoiseNormalizedWithApvGainBuilder::~SiStripNoiseNormalizedWithApvGainBuilder
~SiStripNoiseNormalizedWithApvGainBuilder() override
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:35
SiStripNoises.h
edm::LogInfo
Log< level::Info, false > LogInfo
Definition:
MessageLogger.h:125
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
FileInPath.h
edm::FileInPath
Definition:
FileInPath.h:64
MakerMacros.h
PoolDBOutputService.h
TrackerTopologyRcd.h
Service.h
SiStripNoiseNormalizedWithApvGainBuilder
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:31
SiStripApvGain.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerDigiGeometryRecord.h
edm::ParameterSet
Definition:
ParameterSet.h:47
SiStripCondDataRecords.h
SiStripNoiseNormalizedWithApvGainBuilder::SiStripNoiseNormalizedWithApvGainBuilder
SiStripNoiseNormalizedWithApvGainBuilder(const edm::ParameterSet &iConfig)
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.cc:12
hgcalDigitizer_cfi.noise
noise
Definition:
hgcalDigitizer_cfi.py:155
SiStripNoiseNormalizedWithApvGainBuilder::printdebug_
bool printdebug_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:60
SiStripNoiseNormalizedWithApvGainBuilder::inputApvGainToken_
edm::ESGetToken< SiStripApvGain, SiStripApvGainRcd > inputApvGainToken_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:70
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:59
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
ConditionDBWriter.h
SiStripNoiseNormalizedWithApvGainBuilder::stripLengthMode_
bool stripLengthMode_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:65
SiStripNoiseNormalizedWithApvGainBuilder::tTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:68
Frameworkfwd.h
SiStripNoiseNormalizedWithApvGainBuilder::printLog
void printLog(const uint32_t detId, const unsigned short strip, const double &noise) const
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:54
Exception.h
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
SiStripNoiseNormalizedWithApvGainBuilder::minimumPosValue_
double minimumPosValue_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:64
ParameterSet.h
edm::Event
Definition:
Event.h:73
SiStripNoiseNormalizedWithApvGainBuilder::tGeomToken_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tGeomToken_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:69
hgcalTopologyTester_cfi.layers
layers
Definition:
hgcalTopologyTester_cfi.py:8
SiStripNoiseNormalizedWithApvGainBuilder::pset_
edm::ParameterSet pset_
Definition:
SiStripNoiseNormalizedWithApvGainBuilder.h:61
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:66
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