#include <PFBlockElementGsfTrack.h>
Public Member Functions | |
PFBlockElement * | clone () const |
necessary to have the edm::OwnVector<PFBlockElement> working More... | |
void | Dump (std::ostream &out=std::cout, const char *tab=" ") const |
print the object inside the element More... | |
const GsfPFRecTrack & | GsftrackPF () const |
const reco::GsfTrackRef & | GsftrackRef () const |
const GsfPFRecTrackRef & | GsftrackRefPF () const |
bool | isSecondary () const |
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 |
virtual void | setTrackType (TrackType trType, bool value) |
the trackType More... | |
virtual bool | trackType (TrackType trType) const |
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 () const |
unsigned | index () const |
virtual bool | isLinkedToDisplacedVertex () const |
bool | isMultilinksValide () 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) |
void | setMultilinks (const PFMultiLinksTC &ml) |
void | setMultilinksList (const PFMultilinksType &links) |
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... | |
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 |
Definition at line 21 of file PFBlockElementGsfTrack.h.
Referenced by clone().
PFBlockElementGsfTrack::PFBlockElementGsfTrack | ( | const GsfPFRecTrackRef & | gsfref, |
const math::XYZTLorentzVector & | Pin, | ||
const math::XYZTLorentzVector & | Pout | ||
) |
Definition at line 13 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().
|
inlinevirtual |
necessary to have the edm::OwnVector<PFBlockElement> working
Implements reco::PFBlockElement.
Definition at line 27 of file PFBlockElementGsfTrack.h.
References gather_cfg::cout, Dump(), MillePedeFileConverter_cfg::out, and PFBlockElementGsfTrack().
|
virtual |
print the object inside the element
Reimplemented from reco::PFBlockElement.
Definition at line 37 of file PFBlockElementGsfTrack.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, alignBH_cfg::fixed, GsftrackRefPF_, edm::Ref< C, T, F >::isNull(), Pin_, and Pout_.
Referenced by clone(), PFEGammaAlgo::initializeProtoCands(), and reco::operator<<().
|
inline |
Definition at line 67 of file PFBlockElementGsfTrack.h.
References GsftrackRefPF_.
Referenced by GSFAndECALLinker::testLink(), GSFAndHGCalLinker::testLink(), and GSFAndHCALLinker::testLink().
|
inline |
Definition at line 53 of file PFBlockElementGsfTrack.h.
References GsftrackRef_.
Referenced by PFEGammaAlgo::calculate_ele_mva(), PFEGammaAlgo::fillPFCandidates(), PFEGammaAlgo::initializeProtoCands(), PFElectronAlgo::SetActive(), PFElectronAlgo::SetCandidates(), PFElectronAlgo::SetIDOutputs(), and PFElectronAlgo::SetLinks().
|
inline |
Definition at line 48 of file PFBlockElementGsfTrack.h.
References GsftrackRefPF_.
Referenced by PFElectronTranslator::getAmbiguousGsfTracks(), PFElectronAlgo::isPrimaryTrack(), PFEGammaAlgo::isPrimaryTrack(), GSFAndGSFLinker::testLink(), GSFAndBREMLinker::testLink(), and TrackAndGSFLinker::testLink().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 43 of file PFBlockElementGsfTrack.h.
References reco::PFBlockElement::T_FROM_GAMMACONV, and trackType().
|
inline |
Definition at line 69 of file PFBlockElementGsfTrack.h.
References Pin_.
Referenced by PFBlockElementGsfTrack().
|
inline |
Definition at line 61 of file PFBlockElementGsfTrack.h.
References positionAtECALEntrance_.
Referenced by PFEGammaAlgo::calculate_ele_mva(), PFEGammaAlgo::fillPFCandidates(), PFElectronAlgo::SetCandidates(), PFElectronAlgo::SetIDOutputs(), and PFElectronAlgo::SetLinks().
|
inline |
Definition at line 70 of file PFBlockElementGsfTrack.h.
References Pout_.
Referenced by PFEGammaAlgo::calculate_ele_mva(), PFBlockElementGsfTrack(), PFElectronAlgo::SetIDOutputs(), and PFElectronAlgo::SetLinks().
|
inlinevirtual |
the trackType
Reimplemented from reco::PFBlockElement.
Definition at line 38 of file PFBlockElementGsfTrack.h.
References trackType_.
Referenced by GSFTrackImporter::importToBlock(), and PFBlockElementGsfTrack().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 33 of file PFBlockElementGsfTrack.h.
References trackType_.
Referenced by PFEGammaAlgo::initializeProtoCands(), isSecondary(), PFEGammaAlgo::linkRefinableObjectGSFTracksToKFs(), PFEGammaAlgo::removeOrLinkECALClustersToKFTracks(), PFElectronAlgo::SetLinks(), and GSFAndGSFLinker::testLink().
|
private |
reference to the corresponding GSF track
Definition at line 79 of file PFBlockElementGsfTrack.h.
Referenced by GsftrackRef().
|
private |
reference to the corresponding GSF track (transient)
Definition at line 76 of file PFBlockElementGsfTrack.h.
Referenced by Dump(), GsftrackPF(), and GsftrackRefPF().
|
private |
The CorrespondingKFTrackRef is needeed.
Definition at line 83 of file PFBlockElementGsfTrack.h.
|
private |
position at ECAL entrance
Definition at line 89 of file PFBlockElementGsfTrack.h.
Referenced by PFBlockElementGsfTrack(), and positionAtECALEntrance().
|
private |
Definition at line 84 of file PFBlockElementGsfTrack.h.
|
private |
Definition at line 85 of file PFBlockElementGsfTrack.h.
Referenced by setTrackType(), and trackType().