test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalSiPMRecovery.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 #ifndef HcalSimAlgos_HcalSiPMRecovery_h
4 #define HcalSimAlgos_HcalSiPMRecovery_h
5 
6 #include <map>
7 
9 public:
10  HcalSiPMRecovery(double recoveryTime = 250.);
11 
13 
14  int getIntegral(double time);
15  void addToHistory(double time, int pixels);
16  void clearHistory();
17  void setRecoveryTime(double recoveryTime) { theRecoveryTime = recoveryTime; }
18 
19 protected:
20 
23  std::multimap<double, int> theHistory;
24 };
25 
26 #endif //HcalSimAlgos_HcalSiPMRecovery_h
HcalSiPMRecovery(double recoveryTime=250.)
int getIntegral(double time)
void setRecoveryTime(double recoveryTime)
std::multimap< double, int > theHistory
void addToHistory(double time, int pixels)