#include <PFBlockElementTrack.h>
Public Member Functions | |
PFBlockElement * | clone () const |
necessary to have the edm::OwnVector<PFBlockElement> working More... | |
ConversionRef | convRef () const |
PFDisplacedTrackerVertexRef | displacedVertexRef (TrackType trType) const |
void | Dump (std::ostream &out=std::cout, const char *tab=" ") const |
print the object inside the element More... | |
bool | isLinkedToDisplacedVertex () const |
bool | isPrimary () const |
bool | isSecondary () const |
check if the track is secondary More... | |
reco::MuonRef | muonRef () const |
PFBlockElementTrack () | |
PFBlockElementTrack (const PFRecTrackRef &ref) | |
const math::XYZPointF & | positionAtECALEntrance () const |
void | setConversionRef (const ConversionRef &convRef, TrackType trType) |
the ref to gamma conversion More... | |
void | setDisplacedVertexRef (const PFDisplacedTrackerVertexRef &niref, TrackType trType) |
the ref to the displaced vertex interaction More... | |
void | setMuonRef (const MuonRef &muref) |
reference to the Muon More... | |
void | setPositionAtECALEntrance (float x, float y, float z) |
set position at ECAL entrance More... | |
virtual void | setTrackType (TrackType trType, bool value) |
the trackType More... | |
void | setV0Ref (const VertexCompositeCandidateRef &V0Ref, TrackType trType) |
the ref to V0 More... | |
reco::TrackRef | trackRef () const |
PFRecTrackRef | trackRefPF () const |
virtual bool | trackType (TrackType trType) const |
VertexCompositeCandidateRef | V0Ref () const |
Public Member Functions inherited from reco::PFBlockElement | |
virtual PFClusterRef | clusterRef () const |
const PFMultilinksType & | getMultilinks () const |
unsigned | index () const |
bool | isMultilinksValide () const |
void | lock () |
lock element More... | |
bool | locked () const |
locked ? More... | |
PFBlockElement (Type type=NONE) | |
standard constructor More... | |
void | setIndex (unsigned index) |
set index More... | |
void | setIsValidMultilinks (bool isVal) |
void | setMultilinks (const PFMultiLinksTC &ml) |
void | setMultilinksList (const PFMultilinksType &links) |
Type | type () const |
void | unLock () |
unlock element More... | |
virtual | ~PFBlockElement () |
destructor More... | |
Private Attributes | |
ConversionRef | convRef_ |
reference to reco conversion More... | |
PFDisplacedTrackerVertexRef | displacedVertexDaughterRef_ |
reference to the corresponding pf displaced vertex which this track was created More... | |
PFDisplacedTrackerVertexRef | displacedVertexMotherRef_ |
reference to the corresponding pf displaced vertex where this track was created More... | |
reco::MuonRef | muonRef_ |
reference to the corresponding muon More... | |
math::XYZPointF | positionAtECALEntrance_ |
position at ECAL entrance More... | |
reco::TrackRef | trackRef_ |
reference to the corresponding track More... | |
PFRecTrackRef | trackRefPF_ |
reference to the corresponding track (transient) More... | |
unsigned int | trackType_ |
VertexCompositeCandidateRef | v0Ref_ |
reference to V0 More... | |
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 17 of file PFBlockElementTrack.h.
|
inline |
PFBlockElementTrack::PFBlockElementTrack | ( | const PFRecTrackRef & | ref | ) |
Definition at line 13 of file PFBlockElementTrack.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 24 of file PFBlockElementTrack.h.
References PFBlockElementTrack().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 102 of file PFBlockElementTrack.h.
References convRef_.
Referenced by setConversionRef().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 76 of file PFBlockElementTrack.h.
References displacedVertexDaughterRef_, displacedVertexMotherRef_, reco::PFBlockElement::T_FROM_DISP, and reco::PFBlockElement::T_TO_DISP.
Referenced by PFAlgo::reconstructTrack().
|
virtual |
print the object inside the element
Reimplemented from reco::PFBlockElement.
Definition at line 37 of file PFBlockElementTrack.cc.
References DeDxDiscriminatorTools::charge(), edm::Ref< C, T, F >::isNull(), AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::s, and trackRef_.
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 71 of file PFBlockElementTrack.h.
References isPrimary(), and isSecondary().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 67 of file PFBlockElementTrack.h.
References reco::PFBlockElement::T_TO_DISP, and trackType().
Referenced by isLinkedToDisplacedVertex().
|
inlinevirtual |
check if the track is secondary
Reimplemented from reco::PFBlockElement.
Definition at line 60 of file PFBlockElementTrack.h.
References reco::PFBlockElement::T_FROM_DISP, reco::PFBlockElement::T_FROM_GAMMACONV, reco::PFBlockElement::T_FROM_V0, and trackType().
Referenced by isLinkedToDisplacedVertex().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 94 of file PFBlockElementTrack.h.
References muonRef_.
Referenced by PFMuonAlgo::isGlobalLooseMuon(), PFMuonAlgo::isGlobalTightMuon(), PFMuonAlgo::isIsolatedMuon(), PFMuonAlgo::isLooseMuon(), PFMuonAlgo::isMuon(), PFMuonAlgo::isTrackerTightMuon(), and PFAlgo::reconstructTrack().
|
inline |
Definition at line 48 of file PFBlockElementTrack.h.
References positionAtECALEntrance_.
Referenced by PFAlgo::reconstructTrack().
|
inlinevirtual |
the ref to gamma conversion
Reimplemented from reco::PFBlockElement.
Definition at line 105 of file PFBlockElementTrack.h.
References convRef(), convRef_, and setTrackType().
|
inlinevirtual |
the ref to the displaced vertex interaction
Reimplemented from reco::PFBlockElement.
Definition at line 85 of file PFBlockElementTrack.h.
References displacedVertexDaughterRef_, displacedVertexMotherRef_, setTrackType(), reco::PFBlockElement::T_FROM_DISP, and reco::PFBlockElement::T_TO_DISP.
|
inlinevirtual |
reference to the Muon
Reimplemented from reco::PFBlockElement.
Definition at line 97 of file PFBlockElementTrack.h.
References reco::PFBlockElement::MUON, muonRef_, and setTrackType().
|
inline |
set position at ECAL entrance
Definition at line 42 of file PFBlockElementTrack.h.
References positionAtECALEntrance_.
Referenced by PFAlgo::processBlock().
|
inlinevirtual |
the trackType
Reimplemented from reco::PFBlockElement.
Definition at line 35 of file PFBlockElementTrack.h.
References trackType_.
Referenced by PFBlockElementTrack(), setConversionRef(), setDisplacedVertexRef(), setMuonRef(), and setV0Ref().
|
inlinevirtual |
the ref to V0
Reimplemented from reco::PFBlockElement.
Definition at line 113 of file PFBlockElementTrack.h.
References setTrackType(), V0Ref(), and v0Ref_.
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 57 of file PFBlockElementTrack.h.
References trackRef_.
Referenced by PFEGammaAlgo::AddElectronCandidate(), PFAlgo::reconstructTrack(), PFElectronAlgo::SetCandidates(), PFElectronAlgo::SetIDOutputs(), PFElectronAlgo::SetLinks(), and PFEGammaAlgo::SetLinks().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 54 of file PFBlockElementTrack.h.
References trackRefPF_.
Referenced by PFElectronAlgo::isPrimaryTrack(), and PFEGammaAlgo::isPrimaryTrack().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 30 of file PFBlockElementTrack.h.
References trackType_.
Referenced by isPrimary(), isSecondary(), PFAlgo::processBlock(), PFEGammaAlgo::RunPFEG(), and PFPhotonAlgo::RunPFPhoton().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 110 of file PFBlockElementTrack.h.
References v0Ref_.
Referenced by setV0Ref().
|
private |
reference to reco conversion
Definition at line 142 of file PFBlockElementTrack.h.
Referenced by convRef(), and setConversionRef().
|
private |
reference to the corresponding pf displaced vertex which this track was created
Definition at line 136 of file PFBlockElementTrack.h.
Referenced by displacedVertexRef(), and setDisplacedVertexRef().
|
private |
reference to the corresponding pf displaced vertex where this track was created
Definition at line 133 of file PFBlockElementTrack.h.
Referenced by displacedVertexRef(), and setDisplacedVertexRef().
|
private |
reference to the corresponding muon
Definition at line 139 of file PFBlockElementTrack.h.
Referenced by muonRef(), and setMuonRef().
|
private |
position at ECAL entrance
Definition at line 130 of file PFBlockElementTrack.h.
Referenced by PFBlockElementTrack(), positionAtECALEntrance(), and setPositionAtECALEntrance().
|
private |
reference to the corresponding track
Definition at line 125 of file PFBlockElementTrack.h.
Referenced by Dump(), and trackRef().
|
private |
reference to the corresponding track (transient)
Definition at line 122 of file PFBlockElementTrack.h.
Referenced by trackRefPF().
|
private |
Definition at line 127 of file PFBlockElementTrack.h.
Referenced by setTrackType(), and trackType().
|
private |
reference to V0
Definition at line 145 of file PFBlockElementTrack.h.
Referenced by setV0Ref(), and V0Ref().