test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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:
15  CastorAmplifier(const CastorSimParameterMap * parameters, bool addNoise);
16  virtual ~CastorAmplifier(){ }
17 
19  void setDbService(const CastorDbService * service) {
20  theDbService = service;
21  }
22 
23  virtual void amplify(CaloSamples & linearFrame, CLHEP::HepRandomEngine*) const;
24 
25  void setStartingCapId(int capId) {theStartingCapId = capId;}
26 
27 private:
30 
31  unsigned theStartingCapId;
32  bool addNoise_;
33 };
34 
35 #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)