test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~EgammaHcalExtractor() ;
46 
47  virtual void fillVetos(const edm::Event & ev, const edm::EventSetup & evSetup,
48  const reco::TrackCollection & tracks) { }
49  virtual reco::IsoDeposit deposit(const edm::Event & ev, const edm::EventSetup & evSetup,
50  const reco::Track & track) const {
51  throw cms::Exception("Configuration Error") <<
52  "This extractor " << (typeid(this).name()) << " is not made for tracks";
53  }
54  virtual reco::IsoDeposit deposit(const edm::Event & ev, const edm::EventSetup & evSetup,
55  const reco::Candidate & c) const ;
56 
57  private:
58  double extRadius_ ;
59  double intRadius_ ;
60  double etLow_ ;
61 
63  };
64 }
65 #endif
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
edm::EDGetTokenT< HBHERecHitCollection > hcalRecHitProducerToken_
bool ev
virtual void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks)
virtual reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
EgammaHcalExtractor(const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
tuple tracks
Definition: testEve_cfg.py:39