CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalSiPMHitResponse.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 #ifndef HcalSimAlgos_HcalSiPMHitResponse_h
3 #define HcalSimAlgos_HcalSiPMHitResponse_h
4 
6 
7 class HcalSiPM;
8 
10 
11 public:
12  HcalSiPMHitResponse(const CaloVSimParameterMap * parameterMap,
13  const CaloShapes * shapes);
14 
15  virtual ~HcalSiPMHitResponse();
16 
17  virtual void run(MixCollection<PCaloHit> & hits);
18 
19  virtual void setRandomEngine(CLHEP::HepRandomEngine & engine);
20 
21  protected:
22 
23  virtual CaloSamples makeSiPMSignal(const PCaloHit & inHit, int & integral) const;
24 
27 };
28 
29 #endif //HcalSimAlgos_HcalSiPMHitResponse_h
A general implementation for the response of a SiPM.
Definition: HcalSiPM.h:17
virtual CaloSamples makeSiPMSignal(const PCaloHit &inHit, int &integral) const
Creates electronics signals from hits.
Integral< F, X >::type integral(const F &f)
Definition: Integral.h:69
virtual void setRandomEngine(CLHEP::HepRandomEngine &engine)
HcalSiPMHitResponse(const CaloVSimParameterMap *parameterMap, const CaloShapes *shapes)
virtual void run(MixCollection< PCaloHit > &hits)
Complete cell digitization.