CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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:
16  virtual ~CastorAmplifier() {}
17 
19  void setDbService(const CastorDbService *service) { theDbService = service; }
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
const bool addNoise
void setDbService(const CastorDbService *service)
the Producer will probably update this every event
void setStartingCapId(int capId)