Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:05

0001 #ifndef CondFormats_EcalObjects_EcalSimPulseShape_hh
0002 #define CondFormats_EcalObjects_EcalSimPulseShape_hh
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 #include <vector>
0006 
0007 class EcalSimPulseShape {
0008 public:
0009   EcalSimPulseShape(){};
0010   ~EcalSimPulseShape(){};
0011   void setTimeInterval(float x) { time_interval = x; };
0012   float getTimeInterval() { return time_interval; };
0013 
0014   std::vector<double> barrel_shape;  // there is no need to getters/setters, just access data directly
0015   std::vector<double> endcap_shape;  // there is no need to getters/setters, just access data directly
0016   std::vector<double> apd_shape;     // there is no need to getters/setters, just access data directly
0017 
0018   double barrel_thresh;
0019   double endcap_thresh;
0020   double apd_thresh;
0021   float time_interval;  // time interval of the shape
0022 
0023   COND_SERIALIZABLE;
0024 };
0025 #endif