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 
8 
15 
16 namespace muonisolation {
17 
19 
20 public:
21 
24 
25  virtual ~TrackExtractor(){}
26 
27  virtual void fillVetos (const edm::Event & ev,
28  const edm::EventSetup & evSetup, const reco::TrackCollection & track) {}
29 
31  const edm::EventSetup & evSetup, const reco::Track & track)const;
32 
33  virtual reco::IsoDeposit deposit (const edm::Event & ev,
34  const edm::EventSetup & evSetup, const reco::Track & muon) const;
35 
36 private:
38 private:
39  // Parameter set
42  double theDiff_r;
43  double theDiff_z;
44  double theDR_Max;
45  double theDR_Veto;
48  unsigned int theNHits_Min;
49  double theChi2Ndof_Max;
50  double theChi2Prob_Min;
51  double thePt_Min;
52 };
53 
54 }
55 
56 #endif
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:10
unsigned int theNHits_Min
BeamSpot name.
bool ev
double theDR_Max
z distance to vertex
reco::IsoDeposit::Veto veto(const reco::IsoDeposit::Direction &dir) const
edm::EDGetTokenT< edm::View< reco::Track > > theTrackCollectionToken
double theDiff_r
name for deposit
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.
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
&quot;NONE&quot;, &quot;BeamSpotFromEvent&quot;
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