#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 |
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) |
virtual void | setV0Ref (const VertexCompositeCandidateRef &v0ref, TrackType trType) |
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_ |
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, kNBETypes =12 } |
Protected Attributes inherited from reco::PFBlockElement | |
unsigned | index_ |
index in block vector More... | |
bool | locked_ |
PFMultiLinksTC | multilinks_ |
Type | type_ |
Static Protected Attributes inherited from reco::PFBlockElement | |
static const ConversionRefVector | nullConv_ = reco::ConversionRefVector() |
static const MuonRef | nullMuon_ = reco::MuonRef() |
static const PFClusterRef | nullPFCluster_ = reco::PFClusterRef() |
static const PFDisplacedTrackerVertexRef | nullPFDispVertex_ |
static const PFRecTrackRef | nullPFRecTrack_ = reco::PFRecTrackRef() |
static const reco::TrackRef | nullTrack_ = reco::TrackRef() |
static const VertexCompositeCandidateRef | nullVertex_ = reco::VertexCompositeCandidateRef() |
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 GsftrackRefPF_, edm::Ref< C, T, F >::isNull(), Pin_, and Pout_.
Referenced by PFEGammaAlgo::initializeProtoCands().
|
inline |
Definition at line 67 of file PFBlockElementGsfTrack.h.
References GsftrackRefPF_.
Referenced by GSFAndECALLinker::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_.
|
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(), 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().