shaper for Hcal (not for HF) More...
#include <HcalShape.h>
Public Member Functions | |
HcalShape () | |
virtual double | operator() (double time) const |
void | setShape (int shapeType) |
virtual double | timeToRise () const |
Private Attributes | |
HcalPulseShapes::Shape | shape_ |
shaper for Hcal (not for HF)
Definition at line 15 of file HcalShape.h.
HcalShape::HcalShape | ( | ) |
Definition at line 3 of file HcalShape.cc.
{
// no more defual shape is defined (since cmssw 5x)
}
double HcalShape::operator() | ( | double | time | ) | const [virtual] |
Implements CaloVShape.
Definition at line 22 of file HcalShape.cc.
References HcalPulseShape::at(), and shape_.
void HcalShape::setShape | ( | int | shapeType | ) |
Definition at line 9 of file HcalShape.cc.
References HcalPulseShapes::getShape(), and shape_.
Referenced by HcalShapes::HcalShapes().
{ // keep pulse shape for HPD, HO SiPM, HF PMT, depending on shapeType // (101,102 etc.) // std::cout << "- HcalShape::setShape for type " << shapeType << std::endl; shape_=HcalPulseShapes().getShape(shapeType); }
double HcalShape::timeToRise | ( | ) | const [virtual] |
HcalPulseShapes::Shape HcalShape::shape_ [private] |
Definition at line 23 of file HcalShape.h.
Referenced by operator()(), and setShape().