CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EgammaTrackExtractor.h
Go to the documentation of this file.
1 #ifndef EgammaIsolationProducers_EgammaTrackExtractor_H
2 #define EgammaIsolationProducers_EgammaTrackExtractor_H
3 
4 #include <string>
5 #include <vector>
6 
7 
16 
17 namespace egammaisolation {
18 
20 
21 public:
22 
25  EgammaTrackExtractor(par, iC) {}
27 
29 
30  virtual void fillVetos (const edm::Event & ev,
31  const edm::EventSetup & evSetup, const reco::TrackCollection & track) {}
32 
33  virtual reco::IsoDeposit::Vetos vetos(const edm::Event & ev,
34  const edm::EventSetup & evSetup, const reco::Track & track)const;
35 
36  virtual reco::IsoDeposit deposit (const edm::Event & ev,
37  const edm::EventSetup & evSetup, const reco::Track & muon) const {
38  edm::LogWarning("EgammaIsolationAlgos|EgammaTrackExtractor")
39  << "This Function is not implemented, bad IsoDeposit Returned";
41  }
42 
43  virtual reco::IsoDeposit deposit (const edm::Event & ev,
44  const edm::EventSetup & evSetup, const reco::Candidate & muon) const;
45 
46 private:
48 private:
49  // Parameter set
52  double minCandEt_;
53  double theDiff_r;
54  double theDiff_z;
55  double theDR_Max;
56  double theDR_Veto;
61  unsigned int theNHits_Min;
62  double theChi2Ndof_Max;
63  double theChi2Prob_Min;
64  double thePt_Min;
65  std::vector<double> paramForIsolBarrel_;
66  std::vector<double> paramForIsolEndcap_;
68  int dzOption;
69 };
70 
71 }
72 
73 #endif
double theDR_Veto
Maximum cone angle for deposits.
edm::EDGetTokenT< edm::View< reco::Track > > theTrackCollectionToken
virtual reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const
std::string dzOptionString
Endcap requirements to determine if isolated for selective filling.
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:10
reco::IsoDeposit::Veto veto(const reco::IsoDeposit::Direction &dir) const
double theChi2Prob_Min
trk.normalizedChi2 &lt; theChi2Ndof_Max
double theDiff_r
minimum candidate et
EgammaTrackExtractor(const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
double thePt_Min
ChiSquaredProbability(trk.chi2,trk.ndof) &gt; theChi2Prob_Min.
edm::InputTag barrelEcalHitsTag_
&quot;NONE&quot;, &quot;BeamSpotFromEvent&quot;
std::string theDepositLabel
Track Collection Label.
reco::IsoDeposit IsoDeposit
Definition: Isolation.h:7
double theDiff_z
transverse distance to vertex
virtual void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &track)
std::vector< double > paramForIsolBarrel_
min track pt to include into iso deposit
unsigned int theNHits_Min
BeamSpot name.
virtual reco::IsoDeposit::Vetos vetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
std::vector< Veto > Vetos
Definition: IsoDeposit.h:63
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
double theDR_Max
z distance to vertex
dbl *** dir
Definition: mlp_gen.cc:35
double theChi2Ndof_Max
trk.numberOfValidHits &gt;= theNHits_Min
std::string theBeamlineOption
Veto cone angle.
std::vector< double > paramForIsolEndcap_
Barrel requirements to determine if isolated for selective filling.