Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:31

0001 #ifndef RecoJets_JetProducers_AnomalousTower_h
0002 #define RecoJets_JetProducers_AnomalousTower_h
0003 
0004 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
0005 #include "DataFormats/Candidate/interface/CandidateFwd.h"
0006 
0007 class AnomalousTower {
0008 public:
0009   explicit AnomalousTower(const edm::ParameterSet&);
0010   AnomalousTower() = delete;
0011   virtual ~AnomalousTower() {}
0012 
0013   // operator() returns "true" if the tower is anomalous
0014   virtual bool operator()(const reco::Candidate& input) const;
0015 
0016 private:
0017   const unsigned maxBadEcalCells;          // maximum number of bad ECAL cells
0018   const unsigned maxRecoveredEcalCells;    // maximum number of recovered ECAL cells
0019   const unsigned maxProblematicEcalCells;  // maximum number of problematic ECAL cells
0020   const unsigned maxBadHcalCells;          // maximum number of bad HCAL cells
0021   const unsigned maxRecoveredHcalCells;    // maximum number of recovered HCAL cells
0022   const unsigned maxProblematicHcalCells;  // maximum number of problematic HCAL cells
0023 };
0024 
0025 #endif  // RecoJets_JetProducers_AnomalousTower_h