#include <HcalPulseShape.h>
Public Member Functions | |
float | at (double time) const |
float | getTpeak () const |
HcalPulseShape () | |
float | integrate (double tmin, double tmax) const |
int | nbins () const |
float | operator() (double time) const |
void | setNBin (int n) |
void | setShapeBin (int i, float f) |
Private Attributes | |
int | nbin_ |
std::vector< float > | shape_ |
float | tpeak_ |
Definition at line 6 of file HcalPulseShape.h.
HcalPulseShape::HcalPulseShape | ( | ) |
Definition at line 3 of file HcalPulseShape.cc.
float HcalPulseShape::at | ( | double | time | ) | const |
Definition at line 22 of file HcalPulseShape.cc.
References mps_fire::i, createfilelist::int, nbin_, and shape_.
Referenced by getTpeak(), HcalShapeIntegrator::HcalShapeIntegrator(), HBHEPulseShapeFlagSetter::Initialize(), integrate(), operator()(), HFShape::operator()(), and HcalShape::operator()().
|
inline |
Definition at line 11 of file HcalPulseShape.h.
References at(), integrate(), operator()(), ntuplemaker::time, tmax, and tpeak_.
float HcalPulseShape::integrate | ( | double | tmin, |
double | tmax | ||
) | const |
Definition at line 30 of file HcalPulseShape.cc.
References at(), lumiQTWidget::t, and reco::t2.
Referenced by getTpeak().
|
inline |
float HcalPulseShape::operator() | ( | double | time | ) | const |
void HcalPulseShape::setNBin | ( | int | n | ) |
Definition at line 8 of file HcalPulseShape.cc.
References gen::n, nbin_, and shape_.
Referenced by HcalPulseShapes::computeHFShape(), HcalPulseShapes::computeHPDShape(), HcalPulseShapes::computeSiPMShape(), and HcalPulseShapes::computeSiPMShape2017().
void HcalPulseShape::setShapeBin | ( | int | i, |
float | f | ||
) |
Definition at line 13 of file HcalPulseShape.cc.
References f, mps_fire::i, nbin_, and shape_.
Referenced by HcalPulseShapes::computeHFShape(), HcalPulseShapes::computeHPDShape(), HcalPulseShapes::computeSiPMShape(), and HcalPulseShapes::computeSiPMShape2017().
|
private |
Definition at line 18 of file HcalPulseShape.h.
Referenced by at(), HcalPulseShape(), nbins(), setNBin(), and setShapeBin().
|
private |
Definition at line 17 of file HcalPulseShape.h.
Referenced by at(), setNBin(), and setShapeBin().
|
private |
Definition at line 19 of file HcalPulseShape.h.
Referenced by getTpeak(), and HcalPulseShape().