|
double | bit () |
|
double | CalcThreshold (double abs_energy, std::vector< double > params) |
|
std::vector< double > | GetLong_Energy_Thresh () |
|
std::vector< double > | GetLong_ET_Thresh () |
|
std::vector< double > | GetLong_R () |
|
std::vector< double > | GetShort_Energy_Thresh () |
|
std::vector< double > | GetShort_ET_Thresh () |
|
std::vector< double > | GetShort_R () |
|
| HcalHF_PETalgorithm () |
|
| HcalHF_PETalgorithm (std::vector< double > short_R, std::vector< double > short_Energy, std::vector< double > short_ET, std::vector< double > long_R, std::vector< double > long_Energy, std::vector< double > long_ET, int flagsToSkip, std::vector< double > short_R_29, std::vector< double > long_R_29) |
|
void | HFSetFlagFromPET (HFRecHit &hf, HFRecHitCollection &rec, HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity) |
|
void | SetLong_Energy_Thresh (std::vector< double > x) |
|
void | SetLong_ET_Thresh (std::vector< double > x) |
|
void | SetLong_R (std::vector< double > x) |
|
void | SetShort_Energy_Thresh (std::vector< double > x) |
|
void | SetShort_ET_Thresh (std::vector< double > x) |
|
void | SetShort_R (std::vector< double > x) |
|
| ~HcalHF_PETalgorithm () |
|
Class evaluates the ratio |(L-S)/(L+S)| for a given cell, and flags the cell if the threshold exceeds a given maximum value R(Energy). Each cell must also pass ieta-dependent energy and ET cuts to be considered for flagging.
- Date:
- 2010/03/18 13:08:58
- Revision:
- 1.1
- Author
- J. Temple and D. Ferencek
Definition at line 24 of file HcalHF_PETalgorithm.h.
Definition at line 71 of file HcalHF_PETalgorithm.cc.
References abs, CalcThreshold(), HcalDetId::depth(), HcalSeverityLevelComputer::dropChannel(), edm::SortedCollection< T, SORT >::end(), CaloRecHit::energy(), relval_parameters_module::energy, ET, edm::SortedCollection< T, SORT >::find(), flagsToSkip_, HcalChannelStatus::getValue(), HcalCondObjectContainer< Item >::getValues(), HcalForward, HcalCaloFlagLabels::HFLongShort, HcalCaloFlagLabels::HFPET, HFRecHit::id(), HcalDetId::ieta(), HcalDetId::iphi(), long_Energy_Thresh, long_ET_Thresh, long_R, long_R_29, DetId::rawId(), CaloRecHit::setFlagField(), short_Energy_Thresh, short_ET_Thresh, short_R, short_R_29, and theHFEtaBounds.
Referenced by HcalHitReconstructor::produce().
83 double ET = energy/fabs(cosh(fEta));
86 double ETthresh=0, Energythresh=0;
99 if (energy<Energythresh || ET < ETthresh)
125 Ratio=(energy-part->energy())/(energy+part->energy());
128 double RatioThresh=0;
140 if (Ratio<=RatioThresh)
std::vector< double > long_ET_Thresh
void setFlagField(uint32_t value, int base, int width=1)
std::vector< T >::const_iterator const_iterator
std::vector< double > long_Energy_Thresh
std::vector< double > short_R
uint32_t rawId() const
get the raw id
int depth() const
get the tower depth
std::vector< double > long_R
int ieta() const
get the cell ieta
bool dropChannel(const uint32_t &mystatus) const
std::vector< double > long_R_29
const_iterator end() const
int iphi() const
get the cell iphi
static const double theHFEtaBounds[]
std::vector< double > short_ET_Thresh
std::vector< double > short_Energy_Thresh
iterator find(key_type k)
HcalDetId id() const
get the id
uint32_t getValue() const
const Item * getValues(DetId fId) const
double CalcThreshold(double abs_energy, std::vector< double > params)
std::vector< double > short_R_29