CMS 3D CMS Logo

PixelTrackExtractor.h
Go to the documentation of this file.
1 #ifndef MuonIsolation_PixelTrackExtractor_H
2 #define MuonIsolation_PixelTrackExtractor_H
3 
4 #include <string>
5 #include <vector>
6 
8 
15 
16 namespace muonisolation {
17 
19 
20 public:
21 
24 
25  ~PixelTrackExtractor() 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 
40 private:
41  // Parameter set
44  double theDiff_r;
45  double theDiff_z;
46  double theDR_Max;
47  double theDR_Veto;
50  unsigned int theNHits_Min;
51  double theChi2Ndof_Max;
52  double theChi2Prob_Min;
53  double thePt_Min;
54 
57 
59  double thePtVeto_Min;
60  double theDR_VetoPt;
61 };
62 
63 }
64 
65 #endif
double theReferenceRadius
If set to true will compare track eta-phi at ...
double theChi2Ndof_Max
trk.numberOfValidHits >= theNHits_Min
reco::IsoDeposit::Veto veto(const reco::IsoDeposit::Direction &dir) const
double theDR_Veto
Maximum cone angle for deposits.
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
bool ev
virtual reco::IsoDeposit::Vetos vetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
bool thePropagateTracksToRadius
min track pt to include into iso deposit
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const override
double thePtVeto_Min
will veto leading track if
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
"NONE", "BeamSpotFromEvent"
double theDR_Max
z distance to vertex
edm::EDGetTokenT< reco::TrackCollection > theTrackCollectionToken
double thePt_Min
ChiSquaredProbability(trk.chi2,trk.ndof) > theChi2Prob_Min.
std::string theDepositLabel
Track Collection Token.
double theDiff_z
transverse distance to vertex
std::string theBeamlineOption
Veto cone angle.
reco::isodeposit::Direction directionAtPresetRadius(const reco::Track &tk, double bz) const
std::vector< Veto > Vetos
Definition: IsoDeposit.h:63
double theDR_VetoPt
.. it is above this threshold
unsigned int theNHits_Min
BeamSpot name.
double theChi2Prob_Min
trk.normalizedChi2 < theChi2Ndof_Max
dbl *** dir
Definition: mlp_gen.cc:35
void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &track) override