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 
14 
15 namespace egammaisolation {
16 
18 
19 public:
20 
23 
25 
26  virtual void fillVetos (const edm::Event & ev,
27  const edm::EventSetup & evSetup, const reco::TrackCollection & track) {}
28 
29  virtual reco::IsoDeposit::Vetos vetos(const edm::Event & ev,
30  const edm::EventSetup & evSetup, const reco::Track & track)const;
31 
32  virtual reco::IsoDeposit deposit (const edm::Event & ev,
33  const edm::EventSetup & evSetup, const reco::Track & muon) const {
34  edm::LogWarning("EgammaIsolationAlgos|EgammaTrackExtractor")
35  << "This Function is not implemented, bad IsoDeposit Returned";
37  }
38 
39  virtual reco::IsoDeposit deposit (const edm::Event & ev,
40  const edm::EventSetup & evSetup, const reco::Candidate & muon) const;
41 
42 private:
44 private:
45  // Parameter set
47  std::string theDepositLabel;
48  double minCandEt_;
49  double theDiff_r;
50  double theDiff_z;
51  double theDR_Max;
52  double theDR_Veto;
53  std::string theBeamlineOption;
57  unsigned int theNHits_Min;
58  double theChi2Ndof_Max;
59  double theChi2Prob_Min;
60  double thePt_Min;
61  std::vector<double> paramForIsolBarrel_;
62  std::vector<double> paramForIsolEndcap_;
63  std::string dzOptionString;
64  int dzOption;
65 };
66 
67 }
68 
69 #endif
double theDR_Veto
Maximum cone angle for deposits.
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
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:58
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.