#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 |
reco::GsfTrackRef | GsftrackRef () 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 PFClusterRef | clusterRef () const |
virtual ConversionRef | convRef () const |
virtual PFDisplacedTrackerVertexRef | displacedVertexRef (TrackType trType) const |
const PFMultilinksType & | getMultilinks () const |
unsigned | index () const |
virtual bool | isLinkedToDisplacedVertex () const |
bool | isMultilinksValide () const |
virtual bool | isPrimary () const |
void | lock () |
lock element More... | |
bool | locked () const |
locked ? More... | |
virtual 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) |
virtual void | setV0Ref (const VertexCompositeCandidateRef &v0ref, TrackType trType) |
virtual reco::TrackRef | trackRef () const |
virtual PFRecTrackRef | trackRefPF () const |
Type | type () const |
void | unLock () |
unlock element More... | |
virtual 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_ |
Additional Inherited Members | |
Public Types inherited from reco::PFBlockElement | |
enum | TrackType { DEFAULT =0, T_FROM_DISP, T_TO_DISP, T_FROM_GAMMACONV, MUON, T_FROM_V0 } |
enum | Type { NONE =0, TRACK =1, PS1 =2, PS2 =3, ECAL =4, HCAL =5, GSF =6, BREM =7, HFEM =8, HFHAD =9, SC =10, HO =11 } |
Protected Attributes inherited from reco::PFBlockElement | |
unsigned | index_ |
index in block vector More... | |
bool | locked_ |
PFMultiLinksTC | multilinks_ |
Type | type_ |
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 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 PFBlockElementGsfTrack().
|
virtual |
print the object inside the element
Reimplemented from reco::PFBlockElement.
Definition at line 37 of file PFBlockElementGsfTrack.cc.
References DeDxDiscriminatorTools::charge(), GsftrackRefPF_, edm::Ref< C, T, F >::isNull(), Pin_, and Pout_.
|
inline |
Definition at line 67 of file PFBlockElementGsfTrack.h.
References GsftrackRefPF_.
|
inline |
Definition at line 53 of file PFBlockElementGsfTrack.h.
References GsftrackRef_.
Referenced by PFEGammaAlgo::AddElectronCandidate(), PFEGammaAlgo::AddElectronElements(), PFElectronAlgo::SetActive(), PFElectronAlgo::SetCandidates(), PFElectronAlgo::SetIDOutputs(), PFElectronAlgo::SetLinks(), and PFEGammaAlgo::SetLinks().
|
inline |
Definition at line 48 of file PFBlockElementGsfTrack.h.
References GsftrackRefPF_.
Referenced by PFElectronTranslator::getAmbiguousGsfTracks(), PFElectronAlgo::isPrimaryTrack(), PFEGammaAlgo::isPrimaryTrack(), PFBlockAlgo::link(), and DisplayManager::loadGPFBlocks().
|
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_.
|
inline |
Definition at line 61 of file PFBlockElementGsfTrack.h.
References positionAtECALEntrance_.
Referenced by PFEGammaAlgo::AddElectronCandidate(), PFElectronAlgo::SetCandidates(), PFElectronAlgo::SetIDOutputs(), PFElectronAlgo::SetLinks(), and PFEGammaAlgo::SetLinks().
|
inline |
Definition at line 70 of file PFBlockElementGsfTrack.h.
References Pout_.
Referenced by PFElectronAlgo::SetIDOutputs(), PFElectronAlgo::SetLinks(), and PFEGammaAlgo::SetLinks().
|
inlinevirtual |
the trackType
Reimplemented from reco::PFBlockElement.
Definition at line 38 of file PFBlockElementGsfTrack.h.
References trackType_.
Referenced by PFBlockElementGsfTrack().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 33 of file PFBlockElementGsfTrack.h.
References trackType_.
Referenced by isSecondary(), PFBlockAlgo::link(), PFElectronAlgo::SetLinks(), and PFEGammaAlgo::SetLinks().
|
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().