Go to the documentation of this file.
9 #ifndef __EcalCleaningAlgo_h_
10 #define __EcalCleaningAlgo_h_
75 #endif // __EcalCleaningAlgo_h_
float e6e2(const DetId &id, const EcalRecHitCollection &rhs)
float tightenCrack_e1_single_
EcalCleaningAlgo(const edm::ParameterSet &p)
const std::vector< DetId > neighbours(const DetId &id)
return the id of the 4 neighbours in the swiss cross
float ignoreOutOfTimeThresh_
ignore kOutOfTime above threshold when calculating e4e1
float tightenCrack_e4e1_single_
void setFlags(EcalRecHitCollection &rhs)
EcalRecHit::Flags checkTopology(const DetId &id, const EcalRecHitCollection &rhs)
float e4e1Treshold_barrel_
float e4e1(const DetId &id, const EcalRecHitCollection &rhs)
yet another function to calculate swiss cross
float e4e1Treshold_endcap_
bool isNearCrack(const DetId &detid)
in EB, check if we are near a crack
float tightenCrack_e6e2_double_
float recHitE(const DetId id, const EcalRecHitCollection &recHits, bool useTimingInfo)
float tightenCrack_e1_double_