#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 |
\set 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) |
\set 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... | |
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 ALCARECOTkAlJpsiMuMu_cff::charge, alignBH_cfg::fixed, GsftrackRefPF_, edm::Ref< C, T, F >::isNull(), MillePedeFileConverter_cfg::out, Pin_, and Pout_.
Referenced by PFEGammaAlgo::initializeProtoCands(), and reco::operator<<().
|
inline |
Definition at line 52 of file PFBlockElementGsfTrack.h.
References GsftrackRefPF_.
Referenced by GSFAndECALLinker::testLink(), GSFAndHGCalLinker::testLink(), and GSFAndHCALLinker::testLink().
|
inline |
Definition at line 47 of file PFBlockElementGsfTrack.h.
References GsftrackRef_.
Referenced by PFEGammaAlgo::calculateEleMVA(), and PFEGammaAlgo::initializeProtoCands().
|
inline |
Definition at line 44 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 41 of file PFBlockElementGsfTrack.h.
References reco::PFBlockElement::T_FROM_GAMMACONV, and trackType().
|
inline |
|
inline |
Definition at line 50 of file PFBlockElementGsfTrack.h.
References positionAtECALEntrance_.
Referenced by PFEGammaAlgo::calculateEleMVA().
|
inline |
Definition at line 55 of file PFBlockElementGsfTrack.h.
References Pout_.
Referenced by PFEGammaAlgo::calculateEleMVA().
|
inlineoverridevirtual |
\set the trackType
Reimplemented from reco::PFBlockElement.
Definition at line 34 of file PFBlockElementGsfTrack.h.
References trackType_.
Referenced by PFBlockElementGsfTrack().
|
inlineoverridevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 31 of file PFBlockElementGsfTrack.h.
References trackType_.
Referenced by PFEGammaAlgo::initializeProtoCands(), isSecondary(), PFEGammaAlgo::linkRefinableObjectGSFTracksToKFs(), PFEGammaAlgo::removeOrLinkECALClustersToKFTracks(), and GSFAndGSFLinker::testLink().
|
private |
reference to the corresponding GSF track
Definition at line 62 of file PFBlockElementGsfTrack.h.
Referenced by GsftrackRef().
|
private |
reference to the corresponding GSF track (transient)
Definition at line 59 of file PFBlockElementGsfTrack.h.
Referenced by Dump(), GsftrackPF(), and GsftrackRefPF().
|
private |
The CorrespondingKFTrackRef is needeed.
Definition at line 65 of file PFBlockElementGsfTrack.h.
|
private |
position at ECAL entrance
Definition at line 70 of file PFBlockElementGsfTrack.h.
Referenced by PFBlockElementGsfTrack(), and positionAtECALEntrance().
|
private |
Definition at line 66 of file PFBlockElementGsfTrack.h.
|
private |
Definition at line 67 of file PFBlockElementGsfTrack.h.
Referenced by setTrackType(), and trackType().