00001 #ifndef RecoJets_JetProducers_AnomalousTower_h 00002 #define RecoJets_JetProducers_AnomalousTower_h 00003 00004 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h" 00005 #include "DataFormats/Candidate/interface/CandidateFwd.h" 00006 00007 class AnomalousTower 00008 { 00009 public: 00010 explicit AnomalousTower(const edm::ParameterSet&); 00011 virtual ~AnomalousTower() {} 00012 00013 // operator() returns "true" if the tower is anomalous 00014 virtual bool operator()(const reco::Candidate& input) const; 00015 00016 private: 00017 AnomalousTower(); 00018 00019 const unsigned maxBadEcalCells; // maximum number of bad ECAL cells 00020 const unsigned maxRecoveredEcalCells; // maximum number of recovered ECAL cells 00021 const unsigned maxProblematicEcalCells; // maximum number of problematic ECAL cells 00022 const unsigned maxBadHcalCells; // maximum number of bad HCAL cells 00023 const unsigned maxRecoveredHcalCells; // maximum number of recovered HCAL cells 00024 const unsigned maxProblematicHcalCells; // maximum number of problematic HCAL cells 00025 }; 00026 00027 #endif // RecoJets_JetProducers_AnomalousTower_h