CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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  public:
19  : displacedVertexRef_(nuclref), pfRecTracks_(pfRecTracks) {}
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
const bool isIncomingTrack(const reco::PFRecTrackRef originalTrack) const
edm::RefVector< PFDisplacedTrackerVertexCollection > PFDisplacedTrackerVertexRefVector
vector of reference to Track in the same collection
const PFRecTrackRefVector & pfRecTracks() const
const PFDisplacedVertexRef & displacedVertexRef() const
PFDisplacedTrackerVertex(const PFDisplacedVertexRef &nuclref, const PFRecTrackRefVector &pfRecTracks)
edm::Ref< PFDisplacedTrackerVertexCollection > PFDisplacedTrackerVertexRef
persistent reference to a DisplacedTrackerVertex
const bool isOutgoingTrack(const reco::PFRecTrackRef originalTrack) const
std::vector< PFDisplacedTrackerVertex > PFDisplacedTrackerVertexCollection
collection of DisplacedTrackerVertexs