CMS 3D CMS Logo

SiStripNoiseNormalizedWithApvGainBuilder.h
Go to the documentation of this file.
1 #ifndef SiStripNoiseNormalizedWithApvGainBuilder_H
2 #define SiStripNoiseNormalizedWithApvGainBuilder_H
3 
15 
19 
20 #include "CLHEP/Random/RandFlat.h"
21 #include "CLHEP/Random/RandGauss.h"
22 
23 class TrackerTopology;
24 class TrackerGeometry;
32 public:
34 
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 
62 
66  uint32_t printDebug_;
67 
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 &parameterName) const
Fills the parameters read from cfg and matching the name in the given map.