CMS 3D CMS Logo

PFDisplacedTrackerVertex.h
Go to the documentation of this file.
1 #ifndef _PFDisplacedTrackerVertex_H
2 #define _PFDisplacedTrackerVertex_H
3 
4 // class which contains the secondary PFRecTracks
5 // this dataformat will be used to create PFBlockElementNuclTrack
6 
7 // \author Maxime Gouzevitch
8 
13 
14 namespace reco {
16  public:
20 
21  const PFRecTrackRefVector& pfRecTracks() const { return pfRecTracks_; }
22 
23  const bool isIncomingTrack(const reco::PFRecTrackRef originalTrack) const {
24  reco::TrackBaseRef trackBaseRef(originalTrack->trackRef());
25  return displacedVertexRef_->isIncomingTrack(trackBaseRef);
26  }
27 
28  const bool isOutgoingTrack(const reco::PFRecTrackRef originalTrack) const {
29  reco::TrackBaseRef trackBaseRef(originalTrack->trackRef());
30  return displacedVertexRef_->isOutgoingTrack(trackBaseRef);
31  }
32 
34 
35  private:
36  // Reference to the initial DisplacedTrackerVertex
38 
39  // Collection of the secondary PFRecTracks
41  };
42 
44  typedef std::vector<PFDisplacedTrackerVertex> PFDisplacedTrackerVertexCollection;
49 } // namespace reco
50 #endif
PFDisplacedVertexFwd.h
reco::PFDisplacedTrackerVertexCollection
std::vector< PFDisplacedTrackerVertex > PFDisplacedTrackerVertexCollection
collection of DisplacedTrackerVertexs
Definition: PFDisplacedTrackerVertex.h:44
reco::PFDisplacedTrackerVertex::pfRecTracks
const PFRecTrackRefVector & pfRecTracks() const
Definition: PFDisplacedTrackerVertex.h:21
edm::RefVector< PFRecTrackCollection >
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
edm::Ref< PFDisplacedVertexCollection >
reco::PFDisplacedTrackerVertex::isOutgoingTrack
const bool isOutgoingTrack(const reco::PFRecTrackRef originalTrack) const
Definition: PFDisplacedTrackerVertex.h:28
reco::PFDisplacedTrackerVertex::PFDisplacedTrackerVertex
PFDisplacedTrackerVertex(const PFDisplacedVertexRef &nuclref, const PFRecTrackRefVector &pfRecTracks)
Definition: PFDisplacedTrackerVertex.h:18
reco::PFDisplacedTrackerVertex::pfRecTracks_
PFRecTrackRefVector pfRecTracks_
Definition: PFDisplacedTrackerVertex.h:40
PFDisplacedVertex.h
reco::PFDisplacedTrackerVertex::PFDisplacedTrackerVertex
PFDisplacedTrackerVertex()
Definition: PFDisplacedTrackerVertex.h:17
PFRecTrack.h
reco::PFDisplacedTrackerVertex::isIncomingTrack
const bool isIncomingTrack(const reco::PFRecTrackRef originalTrack) const
Definition: PFDisplacedTrackerVertex.h:23
reco::PFDisplacedTrackerVertex::displacedVertexRef
const PFDisplacedVertexRef & displacedVertexRef() const
Definition: PFDisplacedTrackerVertex.h:33
reco::PFDisplacedTrackerVertex
Definition: PFDisplacedTrackerVertex.h:15
edm::RefToBase< reco::Track >
PFRecTrackFwd.h
reco::PFDisplacedTrackerVertexRefVector
edm::RefVector< PFDisplacedTrackerVertexCollection > PFDisplacedTrackerVertexRefVector
vector of reference to Track in the same collection
Definition: PFDisplacedTrackerVertex.h:48
reco::PFDisplacedTrackerVertexRef
edm::Ref< PFDisplacedTrackerVertexCollection > PFDisplacedTrackerVertexRef
persistent reference to a DisplacedTrackerVertex
Definition: PFDisplacedTrackerVertex.h:46
reco::PFDisplacedTrackerVertex::displacedVertexRef_
PFDisplacedVertexRef displacedVertexRef_
Definition: PFDisplacedTrackerVertex.h:37