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  public:
22 
23  ~TrackExtractor() override {}
24 
25  void fillVetos(const edm::Event& ev, const edm::EventSetup& evSetup, const reco::TrackCollection& track) override {}
26 
28  const edm::EventSetup& evSetup,
29  const reco::Track& track) const;
30 
32  const edm::EventSetup& evSetup,
33  const reco::Track& muon) const override;
34 
35  private:
37 
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 } // namespace muonisolation
55 
56 #endif
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
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:65
double theDR_Veto
Maximum cone angle for deposits.
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