CMS 3D CMS Logo

EgammaHcalExtractor.h
Go to the documentation of this file.
1 #ifndef EgammaIsolationProducers_EgammaHcalIsolation_h
2 #define EgammaIsolationProducers_EgammaHcalIsolation_h
3 //*****************************************************************************
4 // File: EgammaHcalExtractor.h
5 // ----------------------------------------------------------------------------
6 // OrigAuth: Matthias Mozer
7 // Institute: IIHE-VUB
8 //=============================================================================
9 //*****************************************************************************
10 
11 //C++ includes
12 #include <vector>
13 #include <functional>
14 
15 //CMSSW includes
20 
26 
29 
33 
34 
35 
36 
37 namespace egammaisolation {
38 
40  public:
42  EgammaHcalExtractor(par, iC) {}
44 
45  ~EgammaHcalExtractor() override ;
46 
47  void fillVetos(const edm::Event & ev, const edm::EventSetup & evSetup,
48  const reco::TrackCollection & tracks) override { }
50  const reco::Track & track) const override {
51  throw cms::Exception("Configuration Error") <<
52  "This extractor " << (typeid(this).name()) << " is not made for tracks";
53  }
54  reco::IsoDeposit deposit(const edm::Event & ev, const edm::EventSetup & evSetup,
55  const reco::Candidate & c) const override ;
56 
57  private:
58  double extRadius_ ;
59  double intRadius_ ;
60  double etLow_ ;
61 
63  };
64 }
65 #endif
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:15
edm::EDGetTokenT< HBHERecHitCollection > hcalRecHitProducerToken_
bool ev
EgammaHcalExtractor(const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) override