#include <PFBlockElementGsfTrack.h>
Public Member Functions | |
PFBlockElement * | clone () const override |
necessary to have the edm::OwnVector<PFBlockElement> working More... | |
void | Dump (std::ostream &out=std::cout, const char *tab=" ") const override |
print the object inside the element More... | |
const GsfPFRecTrack & | GsftrackPF () const |
const reco::GsfTrackRef & | GsftrackRef () const |
const GsfPFRecTrackRef & | GsftrackRefPF () const |
bool | isSecondary () const override |
PFBlockElementGsfTrack () | |
PFBlockElementGsfTrack (const GsfPFRecTrackRef &gsfref, const math::XYZTLorentzVector &Pin, const math::XYZTLorentzVector &Pout) | |
const math::XYZTLorentzVector & | Pin () const |
const math::XYZPointF & | positionAtECALEntrance () const |
const math::XYZTLorentzVector & | Pout () const |
void | setTrackType (TrackType trType, bool value) override |
the trackType More... | |
bool | trackType (TrackType trType) const override |
Public Member Functions inherited from reco::PFBlockElement | |
virtual const PFClusterRef & | clusterRef () const |
virtual const ConversionRefVector & | convRefs () const |
virtual const PFDisplacedTrackerVertexRef & | displacedVertexRef (TrackType trType) const |
const PFMultilinksType & | getMultilinks (Type type) const |
unsigned | index () const |
virtual bool | isLinkedToDisplacedVertex () const |
bool | isMultilinksValide (Type type) const |
virtual bool | isPrimary () const |
bool | isTimeValid () const |
do we have a valid time information More... | |
void | lock () |
lock element More... | |
bool | locked () const |
locked ? More... | |
virtual const MuonRef & | muonRef () const |
PFBlockElement (Type type=NONE) | |
standard constructor More... | |
virtual void | setConversionRef (const ConversionRef &convRef, TrackType trType) |
virtual void | setDisplacedVertexRef (const PFDisplacedTrackerVertexRef &niref, TrackType trType) |
void | setIndex (unsigned index) |
set index More... | |
void | setIsValidMultilinks (bool isVal, Type type) |
void | setMultilinks (const PFMultiLinksTC &ml, Type type) |
virtual void | setMuonRef (const MuonRef &muref) |
void | setTime (float time, float timeError=0.f) |
the timing information More... | |
virtual void | setV0Ref (const VertexCompositeCandidateRef &v0ref, TrackType trType) |
float | time () const |
float | timeError () const |
virtual const reco::TrackRef & | trackRef () const |
virtual const PFRecTrackRef & | trackRefPF () const |
Type | type () const |
void | unLock () |
unlock element More... | |
virtual const VertexCompositeCandidateRef & | V0Ref () const |
virtual | ~PFBlockElement () |
destructor More... | |
Static Public Attributes | |
static constexpr unsigned int | kSecondaryMask = 1 << T_FROM_GAMMACONV |
Private Attributes | |
reco::GsfTrackRef | GsftrackRef_ |
reference to the corresponding GSF track More... | |
GsfPFRecTrackRef | GsftrackRefPF_ |
reference to the corresponding GSF track (transient) More... | |
math::XYZTLorentzVector | Pin_ |
The CorrespondingKFTrackRef is needeed. More... | |
math::XYZPointF | positionAtECALEntrance_ |
position at ECAL entrance More... | |
math::XYZTLorentzVector | Pout_ |
unsigned int | trackType_ |
Track Element.
this class contains a reference to a PFRecTrack
Definition at line 18 of file PFBlockElementGsfTrack.h.
|
inline |
PFBlockElementGsfTrack::PFBlockElementGsfTrack | ( | const GsfPFRecTrackRef & | gsfref, |
const math::XYZTLorentzVector & | Pin, | ||
const math::XYZTLorentzVector & | Pout | ||
) |
Definition at line 12 of file PFBlockElementGsfTrack.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 26 of file PFBlockElementGsfTrack.h.
References PFBlockElementGsfTrack().
|
overridevirtual |
print the object inside the element
Reimplemented from reco::PFBlockElement.
Definition at line 30 of file PFBlockElementGsfTrack.cc.
References RecoTauCleanerPlugins::charge, GsftrackRefPF_, edm::Ref< C, T, F >::isNull(), Pin_, and Pout_.
Referenced by PFEGammaAlgo::initializeProtoCands(), and reco::operator<<().
|
inline |
Definition at line 54 of file PFBlockElementGsfTrack.h.
References GsftrackRefPF_.
Referenced by GSFAndECALLinker::testLink(), GSFAndHGCalLinker::testLink(), and GSFAndHCALLinker::testLink().
|
inline |
Definition at line 49 of file PFBlockElementGsfTrack.h.
References GsftrackRef_.
Referenced by PFEGammaAlgo::calculateEleMVA(), PFEGammaAlgo::fillPFCandidates(), PFEGammaAlgo::initializeProtoCands(), and reco::mlpf::setCandidateRefs().
|
inline |
Definition at line 46 of file PFBlockElementGsfTrack.h.
References GsftrackRefPF_.
Referenced by PFElectronTranslator::getAmbiguousGsfTracks(), PFEGammaAlgo::isPrimaryTrack(), GSFAndGSFLinker::testLink(), GSFAndBREMLinker::testLink(), and TrackAndGSFLinker::testLink().
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 43 of file PFBlockElementGsfTrack.h.
References kSecondaryMask, and trackType_.
|
inline |
Definition at line 56 of file PFBlockElementGsfTrack.h.
References Pin_.
|
inline |
Definition at line 52 of file PFBlockElementGsfTrack.h.
References positionAtECALEntrance_.
Referenced by PFEGammaAlgo::calculateEleMVA(), and PFEGammaAlgo::fillPFCandidates().
|
inline |
Definition at line 57 of file PFBlockElementGsfTrack.h.
References Pout_.
Referenced by PFEGammaAlgo::calculateEleMVA().
|
inlineoverridevirtual |
the trackType
Reimplemented from reco::PFBlockElement.
Definition at line 34 of file PFBlockElementGsfTrack.h.
References trackType_.
Referenced by GSFTrackImporter::importToBlock(), and PFBlockElementGsfTrack().
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 31 of file PFBlockElementGsfTrack.h.
References trackType_.
Referenced by PFEGammaAlgo::initializeProtoCands(), PFEGammaAlgo::linkRefinableObjectGSFTracksToKFs(), PFEGammaAlgo::removeOrLinkECALClustersToKFTracks(), and GSFAndGSFLinker::testLink().
|
private |
reference to the corresponding GSF track
Definition at line 64 of file PFBlockElementGsfTrack.h.
Referenced by GsftrackRef().
|
private |
reference to the corresponding GSF track (transient)
Definition at line 61 of file PFBlockElementGsfTrack.h.
Referenced by Dump(), GsftrackPF(), and GsftrackRefPF().
|
static |
Definition at line 41 of file PFBlockElementGsfTrack.h.
Referenced by isSecondary().
|
private |
The CorrespondingKFTrackRef is needeed.
Definition at line 67 of file PFBlockElementGsfTrack.h.
|
private |
position at ECAL entrance
Definition at line 72 of file PFBlockElementGsfTrack.h.
Referenced by PFBlockElementGsfTrack(), and positionAtECALEntrance().
|
private |
Definition at line 68 of file PFBlockElementGsfTrack.h.
|
private |
Definition at line 69 of file PFBlockElementGsfTrack.h.
Referenced by isSecondary(), setTrackType(), and trackType().