CMS 3D CMS Logo

CastorAmplifier.h
Go to the documentation of this file.
1 #ifndef CastorSim_CastorAmplifier_h
2 #define CastorSim_CastorAmplifier_h
3 
6 
7 class CastorDbService;
8 
9 namespace CLHEP {
10  class HepRandomEngine;
11 }
12 
14 public:
15  CastorAmplifier(const CastorSimParameterMap *parameters, bool addNoise);
16  virtual ~CastorAmplifier() {}
17 
20 
21  virtual void amplify(CaloSamples &linearFrame, CLHEP::HepRandomEngine *) const;
22 
23  void setStartingCapId(int capId) { theStartingCapId = capId; }
24 
25 private:
28 
29  unsigned theStartingCapId;
30  bool addNoise_;
31 };
32 
33 #endif
unsigned theStartingCapId
virtual ~CastorAmplifier()
CastorAmplifier(const CastorSimParameterMap *parameters, bool addNoise)
const CastorSimParameterMap * theParameterMap
const CastorDbService * theDbService
virtual void amplify(CaloSamples &linearFrame, CLHEP::HepRandomEngine *) const
void setDbService(const CastorDbService *service)
the Producer will probably update this every event
void setStartingCapId(int capId)