CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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
EcalSeverityLevelAlgo
Definition: EcalSeverityLevelAlgo.h:33
EcalClusterSeverityLevelAlgo::fractionAroundClosestProblematic
static float fractionAroundClosestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const CaloTopology *topology, const EcalSeverityLevelAlgo &)
Definition: EcalClusterSeverityLevelAlgo.cc:36
EBDetId
Definition: EBDetId.h:17
edm::SortedCollection< EcalRecHit >
EcalClusterSeverityLevelAlgo::closestProblematic
static DetId closestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const CaloTopology *topology, const EcalSeverityLevelAlgo &)
Definition: EcalClusterSeverityLevelAlgo.cc:74
CaloTopology
Definition: CaloTopology.h:19
EcalRecHitCollections.h
DetId
Definition: DetId.h:17
reco::CaloCluster
Definition: CaloCluster.h:31
EcalSeverityLevelAlgo.h
EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic
static std::pair< int, int > etaphiDistanceClosestProblematic(const reco::CaloCluster &, const EcalRecHitCollection &, const CaloTopology *topology, const EcalSeverityLevelAlgo &)
Definition: EcalClusterSeverityLevelAlgo.cc:112
DetId.h
EventSetup.h
EcalClusterSeverityLevelAlgo
Definition: EcalClusterSeverityLevelAlgo.h:13
EcalChannelStatus.h
EcalClusterSeverityLevelAlgo::goodFraction
static float goodFraction(const reco::CaloCluster &, const EcalRecHitCollection &, const EcalSeverityLevelAlgo &)
Definition: EcalClusterSeverityLevelAlgo.cc:10
CaloCluster.h