CMS 3D CMS Logo

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  ~TrackExtractor() override{}
26 
27  void fillVetos (const edm::Event & ev,
28  const edm::EventSetup & evSetup, const reco::TrackCollection & track) override {}
29 
31  const edm::EventSetup & evSetup, const reco::Track & track)const;
32 
34  const edm::EventSetup & evSetup, const reco::Track & muon) const override;
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:15
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
double theDiff_r
name for deposit
edm::EDGetTokenT< reco::TrackCollection > theTrackCollectionToken
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const override
std::string theDepositLabel
Track Collection Label.
double theChi2Ndof_Max
trk.numberOfValidHits >= theNHits_Min
double theDiff_z
transverse distance to vertex
void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &track) override
std::string theBeamlineOption
Veto cone angle.
double thePt_Min
ChiSquaredProbability(trk.chi2,trk.ndof) > theChi2Prob_Min.
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
"NONE", "BeamSpotFromEvent"
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 < theChi2Ndof_Max
virtual reco::IsoDeposit::Vetos vetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const