CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HFShape Class Reference

shaper for HF More...

#include <HFShape.h>

Inheritance diagram for HFShape:
CaloVShape

Public Member Functions

 HFShape ()
 
double operator() (double time) const override
 
double timeToRise () const override
 
 ~HFShape () override
 
- Public Member Functions inherited from CaloVShape
 CaloVShape ()
 
virtual ~CaloVShape ()
 

Private Attributes

HcalPulseShapes::Shape shape_
 

Detailed Description

shaper for HF

Definition at line 12 of file HFShape.h.

Constructor & Destructor Documentation

◆ HFShape()

HFShape::HFShape ( )

Definition at line 3 of file HFShape.cc.

3 : shape_(HcalPulseShapes().hfShape()) {}

◆ ~HFShape()

HFShape::~HFShape ( )
inlineoverride

Definition at line 15 of file HFShape.h.

15 {}

Member Function Documentation

◆ operator()()

double HFShape::operator() ( double  time) const
overridevirtual

Implements CaloVShape.

Definition at line 7 of file HFShape.cc.

7 { return shape_.at(time); }

References HcalPulseShape::at(), shape_, and ntuplemaker::time.

◆ timeToRise()

double HFShape::timeToRise ( ) const
overridevirtual

Implements CaloVShape.

Definition at line 5 of file HFShape.cc.

5 { return 0.; }

Member Data Documentation

◆ shape_

HcalPulseShapes::Shape HFShape::shape_
private

Definition at line 21 of file HFShape.h.

Referenced by operator()().

HcalPulseShapes
Definition: HcalPulseShapes.h:21
HFShape::shape_
HcalPulseShapes::Shape shape_
Definition: HFShape.h:21
HcalPulseShape::at
float at(double time) const
Definition: HcalPulseShape.cc:23
ntuplemaker.time
time
Definition: ntuplemaker.py:310