#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 () const |
unsigned | index () const |
bool | isMultilinksValide () 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) |
void | setMultilinks (const PFMultiLinksTC &ml) |
void | setMultilinksList (const PFMultilinksType &links) |
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... | |
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 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().
|
inlineoverridevirtual |
necessary to have the edm::OwnVector<PFBlockElement> working
Implements reco::PFBlockElement.
Definition at line 24 of file PFBlockElementTrack.h.
References gather_cfg::cout, Dump(), MillePedeFileConverter_cfg::out, and PFBlockElementTrack().
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 103 of file PFBlockElementTrack.h.
References convRefs_.
Referenced by PFEGammaAlgo::fillPFCandidates(), GeneralTracksImporter::importToBlock(), and GeneralTracksImporterWithVeto::importToBlock().
|
inlineoverridevirtual |
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(), GeneralTracksImporterWithVeto::importToBlock(), and PFAlgo::reconstructTrack().
|
overridevirtual |
print the object inside the element
Reimplemented from reco::PFBlockElement.
Definition at line 37 of file PFBlockElementTrack.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, alignBH_cfg::fixed, edm::Ref< C, T, F >::isNull(), AlCaHLTBitMon_ParallelJobs::p, EnergyCorrector::pt, alignCSCRings::s, and trackRef_.
Referenced by clone(), and reco::operator<<().
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 71 of file PFBlockElementTrack.h.
References isPrimary(), and isSecondary().
Referenced by TrackAndGSFLinker::testLink().
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 67 of file PFBlockElementTrack.h.
References reco::PFBlockElement::T_TO_DISP, and trackType().
Referenced by isLinkedToDisplacedVertex().
|
inlineoverridevirtual |
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().
|
inlineoverridevirtual |
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().
|
inlineoverridevirtual |
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().
|
inlineoverridevirtual |
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.
|
inlineoverridevirtual |
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(), and GeneralTracksImporterWithVeto::importToBlock().
|
inline |
set position at ECAL entrance
Definition at line 42 of file PFBlockElementTrack.h.
References positionAtECALEntrance_.
Referenced by PFAlgo::processBlock().
|
inlineoverridevirtual |
the trackType
Reimplemented from reco::PFBlockElement.
Definition at line 35 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 114 of file PFBlockElementTrack.h.
References setTrackType(), V0Ref(), and v0Ref_.
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 57 of file PFBlockElementTrack.h.
References trackRef_.
Referenced by DQMPFCandidateAnalyzer::analyze(), PFEGammaAlgo::fillPFCandidates(), GeneralTracksImporter::importToBlock(), GeneralTracksImporterWithVeto::importToBlock(), PFAlgo::reconstructTrack(), PFEGammaAlgo::removeOrLinkECALClustersToKFTracks(), PFElectronAlgo::SetCandidates(), PFElectronAlgo::SetIDOutputs(), PFElectronAlgo::SetLinks(), and TrackAndHOLinker::testLink().
|
inlineoverridevirtual |
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().
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 30 of file PFBlockElementTrack.h.
References trackType_.
Referenced by reco::PFCandidateEGammaExtra::addExtraNonConvTrack(), GeneralTracksImporter::importToBlock(), GeneralTracksImporterWithVeto::importToBlock(), isPrimary(), isSecondary(), PFEGammaAlgo::linkRefinableObjectGSFTracksToKFs(), PFEGammaAlgo::linkRefinableObjectPrimaryKFsToSecondaryKFs(), reco::operator<<(), PFAlgo::processBlock(), PFPhotonAlgo::RunPFPhoton(), and TrackAndGSFLinker::testLink().
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 111 of file PFBlockElementTrack.h.
References v0Ref_.
Referenced by GeneralTracksImporter::importToBlock(), GeneralTracksImporterWithVeto::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().