#include <HBHETimeProfileStatusBitSetter.h>
Public Member Functions | |
double | EnergyThreshold () |
void | hbheSetTimeFlagsFromDigi (HBHERecHitCollection *, const std::vector< HBHEDataFrame > &, const std::vector< int > &) |
HBHETimeProfileStatusBitSetter () | |
HBHETimeProfileStatusBitSetter (double R1Min, double R1Max, double R2Min, double R2Max, double FracLeaderMin, double FracLeaderMax, double SlopeMin, double SlopeMax, double OuterMin, double OuterMax, double EnergyThreshold) | |
void | SetExpLimits (double R1Min, double R1Max, double R2Min, double R2Max) |
void | SetFracLeaderLimits (double FracLeaderMin, double FracLeaderMax) |
void | SetOuterLimits (double OuterMin, double OuterMax) |
void | SetSlopeLimits (double SlopeMin, double SlopeMax) |
~HBHETimeProfileStatusBitSetter () | |
Private Member Functions | |
double | TotalEnergyInDataFrame (const HBHEDataFrame &x) |
Private Attributes | |
double | EnergyThreshold_ |
double | FracLeaderMax_ |
double | FracLeaderMin_ |
double | OuterMax_ |
double | OuterMin_ |
double | R1Max_ |
double | R1Min_ |
double | R2Max_ |
double | R2Min_ |
double | SlopeMax_ |
double | SlopeMin_ |
This class sets status bit in the status words for the revised CaloRecHit objets according to informatino from the digi associated to the hit.
Definition at line 15 of file HBHETimeProfileStatusBitSetter.h.
HBHETimeProfileStatusBitSetter::HBHETimeProfileStatusBitSetter | ( | ) |
Full featured constructor for HB/HE and HO (HPD-based detectors)
Definition at line 10 of file HBHETimeProfileStatusBitSetter.cc.
References EnergyThreshold_, FracLeaderMax_, FracLeaderMin_, OuterMax_, OuterMin_, R1Max_, R1Min_, R2Max_, R2Min_, SlopeMax_, and SlopeMin_.
HBHETimeProfileStatusBitSetter::HBHETimeProfileStatusBitSetter | ( | double | R1Min, |
double | R1Max, | ||
double | R2Min, | ||
double | R2Max, | ||
double | FracLeaderMin, | ||
double | FracLeaderMax, | ||
double | SlopeMin, | ||
double | SlopeMax, | ||
double | OuterMin, | ||
double | OuterMax, | ||
double | EnergyThreshold | ||
) |
Definition at line 25 of file HBHETimeProfileStatusBitSetter.cc.
References EnergyThreshold(), EnergyThreshold_, FracLeaderMax_, FracLeaderMin_, OuterMax_, OuterMin_, R1Max_, R1Min_, R2Max_, R2Min_, SlopeMax_, and SlopeMin_.
HBHETimeProfileStatusBitSetter::~HBHETimeProfileStatusBitSetter | ( | ) |
Definition at line 49 of file HBHETimeProfileStatusBitSetter.cc.
|
inline |
Definition at line 56 of file HBHETimeProfileStatusBitSetter.h.
References EnergyThreshold_.
Referenced by HBHETimeProfileStatusBitSetter().
void HBHETimeProfileStatusBitSetter::hbheSetTimeFlagsFromDigi | ( | HBHERecHitCollection * | hbhe, |
const std::vector< HBHEDataFrame > & | udigi, | ||
const std::vector< int > & | RecHitIndex | ||
) |
Definition at line 64 of file HBHETimeProfileStatusBitSetter.cc.
References funct::abs(), FracLeaderMax_, HcalCaloFlagLabels::HSCP_ExpFit, HcalCaloFlagLabels::HSCP_FracLeader, HcalCaloFlagLabels::HSCP_OuterEnergy, HcalCaloFlagLabels::HSCP_R1R2, mps_fire::i, OuterMax_, R1Max_, R1Min_, R2Max_, and R2Min_.
|
inline |
|
inline |
Definition at line 44 of file HBHETimeProfileStatusBitSetter.h.
References FracLeaderMax_, and FracLeaderMin_.
|
inline |
Definition at line 52 of file HBHETimeProfileStatusBitSetter.h.
References OuterMax_, and OuterMin_.
|
inline |
Definition at line 48 of file HBHETimeProfileStatusBitSetter.h.
References SlopeMax_, and SlopeMin_.
|
inlineprivate |
Definition at line 66 of file HBHETimeProfileStatusBitSetter.h.
References mps_fire::i, HcalQIESample::nominal_fC(), HBHEDataFrame::sample(), and HBHEDataFrame::size().
|
private |
Definition at line 64 of file HBHETimeProfileStatusBitSetter.h.
Referenced by EnergyThreshold(), and HBHETimeProfileStatusBitSetter().
|
private |
Definition at line 61 of file HBHETimeProfileStatusBitSetter.h.
Referenced by hbheSetTimeFlagsFromDigi(), HBHETimeProfileStatusBitSetter(), and SetFracLeaderLimits().
|
private |
Definition at line 61 of file HBHETimeProfileStatusBitSetter.h.
Referenced by HBHETimeProfileStatusBitSetter(), and SetFracLeaderLimits().
|
private |
Definition at line 63 of file HBHETimeProfileStatusBitSetter.h.
Referenced by hbheSetTimeFlagsFromDigi(), HBHETimeProfileStatusBitSetter(), and SetOuterLimits().
|
private |
Definition at line 63 of file HBHETimeProfileStatusBitSetter.h.
Referenced by HBHETimeProfileStatusBitSetter(), and SetOuterLimits().
|
private |
Definition at line 60 of file HBHETimeProfileStatusBitSetter.h.
Referenced by hbheSetTimeFlagsFromDigi(), HBHETimeProfileStatusBitSetter(), and SetExpLimits().
|
private |
Definition at line 60 of file HBHETimeProfileStatusBitSetter.h.
Referenced by hbheSetTimeFlagsFromDigi(), HBHETimeProfileStatusBitSetter(), and SetExpLimits().
|
private |
Definition at line 60 of file HBHETimeProfileStatusBitSetter.h.
Referenced by hbheSetTimeFlagsFromDigi(), HBHETimeProfileStatusBitSetter(), and SetExpLimits().
|
private |
Definition at line 60 of file HBHETimeProfileStatusBitSetter.h.
Referenced by hbheSetTimeFlagsFromDigi(), HBHETimeProfileStatusBitSetter(), and SetExpLimits().
|
private |
Definition at line 62 of file HBHETimeProfileStatusBitSetter.h.
Referenced by HBHETimeProfileStatusBitSetter(), and SetSlopeLimits().
|
private |
Definition at line 62 of file HBHETimeProfileStatusBitSetter.h.
Referenced by HBHETimeProfileStatusBitSetter(), and SetSlopeLimits().