CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
17 
18 namespace muonisolation {
19 
21  public:
24 
25  ~PixelTrackExtractor() override {}
26 
27  void fillVetos(const edm::Event& ev, const edm::EventSetup& evSetup, const reco::TrackCollection& track) override {}
28 
30  const edm::EventSetup& evSetup,
31  const reco::Track& track) const;
32 
34  const edm::EventSetup& evSetup,
35  const reco::Track& muon) const override;
36 
37  private:
39 
41 
42  private:
43  // Parameter set
47  double theDiff_r;
48  double theDiff_z;
49  double theDR_Max;
50  double theDR_Veto;
53  unsigned int theNHits_Min;
54  double theChi2Ndof_Max;
55  double theChi2Prob_Min;
56  double thePt_Min;
57 
60 
62  double thePtVeto_Min;
63  double theDR_VetoPt;
64  };
65 
66 } // namespace muonisolation
67 
68 #endif
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &muon) const override
double theReferenceRadius
If set to true will compare track eta-phi at ...
double theChi2Ndof_Max
trk.numberOfValidHits &gt;= 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
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
double thePtVeto_Min
will veto leading track if
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
&quot;NONE&quot;, &quot;BeamSpotFromEvent&quot;
double theDR_Max
z distance to vertex
edm::EDGetTokenT< reco::TrackCollection > theTrackCollectionToken
double thePt_Min
ChiSquaredProbability(trk.chi2,trk.ndof) &gt; theChi2Prob_Min.
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theFieldToken
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:65
double theDR_VetoPt
.. it is above this threshold
unsigned int theNHits_Min
BeamSpot name.
double theChi2Prob_Min
trk.normalizedChi2 &lt; theChi2Ndof_Max
void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &track) override