CMS 3D CMS Logo

SiStripNoiseNormalizedWithApvGainBuilder.h
Go to the documentation of this file.
1 #ifndef SiStripNoiseNormalizedWithApvGainBuilder_H
2 #define SiStripNoiseNormalizedWithApvGainBuilder_H
3 
16 
20 
21 #include "CLHEP/Random/RandFlat.h"
22 #include "CLHEP/Random/RandGauss.h"
23 
24 class TrackerTopology;
25 class TrackerGeometry;
33 public:
35 
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 
63 
67  uint32_t printDebug_;
68 
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
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
hgchebackDigitizer_cfi.noise
noise
Definition: hgchebackDigitizer_cfi.py:42
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 &parameterName) const
Fills the parameters read from cfg and matching the name in the given map.