1 #ifndef __PFBlockElement__ 2 #define __PFBlockElement__ 20 class PFBlockElementCluster;
21 class PFBlockElementTrack;
63 index_( static_cast<unsigned>(-1) ),
74 const char* tab=
" " )
const;
93 std::cout <<
"Error in PFBlockElement::setTrackType : this base class method is not implemented" << std::endl;}
112 std::cout <<
"Error in PFBlockElement::setDisplacedVertexRef : this base class method is not implemented" << std::endl;}
114 std::cout <<
"Error in PFBlockElement::setConversionRef : this base class method is not implemented" << std::endl;}
116 std::cout <<
"Error in PFBlockElement::setMuonRef : this base class method is not implemented" << std::endl;}
119 std::cout <<
"Error in PFBlockElement::setV0Ref : this base class method is not implemented" << std::endl;
std::vector< std::pair< double, double > > PFMultilinksType
Abstract This class is used by the KDTree Track / Ecal Cluster linker to store all found links...
Abstract base class for a PFBlock element (track, cluster...)
virtual const MuonRef & muonRef() const
virtual bool isPrimary() const
void unLock()
unlock element
virtual void Dump(std::ostream &out=std::cout, const char *tab=" ") const
print the object inside the element
static const MuonRef nullMuon_
virtual const PFClusterRef & clusterRef() const
static const PFRecTrackRef nullPFRecTrack_
static const PFDisplacedTrackerVertexRef nullPFDispVertex_
virtual bool isSecondary() const
PFBlockElement(Type type=NONE)
standard constructor
virtual void setTrackType(TrackType trType, bool value)
the trackType
virtual PFBlockElement * clone() const =0
necessary to have the edm::OwnVector<PFBlockElement> working
void setMultilinksList(const PFMultilinksType &links)
bool isTimeValid() const
do we have a valid time information
std::ostream & operator<<(std::ostream &, BeamSpot beam)
void setIsValidMultilinks(bool isVal)
float timeError_
timing information uncertainty (<0 if timing not available)
bool locked() const
locked ?
PFMultiLinksTC multilinks_
void setIndex(unsigned index)
set index
PFMultilinksType linkedClusters
virtual void setDisplacedVertexRef(const PFDisplacedTrackerVertexRef &niref, TrackType trType)
virtual void setV0Ref(const VertexCompositeCandidateRef &v0ref, TrackType trType)
virtual const PFRecTrackRef & trackRefPF() const
static const PFClusterRef nullPFCluster_
virtual const ConversionRefVector & convRefs() const
static const ConversionRefVector nullConv_
virtual const PFDisplacedTrackerVertexRef & displacedVertexRef(TrackType trType) const
virtual ~PFBlockElement()
destructor
virtual void setConversionRef(const ConversionRef &convRef, TrackType trType)
float time_
timing information (valid if timeError_ >= 0)
bool isMultilinksValide() const
unsigned index_
index in block vector
virtual bool trackType(TrackType trType) const
static const reco::TrackRef nullTrack_
static const VertexCompositeCandidateRef nullVertex_
virtual void setMuonRef(const MuonRef &muref)
virtual bool isLinkedToDisplacedVertex() const
virtual const reco::TrackRef & trackRef() const
void setTime(float time, float timeError=0.f)
the timing information
void setMultilinks(const PFMultiLinksTC &ml)
const PFMultilinksType & getMultilinks() const
virtual const VertexCompositeCandidateRef & V0Ref() const