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