CMS 3D CMS Logo

LeptonVertexSignificance.h
Go to the documentation of this file.
1 //
2 //
3 
4 #ifndef PhysicsTools_PatUtils_LeptonVertexSignificance_h
5 #define PhysicsTools_PatUtils_LeptonVertexSignificance_h
6 
20 
22 
23 namespace reco {
24  class Track;
25 }
26 
27 namespace pat {
28  class Electron;
29  class Muon;
30 
32  public:
33  LeptonVertexSignificance() = default;
34  ~LeptonVertexSignificance() = default;
35 
36  //NOTE: expects vertices from "offlinePrimaryVerticesFromCTFTracks"
38 
39  //NOTE: expects TransientTrackBuilder to be a copy of one from record TransientTrackRecord with label "TransientTrackBuilder"
40  float calculate(const Electron& anElectron,
42  const TransientTrackBuilder& builder);
43  float calculate(const Muon& aMuon, const reco::VertexCollection& vertices, const TransientTrackBuilder& builder);
44 
45  private:
46  float calculate(const reco::Track& track,
48  const TransientTrackBuilder& builder);
49  };
50 
51 } // namespace pat
52 
53 #endif
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
Definition: HeavyIon.h:7
Calculates a lepton&#39;s vertex association significance.
Definition: Muon.py:1
float calculate(const Electron &anElectron, const reco::VertexCollection &vertices, const TransientTrackBuilder &builder)
fixed size matrix
static edm::InputTag vertexCollectionTag()