CMS 3D CMS Logo

Public Member Functions | Private Attributes

HcalShape Class Reference

shaper for Hcal (not for HF) More...

#include <HcalShape.h>

Inheritance diagram for HcalShape:
CaloVShape

List of all members.

Public Member Functions

 HcalShape ()
virtual double operator() (double time) const
void setShape (int shapeType)
virtual double timeToRise () const

Private Attributes

HcalPulseShapes::Shape shape_

Detailed Description

shaper for Hcal (not for HF)

Definition at line 15 of file HcalShape.h.


Constructor & Destructor Documentation

HcalShape::HcalShape ( )

Definition at line 3 of file HcalShape.cc.

{
   // no more defual shape is defined (since cmssw 5x)
}

Member Function Documentation

double HcalShape::operator() ( double  time) const [virtual]

Implements CaloVShape.

Definition at line 22 of file HcalShape.cc.

References HcalPulseShape::at(), and shape_.

{
  return shape_.at(time_);
}
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]

Implements CaloVShape.

Definition at line 17 of file HcalShape.cc.

{
   return 0.;
}

Member Data Documentation

Definition at line 23 of file HcalShape.h.

Referenced by operator()(), and setShape().