#include <HcalPulseShape.h>
Public Member Functions | |
float | at (double time) const |
std::vector< float > const & | data () const |
HcalPulseShape () | |
HcalPulseShape (const std::vector< double > &, unsigned) | |
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_ |
Definition at line 6 of file HcalPulseShape.h.
HcalPulseShape::HcalPulseShape | ( | ) |
HcalPulseShape::HcalPulseShape | ( | const std::vector< double > & | shape, |
unsigned | nbin | ||
) |
float HcalPulseShape::at | ( | double | time | ) | const |
Definition at line 23 of file HcalPulseShape.cc.
References mps_fire::i, createfilelist::int, nbin_, shape_, and OrderedSet::t.
Referenced by HcalShapeIntegrator::HcalShapeIntegrator(), HBHEPulseShapeFlagSetter::Initialize(), integrate(), operator()(), HFShape::operator()(), and HcalShape::operator()().
|
inline |
Definition at line 16 of file HcalPulseShape.h.
References shape_.
Referenced by data_sources.node::__str__(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), data_sources.json_list::get_members(), and data_sources.json_list::last().
float HcalPulseShape::integrate | ( | double | tmin, |
double | tmax | ||
) | const |
Definition at line 32 of file HcalPulseShape.cc.
References at(), OrderedSet::t, RandomServiceHelper::t1, and RandomServiceHelper::t2.
|
inline |
float HcalPulseShape::operator() | ( | double | time | ) | const |
Definition at line 18 of file HcalPulseShape.cc.
References at(), and OrderedSet::t.
void HcalPulseShape::setNBin | ( | int | n | ) |
Definition at line 8 of file HcalPulseShape.cc.
References f, dqmiodumpmetadata::n, nbin_, and shape_.
Referenced by HcalPulseShapes::computeHFShape(), HcalPulseShapes::computeHPDShape(), HcalPulseShapes::computeSiPMShapeData2017(), HcalPulseShapes::computeSiPMShapeData2018(), HcalPulseShapes::computeSiPMShapeHO(), and HcalPulseShapes::computeSiPMShapeMCRecoRun3().
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::computeSiPMShapeData2017(), HcalPulseShapes::computeSiPMShapeData2018(), HcalPulseShapes::computeSiPMShapeHO(), and HcalPulseShapes::computeSiPMShapeMCRecoRun3().
|
private |
Definition at line 20 of file HcalPulseShape.h.
Referenced by at(), HcalPulseShape(), nbins(), setNBin(), and setShapeBin().
|
private |
Definition at line 19 of file HcalPulseShape.h.
Referenced by at(), data(), setNBin(), and setShapeBin().