#include <PFBlockElementTrack.h>
Public Member Functions | |
PFBlockElement * | clone () const |
necessary to have the edm::OwnVector<PFBlockElement> working More... | |
const ConversionRefVector & | convRefs () const |
const PFDisplacedTrackerVertexRef & | displacedVertexRef (TrackType trType) const |
void | Dump (std::ostream &out=std::cout, const char *tab=" ") const |
print the object inside the element More... | |
bool | isLinkedToDisplacedVertex () const |
bool | isPrimary () const |
bool | isSecondary () const |
check if the track is secondary More... | |
const reco::MuonRef & | muonRef () const |
PFBlockElementTrack () | |
PFBlockElementTrack (const PFRecTrackRef &ref) | |
const math::XYZPointF & | positionAtECALEntrance () const |
void | setConversionRef (const ConversionRef &convRef, TrackType trType) |
the ref to gamma conversion More... | |
void | setDisplacedVertexRef (const PFDisplacedTrackerVertexRef &niref, TrackType trType) |
the ref to the displaced vertex interaction More... | |
void | setMuonRef (const MuonRef &muref) |
reference to the Muon More... | |
void | setPositionAtECALEntrance (float x, float y, float z) |
set position at ECAL entrance More... | |
virtual void | setTrackType (TrackType trType, bool value) |
the trackType More... | |
void | setV0Ref (const VertexCompositeCandidateRef &V0Ref, TrackType trType) |
the ref to V0 More... | |
const reco::TrackRef & | trackRef () const |
const PFRecTrackRef & | trackRefPF () const |
virtual bool | trackType (TrackType trType) const |
const VertexCompositeCandidateRef & | V0Ref () const |
Public Member Functions inherited from reco::PFBlockElement | |
virtual const PFClusterRef & | clusterRef () const |
const PFMultilinksType & | getMultilinks () const |
unsigned | index () const |
bool | isMultilinksValide () const |
void | lock () |
lock element More... | |
bool | locked () const |
locked ? More... | |
PFBlockElement (Type type=NONE) | |
standard constructor More... | |
void | setIndex (unsigned index) |
set index More... | |
void | setIsValidMultilinks (bool isVal) |
void | setMultilinks (const PFMultiLinksTC &ml) |
void | setMultilinksList (const PFMultilinksType &links) |
Type | type () const |
void | unLock () |
unlock element More... | |
virtual | ~PFBlockElement () |
destructor More... | |
Private Attributes | |
ConversionRefVector | convRefs_ |
reference to reco conversion More... | |
PFDisplacedTrackerVertexRef | displacedVertexDaughterRef_ |
reference to the corresponding pf displaced vertex which this track was created More... | |
PFDisplacedTrackerVertexRef | displacedVertexMotherRef_ |
reference to the corresponding pf displaced vertex where this track was created More... | |
reco::MuonRef | muonRef_ |
reference to the corresponding muon More... | |
math::XYZPointF | positionAtECALEntrance_ |
position at ECAL entrance More... | |
reco::TrackRef | trackRef_ |
reference to the corresponding track More... | |
PFRecTrackRef | trackRefPF_ |
reference to the corresponding track (transient) More... | |
unsigned int | trackType_ |
VertexCompositeCandidateRef | v0Ref_ |
reference to V0 More... | |
Additional Inherited Members | |
Public Types inherited from reco::PFBlockElement | |
enum | TrackType { DEFAULT =0, T_FROM_DISP, T_TO_DISP, T_FROM_GAMMACONV, MUON, T_FROM_V0 } |
enum | Type { NONE =0, TRACK =1, PS1 =2, PS2 =3, ECAL =4, HCAL =5, GSF =6, BREM =7, HFEM =8, HFHAD =9, SC =10, HO =11, kNBETypes =12 } |
Protected Attributes inherited from reco::PFBlockElement | |
unsigned | index_ |
index in block vector More... | |
bool | locked_ |
PFMultiLinksTC | multilinks_ |
Type | type_ |
Static Protected Attributes inherited from reco::PFBlockElement | |
static const ConversionRefVector | nullConv_ = reco::ConversionRefVector() |
static const MuonRef | nullMuon_ = reco::MuonRef() |
static const PFClusterRef | nullPFCluster_ = reco::PFClusterRef() |
static const PFDisplacedTrackerVertexRef | nullPFDispVertex_ |
static const PFRecTrackRef | nullPFRecTrack_ = reco::PFRecTrackRef() |
static const reco::TrackRef | nullTrack_ = reco::TrackRef() |
static const VertexCompositeCandidateRef | nullVertex_ = reco::VertexCompositeCandidateRef() |
Track Element.
this class contains a reference to a PFRecTrack
Definition at line 17 of file PFBlockElementTrack.h.
|
inline |
PFBlockElementTrack::PFBlockElementTrack | ( | const PFRecTrackRef & | ref | ) |
Definition at line 13 of file PFBlockElementTrack.cc.
References reco::PFBlockElement::DEFAULT, reco::PFTrajectoryPoint::ECALEntrance, edm::Ref< C, T, F >::isNull(), reco::PFTrajectoryPoint::isValid(), reco::PFTrajectoryPoint::position(), positionAtECALEntrance_, and setTrackType().
|
inlinevirtual |
necessary to have the edm::OwnVector<PFBlockElement> working
Implements reco::PFBlockElement.
Definition at line 24 of file PFBlockElementTrack.h.
References PFBlockElementTrack().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 103 of file PFBlockElementTrack.h.
References convRefs_.
Referenced by PFEGammaAlgo::fillPFCandidates(), and GeneralTracksImporter::importToBlock().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 77 of file PFBlockElementTrack.h.
References displacedVertexDaughterRef_, displacedVertexMotherRef_, reco::PFBlockElement::nullPFDispVertex_, reco::PFBlockElement::T_FROM_DISP, and reco::PFBlockElement::T_TO_DISP.
Referenced by GeneralTracksImporter::importToBlock(), and PFAlgo::reconstructTrack().
|
virtual |
print the object inside the element
Reimplemented from reco::PFBlockElement.
Definition at line 37 of file PFBlockElementTrack.cc.
References DeDxDiscriminatorTools::charge(), edm::Ref< C, T, F >::isNull(), AlCaHLTBitMon_ParallelJobs::p, RecoTauCleanerPlugins::pt, alignCSCRings::s, and trackRef_.
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 71 of file PFBlockElementTrack.h.
References isPrimary(), and isSecondary().
Referenced by TrackAndGSFLinker::testLink().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 67 of file PFBlockElementTrack.h.
References reco::PFBlockElement::T_TO_DISP, and trackType().
Referenced by isLinkedToDisplacedVertex().
|
inlinevirtual |
check if the track is secondary
Reimplemented from reco::PFBlockElement.
Definition at line 60 of file PFBlockElementTrack.h.
References reco::PFBlockElement::T_FROM_DISP, reco::PFBlockElement::T_FROM_GAMMACONV, reco::PFBlockElement::T_FROM_V0, and trackType().
Referenced by isLinkedToDisplacedVertex().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 95 of file PFBlockElementTrack.h.
References muonRef_.
Referenced by PFMuonAlgo::isGlobalLooseMuon(), PFMuonAlgo::isGlobalTightMuon(), PFMuonAlgo::isIsolatedMuon(), PFMuonAlgo::isLooseMuon(), PFMuonAlgo::isMuon(), PFMuonAlgo::isTrackerTightMuon(), and PFAlgo::reconstructTrack().
|
inline |
Definition at line 48 of file PFBlockElementTrack.h.
References positionAtECALEntrance_.
Referenced by PFEGammaAlgo::fillPFCandidates(), and PFAlgo::reconstructTrack().
|
inlinevirtual |
the ref to gamma conversion
Reimplemented from reco::PFBlockElement.
Definition at line 106 of file PFBlockElementTrack.h.
References convRefs_, edm::RefVector< C, T, F >::push_back(), and setTrackType().
|
inlinevirtual |
the ref to the displaced vertex interaction
Reimplemented from reco::PFBlockElement.
Definition at line 86 of file PFBlockElementTrack.h.
References displacedVertexDaughterRef_, displacedVertexMotherRef_, setTrackType(), reco::PFBlockElement::T_FROM_DISP, and reco::PFBlockElement::T_TO_DISP.
|
inlinevirtual |
reference to the Muon
Reimplemented from reco::PFBlockElement.
Definition at line 98 of file PFBlockElementTrack.h.
References reco::PFBlockElement::MUON, muonRef_, and setTrackType().
Referenced by GeneralTracksImporter::importToBlock().
|
inline |
set position at ECAL entrance
Definition at line 42 of file PFBlockElementTrack.h.
References positionAtECALEntrance_.
Referenced by PFAlgo::processBlock().
|
inlinevirtual |
the trackType
Reimplemented from reco::PFBlockElement.
Definition at line 35 of file PFBlockElementTrack.h.
References trackType_.
Referenced by PFBlockElementTrack(), setConversionRef(), setDisplacedVertexRef(), setMuonRef(), and setV0Ref().
|
inlinevirtual |
the ref to V0
Reimplemented from reco::PFBlockElement.
Definition at line 114 of file PFBlockElementTrack.h.
References setTrackType(), V0Ref(), and v0Ref_.
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 57 of file PFBlockElementTrack.h.
References trackRef_.
Referenced by PFEGammaAlgo::fillPFCandidates(), GeneralTracksImporter::importToBlock(), PFAlgo::reconstructTrack(), PFEGammaAlgo::removeOrLinkECALClustersToKFTracks(), PFElectronAlgo::SetCandidates(), PFElectronAlgo::SetIDOutputs(), PFElectronAlgo::SetLinks(), and TrackAndHOLinker::testLink().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 54 of file PFBlockElementTrack.h.
References trackRefPF_.
Referenced by PFElectronAlgo::isPrimaryTrack(), PFEGammaAlgo::isPrimaryTrack(), TrackAndHOLinker::testLink(), TrackAndGSFLinker::testLink(), TrackAndHCALLinker::testLink(), and TrackAndECALLinker::testLink().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 30 of file PFBlockElementTrack.h.
References trackType_.
Referenced by reco::PFCandidateEGammaExtra::addExtraNonConvTrack(), GeneralTracksImporter::importToBlock(), isPrimary(), isSecondary(), PFEGammaAlgo::linkRefinableObjectGSFTracksToKFs(), PFEGammaAlgo::linkRefinableObjectPrimaryKFsToSecondaryKFs(), PFAlgo::processBlock(), PFPhotonAlgo::RunPFPhoton(), and TrackAndGSFLinker::testLink().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 111 of file PFBlockElementTrack.h.
References v0Ref_.
Referenced by GeneralTracksImporter::importToBlock(), and setV0Ref().
|
private |
reference to reco conversion
Definition at line 143 of file PFBlockElementTrack.h.
Referenced by convRefs(), and setConversionRef().
|
private |
reference to the corresponding pf displaced vertex which this track was created
Definition at line 137 of file PFBlockElementTrack.h.
Referenced by displacedVertexRef(), and setDisplacedVertexRef().
|
private |
reference to the corresponding pf displaced vertex where this track was created
Definition at line 134 of file PFBlockElementTrack.h.
Referenced by displacedVertexRef(), and setDisplacedVertexRef().
|
private |
reference to the corresponding muon
Definition at line 140 of file PFBlockElementTrack.h.
Referenced by muonRef(), and setMuonRef().
|
private |
position at ECAL entrance
Definition at line 131 of file PFBlockElementTrack.h.
Referenced by PFBlockElementTrack(), positionAtECALEntrance(), and setPositionAtECALEntrance().
|
private |
reference to the corresponding track
Definition at line 126 of file PFBlockElementTrack.h.
Referenced by Dump(), and trackRef().
|
private |
reference to the corresponding track (transient)
Definition at line 123 of file PFBlockElementTrack.h.
Referenced by trackRefPF().
|
private |
Definition at line 128 of file PFBlockElementTrack.h.
Referenced by setTrackType(), and trackType().
|
private |
reference to V0
Definition at line 146 of file PFBlockElementTrack.h.
Referenced by setV0Ref(), and V0Ref().