#include <HBHETimeProfileStatusBitSetter.h>
Classes | |
struct | compare_digi_energy |
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 11 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 27 of file HBHETimeProfileStatusBitSetter.cc.
References EnergyThreshold(), EnergyThreshold_, FracLeaderMax_, FracLeaderMin_, OuterMax_, OuterMin_, R1Max_, R1Min_, R2Max_, R2Min_, SlopeMax_, and SlopeMin_.
HBHETimeProfileStatusBitSetter::~HBHETimeProfileStatusBitSetter | ( | ) |
Definition at line 47 of file HBHETimeProfileStatusBitSetter.cc.
|
inline |
Definition at line 43 of file HBHETimeProfileStatusBitSetter.h.
References EnergyThreshold_.
Referenced by HBHETimeProfileStatusBitSetter(), and HcalHitReconstructor::produce().
void HBHETimeProfileStatusBitSetter::hbheSetTimeFlagsFromDigi | ( | HBHERecHitCollection * | hbhe, |
const std::vector< HBHEDataFrame > & | udigi, | ||
const std::vector< int > & | RecHitIndex | ||
) |
Definition at line 57 of file HBHETimeProfileStatusBitSetter.cc.
References funct::abs(), FracLeaderMax_, HcalCaloFlagLabels::HSCP_ExpFit, HcalCaloFlagLabels::HSCP_FracLeader, HcalCaloFlagLabels::HSCP_OuterEnergy, HcalCaloFlagLabels::HSCP_R1R2, i, OuterMax_, R1Max_, R1Min_, R2Max_, R2Min_, and python.multivaluedict::sort().
Referenced by HcalHitReconstructor::produce().
|
inline |
|
inline |
Definition at line 37 of file HBHETimeProfileStatusBitSetter.h.
References FracLeaderMax_, and FracLeaderMin_.
|
inline |
Definition at line 41 of file HBHETimeProfileStatusBitSetter.h.
References OuterMax_, and OuterMin_.
|
inline |
Definition at line 39 of file HBHETimeProfileStatusBitSetter.h.
References SlopeMax_, and SlopeMin_.
|
inlineprivate |
Definition at line 63 of file HBHETimeProfileStatusBitSetter.h.
References i, HcalQIESample::nominal_fC(), HBHEDataFrame::sample(), and HBHEDataFrame::size().
|
private |
Definition at line 51 of file HBHETimeProfileStatusBitSetter.h.
Referenced by EnergyThreshold(), and HBHETimeProfileStatusBitSetter().
|
private |
Definition at line 48 of file HBHETimeProfileStatusBitSetter.h.
Referenced by hbheSetTimeFlagsFromDigi(), HBHETimeProfileStatusBitSetter(), and SetFracLeaderLimits().
|
private |
Definition at line 48 of file HBHETimeProfileStatusBitSetter.h.
Referenced by HBHETimeProfileStatusBitSetter(), and SetFracLeaderLimits().
|
private |
Definition at line 50 of file HBHETimeProfileStatusBitSetter.h.
Referenced by hbheSetTimeFlagsFromDigi(), HBHETimeProfileStatusBitSetter(), and SetOuterLimits().
|
private |
Definition at line 50 of file HBHETimeProfileStatusBitSetter.h.
Referenced by HBHETimeProfileStatusBitSetter(), and SetOuterLimits().
|
private |
Definition at line 47 of file HBHETimeProfileStatusBitSetter.h.
Referenced by hbheSetTimeFlagsFromDigi(), HBHETimeProfileStatusBitSetter(), and SetExpLimits().
|
private |
Definition at line 47 of file HBHETimeProfileStatusBitSetter.h.
Referenced by hbheSetTimeFlagsFromDigi(), HBHETimeProfileStatusBitSetter(), and SetExpLimits().
|
private |
Definition at line 47 of file HBHETimeProfileStatusBitSetter.h.
Referenced by hbheSetTimeFlagsFromDigi(), HBHETimeProfileStatusBitSetter(), and SetExpLimits().
|
private |
Definition at line 47 of file HBHETimeProfileStatusBitSetter.h.
Referenced by hbheSetTimeFlagsFromDigi(), HBHETimeProfileStatusBitSetter(), and SetExpLimits().
|
private |
Definition at line 49 of file HBHETimeProfileStatusBitSetter.h.
Referenced by HBHETimeProfileStatusBitSetter(), and SetSlopeLimits().
|
private |
Definition at line 49 of file HBHETimeProfileStatusBitSetter.h.
Referenced by HBHETimeProfileStatusBitSetter(), and SetSlopeLimits().