CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
17  public :
18 
21 
23 
24  const bool isIncomingTrack(const reco::PFRecTrackRef originalTrack) const {
25  reco::TrackBaseRef trackBaseRef(originalTrack->trackRef());
26  return displacedVertexRef_->isIncomingTrack(trackBaseRef);
27  }
28 
29  const bool isOutgoingTrack(const reco::PFRecTrackRef originalTrack) const {
30  reco::TrackBaseRef trackBaseRef(originalTrack->trackRef());
31  return displacedVertexRef_->isOutgoingTrack(trackBaseRef);
32  }
33 
35 
36  private :
37  // Reference to the initial DisplacedTrackerVertex
39 
40  // Collection of the secondary PFRecTracks
42 
43  };
44 
46  typedef std::vector<PFDisplacedTrackerVertex> PFDisplacedTrackerVertexCollection;
51 }
52 #endif
const bool isIncomingTrack(const reco::PFRecTrackRef originalTrack) const
edm::RefVector< PFDisplacedTrackerVertexCollection > PFDisplacedTrackerVertexRefVector
vector of reference to Track in the same collection
PFDisplacedTrackerVertex(const PFDisplacedVertexRef &nuclref, const PFRecTrackRefVector &pfRecTracks)
edm::Ref< PFDisplacedTrackerVertexCollection > PFDisplacedTrackerVertexRef
persistent reference to a DisplacedTrackerVertex
const PFRecTrackRefVector pfRecTracks() const
const PFDisplacedVertexRef displacedVertexRef() const
const bool isOutgoingTrack(const reco::PFRecTrackRef originalTrack) const
std::vector< PFDisplacedTrackerVertex > PFDisplacedTrackerVertexCollection
collection of DisplacedTrackerVertexs