CMS 3D CMS Logo

SiStripNoiseNormalizedWithApvGainBuilder.h
Go to the documentation of this file.
1 #ifndef SiStripNoiseNormalizedWithApvGainBuilder_H
2 #define SiStripNoiseNormalizedWithApvGainBuilder_H
3 
14 
17 
18 #include "CLHEP/Random/RandFlat.h"
19 #include "CLHEP/Random/RandGauss.h"
20 
21 class TrackerTopology;
29 {
30  public:
31 
33 
35 
36  void analyze(const edm::Event& , const edm::EventSetup& ) override;
37 
38  private:
40  void fillParameters(std::map<int, std::vector<double> > & mapToFill, const std::string & parameterName) const;
48  void fillSubDetParameter(std::map<int, std::vector<double> > & mapToFill, const std::vector<double> & v, const int subDet, const unsigned short layers) const;
49 
50  inline void printLog(const uint32_t detId, const unsigned short strip, const double & noise) const
51  {
52  edm::LogInfo("SiStripNoisesDummyCalculator") << "detid: " << detId << " strip: " << strip << " noise: " << noise << " \t" << std::endl;
53  }
54 
58 
62  uint32_t printDebug_;
63 };
64 
65 #endif
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
Definition: LayerTriplets.cc:4
SiStripNoiseNormalizedWithApvGainBuilder(const edm::ParameterSet &iConfig)
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.
void printLog(const uint32_t detId, const unsigned short strip, const double &noise) const
void fillSubDetParameter(std::map< int, std::vector< double > > &mapToFill, const std::vector< double > &v, const int subDet, const unsigned short layers) const
void analyze(const edm::Event &, const edm::EventSetup &) override