CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloVNoiseSignalGenerator.h
Go to the documentation of this file.
1 #ifndef CaloSimAlgos_CaloVNoiseSignalGenerator_h
2 #define CaloSimAlgos_CaloVNoiseSignalGenerator_h
3 
4 #include<vector>
6 
8 {
9 public:
12 
14  void fillEvent();
15 
16  void getNoiseSignals(std::vector<CaloSamples> & noiseSignals) { noiseSignals = theNoiseSignals; }
17 
18  bool contains(const DetId & detId) const;
19 
22  void setNoiseSignals(const std::vector<CaloSamples> & noiseSignals);
23 
24 protected:
27  virtual void fillNoiseSignals() {}
28  std::vector<CaloSamples> theNoiseSignals;
29 
30 private:
31  void fillDetIds();
32  std::vector<unsigned int> theDetIds;
33 };
34 
35 #endif
36 
std::vector< CaloSamples > theNoiseSignals
void setNoiseSignals(const std::vector< CaloSamples > &noiseSignals)
bool contains(const DetId &detId) const
Definition: DetId.h:20
std::vector< unsigned int > theDetIds
void fillEvent()
fill theNoiseSignals with one event&#39;s worth of noise, in units of pe
void getNoiseSignals(std::vector< CaloSamples > &noiseSignals)