CMS 3D CMS Logo

EcalClusterSeverityLevelAlgo.h
Go to the documentation of this file.
1 #ifndef RecoEcal_EgammaCoreTools_EcalClusterSeverityLevelAlgo_hh
2 #define RecoEcal_EgammaCoreTools_EcalClusterSeverityLevelAlgo_hh
3 
10 
11 class CaloTopology;
12 class EBDetId;
14 public:
15  // the severity is the fraction of cluster energy
16  // taken by good channels
17  // (e.g. not noisy, dead and recovered etc.)
18  static float goodFraction(const reco::CaloCluster&, const EcalRecHitCollection&, const EcalSeverityLevelAlgo&);
19  // fraction of SC energy around closest problematic
21  const EcalRecHitCollection&,
22  const CaloTopology* topology,
23  const EcalSeverityLevelAlgo&);
24  // retrieve closest problematic channel wrt seed crystal using as distance sqrt(ieta^2+ieta^2+iphi^2+iphi^2). Return a null detId in case not found within a search region of 11 (ieta) x 51 (iphi)
26  const EcalRecHitCollection&,
27  const CaloTopology* topology,
28  const EcalSeverityLevelAlgo&);
29  // retrieve the distance in ieta,iphi (number of crystals) of the closest problematic channel wrt seed crystal (defined as above)
30  // return -1,-1 if no crystal is found within a search region of 11 (eta) x 51 (phi)
31  static std::pair<int, int> etaphiDistanceClosestProblematic(const reco::CaloCluster&,
32  const EcalRecHitCollection&,
33  const CaloTopology* topology,
34  const EcalSeverityLevelAlgo&);
35 };
36 
37 #endif
static std::pair< int, int > etaphiDistanceClosestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const CaloTopology *topology, const EcalSeverityLevelAlgo &)
CaloTopology const * topology(0)
static float goodFraction(const reco::CaloCluster &, const EcalRecHitCollection &, const EcalSeverityLevelAlgo &)
static float fractionAroundClosestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const CaloTopology *topology, const EcalSeverityLevelAlgo &)
Definition: DetId.h:17
static DetId closestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const CaloTopology *topology, const EcalSeverityLevelAlgo &)