CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EgammaRecHitExtractor.h
Go to the documentation of this file.
1 #ifndef EgammaIsolationProducers_EgammaRecHitExtractor_h
2 #define EgammaIsolationProducers_EgammaRecHitExtractor_h
3 //*****************************************************************************
4 // File: EgammaRecHitExtractor.h
5 // ----------------------------------------------------------------------------
6 // OrigAuth: Matthias Mozer, adapted from EgammaHcalExtractor by S. Harper
7 // Institute: IIHE-VUB, RAL
8 //=============================================================================
9 //*****************************************************************************
10 
11 //C++ includes
12 #include <vector>
13 #include <functional>
14 
15 //CMSSW includes
20 
25 
32 
36 
37 namespace egammaisolation {
38 
40  public:
42  virtual ~EgammaRecHitExtractor() ;
43  virtual void fillVetos(const edm::Event & ev, const edm::EventSetup & evSetup, const reco::TrackCollection & tracks) { }
44  virtual reco::IsoDeposit deposit(const edm::Event & ev, const edm::EventSetup & evSetup, const reco::Track & track) const {
45  throw cms::Exception("Configuration Error") << "This extractor " << (typeid(this).name()) << " is not made for tracks";
46  }
47  virtual reco::IsoDeposit deposit(const edm::Event & ev, const edm::EventSetup & evSetup, const reco::Candidate & c) const ;
48 
49  private:
51  const reco::SuperClusterRef& sc, const CaloSubdetectorGeometry* subdet,
52  const CaloGeometry* caloGeom,
53  const EcalRecHitCollection &hits,
54  const EcalChannelStatus* chStatus,
55  bool barrel) const;
56 
57  double etMin_ ;
58  double energyMin_ ;
59  double extRadius_ ;
60  double intRadius_ ;
61  double intStrip_ ;
65  bool tryBoth_;
66  bool useEt_;
68  bool sameTag_;
71  std::string spIdString_;
74  std::vector<int> v_chstatus_;
75 
76 
77  };
78 }
79 #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)
EcalSeverityLevelAlgo::SpikeId spId_
void collect(reco::IsoDeposit &deposit, const reco::SuperClusterRef &sc, const CaloSubdetectorGeometry *subdet, const CaloGeometry *caloGeom, const EcalRecHitCollection &hits, const EcalChannelStatus *chStatus, bool barrel) const
EgammaRecHitExtractor(const edm::ParameterSet &par)
tuple tracks
Definition: testEve_cfg.py:39
virtual reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
const double par[8 *NPar][4]