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  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()
const CastorSimParameterMap * theParameterMap
const CastorDbService * theDbService
void setDbService(const CastorDbService *service)
the Producer will probably update this every event
void setStartingCapId(int capId)