#include <PFBlockElementTrack.h>
Public Member Functions | |
PFBlockElement * | clone () const override |
necessary to have the edm::OwnVector<PFBlockElement> working More... | |
const ConversionRefVector & | convRefs () const override |
const PFDisplacedTrackerVertexRef & | displacedVertexRef (TrackType trType) const override |
void | Dump (std::ostream &out=std::cout, const char *tab=" ") const override |
print the object inside the element More... | |
bool | isLinkedToDisplacedVertex () const override |
bool | isPrimary () const override |
bool | isSecondary () const override |
check if the track is secondary More... | |
const reco::MuonRef & | muonRef () const override |
PFBlockElementTrack () | |
PFBlockElementTrack (const PFRecTrackRef &ref) | |
const math::XYZPointF & | positionAtECALEntrance () const |
void | setConversionRef (const ConversionRef &convRef, TrackType trType) override |
the ref to gamma conversion More... | |
void | setDisplacedVertexRef (const PFDisplacedTrackerVertexRef &niref, TrackType trType) override |
the ref to the displaced vertex interaction More... | |
void | setMuonRef (const MuonRef &muref) override |
reference to the Muon More... | |
void | setPositionAtECALEntrance (float x, float y, float z) |
set position at ECAL entrance More... | |
void | setTrackType (TrackType trType, bool value) override |
the trackType More... | |
void | setV0Ref (const VertexCompositeCandidateRef &V0Ref, TrackType trType) override |
the ref to V0 More... | |
const reco::TrackRef & | trackRef () const override |
const PFRecTrackRef & | trackRefPF () const override |
bool | trackType (TrackType trType) const override |
const VertexCompositeCandidateRef & | V0Ref () const override |
Public Member Functions inherited from reco::PFBlockElement | |
virtual const PFClusterRef & | clusterRef () const |
const PFMultilinksType & | getMultilinks (Type type) const |
unsigned | index () const |
bool | isMultilinksValide (Type type) const |
bool | isTimeValid () const |
do we have a valid time information More... | |
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, Type type) |
void | setMultilinks (const PFMultiLinksTC &ml, Type type) |
void | setTime (float time, float timeError=0.f) |
the timing information More... | |
float | time () const |
float | timeError () const |
Type | type () const |
void | unLock () |
unlock element More... | |
virtual | ~PFBlockElement () |
destructor More... | |
Static Public Attributes | |
static constexpr unsigned int | kLinkedToDisplacedVertexMask = kPrimaryMask | kSecondaryMask |
static constexpr unsigned int | kPrimaryMask = 1 << T_TO_DISP |
static constexpr unsigned int | kSecondaryMask = (1 << T_FROM_DISP) | (1 << T_FROM_GAMMACONV) | (1 << T_FROM_V0) |
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... | |
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 12 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().
|
inlineoverridevirtual |
necessary to have the edm::OwnVector<PFBlockElement> working
Implements reco::PFBlockElement.
Definition at line 23 of file PFBlockElementTrack.h.
References PFBlockElementTrack().
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 95 of file PFBlockElementTrack.h.
References convRefs_.
Referenced by GeneralTracksImporter::importToBlock().
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 65 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().
|
overridevirtual |
print the object inside the element
Reimplemented from reco::PFBlockElement.
Definition at line 27 of file PFBlockElementTrack.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, alignBH_cfg::fixed, edm::Ref< C, T, F >::isNull(), MillePedeFileConverter_cfg::out, AlCaHLTBitMon_ParallelJobs::p, DiDispStaMuonMonitor_cfi::pt, alignCSCRings::s, and trackRef_.
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 62 of file PFBlockElementTrack.h.
References kLinkedToDisplacedVertexMask, and trackType_.
Referenced by TrackAndGSFLinker::testLink().
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 60 of file PFBlockElementTrack.h.
References kPrimaryMask, and trackType_.
|
inlineoverridevirtual |
check if the track is secondary
Reimplemented from reco::PFBlockElement.
Definition at line 58 of file PFBlockElementTrack.h.
References kSecondaryMask, and trackType_.
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 86 of file PFBlockElementTrack.h.
References muonRef_.
Referenced by PFMuonAlgo::isGlobalLooseMuon(), PFMuonAlgo::isGlobalTightMuon(), PFMuonAlgo::isIsolatedMuon(), PFMuonAlgo::isLooseMuon(), PFMuonAlgo::isTrackerTightMuon(), and reco::mlpf::setCandidateRefs().
|
inline |
Definition at line 42 of file PFBlockElementTrack.h.
References positionAtECALEntrance_.
Referenced by PFEGammaAlgo::fillPFCandidates().
|
inlineoverridevirtual |
the ref to gamma conversion
Reimplemented from reco::PFBlockElement.
Definition at line 98 of file PFBlockElementTrack.h.
References convRefs_, edm::RefVector< C, T, F >::push_back(), and setTrackType().
|
inlineoverridevirtual |
the ref to the displaced vertex interaction
Reimplemented from reco::PFBlockElement.
Definition at line 75 of file PFBlockElementTrack.h.
References displacedVertexDaughterRef_, displacedVertexMotherRef_, setTrackType(), reco::PFBlockElement::T_FROM_DISP, and reco::PFBlockElement::T_TO_DISP.
|
inlineoverridevirtual |
reference to the Muon
Reimplemented from reco::PFBlockElement.
Definition at line 89 of file PFBlockElementTrack.h.
References reco::PFBlockElement::MUON, muonRef_, and setTrackType().
Referenced by GeneralTracksImporter::importToBlock().
|
inline |
set position at ECAL entrance
Definition at line 39 of file PFBlockElementTrack.h.
References positionAtECALEntrance_, and x.
Referenced by PFAlgo::createCandidatesHCAL(), and PFAlgo::recoTracksNotHCAL().
|
inlineoverridevirtual |
the trackType
Reimplemented from reco::PFBlockElement.
Definition at line 31 of file PFBlockElementTrack.h.
References trackType_.
Referenced by PFBlockElementTrack(), setConversionRef(), setDisplacedVertexRef(), setMuonRef(), and setV0Ref().
|
inlineoverridevirtual |
the ref to V0
Reimplemented from reco::PFBlockElement.
Definition at line 107 of file PFBlockElementTrack.h.
References setTrackType(), V0Ref(), and v0Ref_.
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 49 of file PFBlockElementTrack.h.
References trackRef_.
Referenced by GeneralTracksImporter::importToBlock(), PFEGammaAlgo::removeOrLinkECALClustersToKFTracks(), and TrackAndHOLinker::testLink().
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 46 of file PFBlockElementTrack.h.
References trackRefPF_.
Referenced by PFEGammaAlgo::isPrimaryTrack(), TrackAndHOLinker::testLink(), TrackAndGSFLinker::testLink(), TrackAndECALLinker::testLink(), and TrackAndHCALLinker::testLink().
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 28 of file PFBlockElementTrack.h.
References trackType_.
Referenced by reco::PFCandidateEGammaExtra::addExtraNonConvTrack(), GeneralTracksImporter::importToBlock(), PFEGammaAlgo::linkRefinableObjectGSFTracksToKFs(), PFEGammaAlgo::linkRefinableObjectPrimaryKFsToSecondaryKFs(), and TrackAndGSFLinker::testLink().
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 104 of file PFBlockElementTrack.h.
References v0Ref_.
Referenced by GeneralTracksImporter::importToBlock(), and setV0Ref().
|
private |
reference to reco conversion
Definition at line 134 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 128 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 125 of file PFBlockElementTrack.h.
Referenced by displacedVertexRef(), and setDisplacedVertexRef().
|
static |
Definition at line 55 of file PFBlockElementTrack.h.
Referenced by isLinkedToDisplacedVertex().
|
static |
Definition at line 51 of file PFBlockElementTrack.h.
Referenced by isPrimary().
|
static |
Definition at line 53 of file PFBlockElementTrack.h.
Referenced by isSecondary().
|
private |
reference to the corresponding muon
Definition at line 131 of file PFBlockElementTrack.h.
Referenced by muonRef(), and setMuonRef().
|
private |
position at ECAL entrance
Definition at line 122 of file PFBlockElementTrack.h.
Referenced by PFBlockElementTrack(), positionAtECALEntrance(), and setPositionAtECALEntrance().
|
private |
reference to the corresponding track
Definition at line 117 of file PFBlockElementTrack.h.
Referenced by Dump(), and trackRef().
|
private |
reference to the corresponding track (transient)
Definition at line 114 of file PFBlockElementTrack.h.
Referenced by trackRefPF().
|
private |
Definition at line 119 of file PFBlockElementTrack.h.
Referenced by isLinkedToDisplacedVertex(), isPrimary(), isSecondary(), setTrackType(), and trackType().
|
private |
reference to V0
Definition at line 137 of file PFBlockElementTrack.h.
Referenced by setV0Ref(), and V0Ref().