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
edm::RefVector< PFDisplacedTrackerVertexCollection > PFDisplacedTrackerVertexRefVector
vector of reference to Track in the same collection
const PFDisplacedVertexRef & displacedVertexRef() const
const bool isOutgoingTrack(const reco::PFRecTrackRef originalTrack) const
PFDisplacedTrackerVertex(const PFDisplacedVertexRef &nuclref, const PFRecTrackRefVector &pfRecTracks)
edm::Ref< PFDisplacedTrackerVertexCollection > PFDisplacedTrackerVertexRef
persistent reference to a DisplacedTrackerVertex
fixed size matrix
const PFRecTrackRefVector & pfRecTracks() const
std::vector< PFDisplacedTrackerVertex > PFDisplacedTrackerVertexCollection
collection of DisplacedTrackerVertexs
const bool isIncomingTrack(const reco::PFRecTrackRef originalTrack) const