1 #ifndef __PFBlockElement__
2 #define __PFBlockElement__
20 class PFBlockElementCluster;
21 class PFBlockElementTrack;
62 index_( static_cast<unsigned>(-1) ) {
71 const char* tab=
" " )
const;
90 std::cout <<
"Error in PFBlockElement::setTrackType : this base class method is not implemented" << std::endl;}
109 std::cout <<
"Error in PFBlockElement::setDisplacedVertexRef : this base class method is not implemented" << std::endl;}
111 std::cout <<
"Error in PFBlockElement::setConversionRef : this base class method is not implemented" << std::endl;}
113 std::cout <<
"Error in PFBlockElement::setMuonRef : this base class method is not implemented" << std::endl;}
116 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 PFBlockElement * clone() const =0
necessary to have the edm::OwnVector<PFBlockElement> working
virtual void setTrackType(TrackType trType, bool value)
the trackType
void setMultilinksList(const PFMultilinksType &links)
void setIsValidMultilinks(bool isVal)
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)
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
volatile std::atomic< bool > shutdown_flag false
virtual const reco::TrackRef & trackRef() const
friend std::ostream & operator<<(std::ostream &out, const PFBlockElement &element)
void setMultilinks(const PFMultiLinksTC &ml)
const PFMultilinksType & getMultilinks() const
virtual const VertexCompositeCandidateRef & V0Ref() const