CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HcalPulseContainmentAlgo.h
Go to the documentation of this file.
1 #ifndef HcalAlgos_HcalPulseContainmentAlgo_h
2 #define HcalAlgos_HcalPulseContainmentAlgo_h
3 
6 
7 class HcalTimeSlew;
8 
10 public:
12  int num_samples,
13  double fixedphase_ns,
14  bool phaseAsInSim,
15  const HcalTimeSlew* hcalTimeSlew_delay);
16  HcalPulseContainmentAlgo(int num_samples,
17  double fixedphase_ns,
18  bool phaseAsInSim,
19  const HcalTimeSlew* hcalTimeSlew_delay);
20  std::pair<double, double> calcpair(double);
21 
22 private:
23  void init(int num_samples);
24  double fixedphasens_;
26  double time0shiftns_;
30 };
31 
32 #endif
HcalPulseContainmentAlgo(const HcalPulseShape *shape, int num_samples, double fixedphase_ns, bool phaseAsInSim, const HcalTimeSlew *hcalTimeSlew_delay)
std::pair< double, double > calcpair(double)
const HcalTimeSlew * hcalTimeSlew_delay_