Go to the documentation of this file.00001 #ifndef RecoEcal_EgammaCoreTools_EcalClusterSeverityLevelAlgo_hh
00002 #define RecoEcal_EgammaCoreTools_EcalClusterSeverityLevelAlgo_hh
00003
00004 #include "DataFormats/DetId/interface/DetId.h"
00005 #include "DataFormats/CaloRecHit/interface/CaloCluster.h"
00006 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
00007 #include "RecoLocalCalo/EcalRecAlgos/interface/EcalSeverityLevelAlgo.h"
00008 #include "CondFormats/EcalObjects/interface/EcalChannelStatus.h"
00009 #include "FWCore/Framework/interface/EventSetup.h"
00010
00011
00012 class CaloTopology;
00013 class EBDetId;
00014 class EcalClusterSeverityLevelAlgo {
00015 public:
00016
00017
00018
00019
00020 static float goodFraction( const reco::CaloCluster & , const EcalRecHitCollection &, const EcalSeverityLevelAlgo& );
00021
00022 static float fractionAroundClosestProblematic( const reco::CaloCluster & , const EcalRecHitCollection &, const CaloTopology* topology, const EcalSeverityLevelAlgo& );
00023
00024 static DetId closestProblematic( const reco::CaloCluster & , const EcalRecHitCollection &, const CaloTopology* topology, const EcalSeverityLevelAlgo& );
00025
00026
00027 static std::pair<int,int> etaphiDistanceClosestProblematic( const reco::CaloCluster & , const EcalRecHitCollection &, const CaloTopology* topology, const EcalSeverityLevelAlgo& );
00028
00029
00030 };
00031
00032 #endif