CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/SimCalorimetry/CaloSimAlgos/interface/CaloVNoiseSignalGenerator.h

Go to the documentation of this file.
00001 #ifndef CaloSimAlgos_CaloVNoiseSignalGenerator_h
00002 #define CaloSimAlgos_CaloVNoiseSignalGenerator_h
00003 
00004 #include<vector>
00005 #include "CalibFormats/CaloObjects/interface/CaloSamples.h"
00006 
00007 class CaloVNoiseSignalGenerator
00008 {
00009 public:
00010   CaloVNoiseSignalGenerator();
00011   virtual ~CaloVNoiseSignalGenerator() {}
00012 
00014   void fillEvent();
00015 
00016   void getNoiseSignals(std::vector<CaloSamples> & noiseSignals) { noiseSignals = theNoiseSignals; }
00017 
00018   bool contains(const DetId & detId) const;
00019 
00022   void setNoiseSignals(const std::vector<CaloSamples> & noiseSignals);
00023 
00024 protected:
00027   virtual void fillNoiseSignals() {}
00028   std::vector<CaloSamples> theNoiseSignals;
00029 
00030 private:
00031   void fillDetIds();
00032   std::vector<unsigned int> theDetIds;
00033 };
00034 
00035 #endif
00036