CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackExtractor.h
Go to the documentation of this file.
1 #ifndef MuonIsolation_TrackExtractor_H
2 #define MuonIsolation_TrackExtractor_H
3 
4 #include <string>
5 #include <vector>
6 
7 
12 
13 namespace muonisolation {
14 
16 
17 public:
18 
21 
22  virtual ~TrackExtractor(){}
23 
24  virtual void fillVetos (const edm::Event & ev,
25  const edm::EventSetup & evSetup, const reco::TrackCollection & track) {}
26 
27  virtual reco::IsoDeposit::Vetos vetos(const edm::Event & ev,
28  const edm::EventSetup & evSetup, const reco::Track & track)const;
29 
30  virtual reco::IsoDeposit deposit (const edm::Event & ev,
31  const edm::EventSetup & evSetup, const reco::Track & muon) const;
32 
33 private:
35 private:
36  // Parameter set
39  double theDiff_r;
40  double theDiff_z;
41  double theDR_Max;
42  double theDR_Veto;
45  unsigned int theNHits_Min;
46  double theChi2Ndof_Max;
47  double theChi2Prob_Min;
48  double thePt_Min;
49 };
50 
51 }
52 
53 #endif
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:10
unsigned int theNHits_Min
BeamSpot name.
double theDR_Max
z distance to vertex
reco::IsoDeposit::Veto veto(const reco::IsoDeposit::Direction &dir) const
double theDiff_r
name for deposit
edm::InputTag theBeamSpotLabel
&quot;NONE&quot;, &quot;BeamSpotFromEvent&quot;
std::string theDepositLabel
Track Collection Label.
double theChi2Ndof_Max
trk.numberOfValidHits &gt;= theNHits_Min
double theDiff_z
transverse distance to vertex
virtual void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &track)
virtual reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const
std::string theBeamlineOption
Veto cone angle.
double thePt_Min
ChiSquaredProbability(trk.chi2,trk.ndof) &gt; theChi2Prob_Min.
std::vector< Veto > Vetos
Definition: IsoDeposit.h:63
double theDR_Veto
Maximum cone angle for deposits.
dbl *** dir
Definition: mlp_gen.cc:35
double theChi2Prob_Min
trk.normalizedChi2 &lt; theChi2Ndof_Max
virtual reco::IsoDeposit::Vetos vetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const