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
21 
26 
29 
32 
33 
34 
35 
36 namespace egammaisolation {
37 
39  public:
40  EgammaHcalExtractor ( const edm::ParameterSet& par );
41 
42  virtual ~EgammaHcalExtractor() ;
43 
44  virtual void fillVetos(const edm::Event & ev, const edm::EventSetup & evSetup,
45  const reco::TrackCollection & tracks) { }
46  virtual reco::IsoDeposit deposit(const edm::Event & ev, const edm::EventSetup & evSetup,
47  const reco::Track & track) const {
48  throw cms::Exception("Configuration Error") <<
49  "This extractor " << (typeid(this).name()) << " is not made for tracks";
50  }
51  virtual reco::IsoDeposit deposit(const edm::Event & ev, const edm::EventSetup & evSetup,
52  const reco::Candidate & c) const ;
53 
54  private:
55  double extRadius_ ;
56  double intRadius_ ;
57  double etLow_ ;
58 
60  //HBHERecHitMetaCollection* mhbhe_ ; // to recover later when we add begin(), end()
61 
62  };
63 }
64 #endif
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:10
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
tuple tracks
Definition: testEve_cfg.py:39
EgammaHcalExtractor(const edm::ParameterSet &par)