Abstract base class for a PFBlock element (track, cluster...) More...
#include <PFBlockElement.h>
Public Types | |
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 } |
Public Member Functions | |
virtual PFBlockElement * | clone () const =0 |
necessary to have the edm::OwnVector<PFBlockElement> working More... | |
virtual PFClusterRef | clusterRef () const |
virtual ConversionRef | convRef () const |
virtual PFDisplacedTrackerVertexRef | displacedVertexRef (TrackType trType) const |
virtual void | Dump (std::ostream &out=std::cout, const char *tab=" ") const |
print the object inside the element More... | |
const PFMultilinksType & | getMultilinks () const |
unsigned | index () const |
virtual bool | isLinkedToDisplacedVertex () const |
bool | isMultilinksValide () const |
virtual bool | isPrimary () const |
virtual bool | isSecondary () 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 | setTrackType (TrackType trType, bool value) |
the trackType More... | |
virtual void | setV0Ref (const VertexCompositeCandidateRef &v0ref, TrackType trType) |
virtual reco::TrackRef | trackRef () const |
virtual PFRecTrackRef | trackRefPF () const |
virtual bool | trackType (TrackType trType) const |
Type | type () const |
void | unLock () |
unlock element More... | |
virtual VertexCompositeCandidateRef | V0Ref () const |
virtual | ~PFBlockElement () |
destructor More... | |
Protected Attributes | |
unsigned | index_ |
index in block vector More... | |
bool | locked_ |
PFMultiLinksTC | multilinks_ |
Type | type_ |
Friends | |
std::ostream & | operator<< (std::ostream &out, const PFBlockElement &element) |
Abstract base class for a PFBlock element (track, cluster...)
this class contains a PFRecTrackRef of a PFClusterRef, depending on the type of the element
Definition at line 28 of file PFBlockElement.h.
Enumerator | |
---|---|
DEFAULT | |
T_FROM_DISP | |
T_TO_DISP | |
T_FROM_GAMMACONV | |
MUON | |
T_FROM_V0 |
Definition at line 48 of file PFBlockElement.h.
possible types for the element do not modify this enum if you don't know what you're doing!!!
Enumerator | |
---|---|
NONE | |
TRACK | |
PS1 | |
PS2 | |
ECAL | |
HCAL | |
GSF | |
BREM | |
HFEM | |
HFHAD | |
SC | |
HO |
Definition at line 33 of file PFBlockElement.h.
|
inlinevirtual |
|
pure virtual |
necessary to have the edm::OwnVector<PFBlockElement> working
Implemented in reco::PFBlockElementSuperCluster, reco::PFBlockElementCluster, reco::PFBlockElementGsfTrack, reco::PFBlockElementBrem, and reco::PFBlockElementTrack.
Referenced by reco::PFBlock::addElement().
|
inlinevirtual |
Reimplemented in reco::PFBlockElementCluster.
Definition at line 102 of file PFBlockElement.h.
Referenced by PFElectronTranslator::createBasicCluster(), PFPhotonTranslator::createBasicCluster(), PFElectronTranslator::createPreshowerCluster(), PFPhotonTranslator::createPreshowerCluster(), KDTreeLinkerPSEcal::insertFieldClusterElt(), KDTreeLinkerTrackEcal::insertFieldClusterElt(), KDTreeLinkerTrackHcal::insertFieldClusterElt(), KDTreeLinkerPSEcal::insertTargetElt(), PFBlockAlgo::link(), PFEGammaProducer::produce(), and FWPFBlockProxyBuilder::setupClusterElement().
|
inlinevirtual |
Reimplemented in reco::PFBlockElementTrack.
Definition at line 104 of file PFBlockElement.h.
Referenced by PFBlockAlgo::testLinkByVertex().
|
inlinevirtual |
Reimplemented in reco::PFBlockElementTrack.
Definition at line 103 of file PFBlockElement.h.
Referenced by PFBlockAlgo::testLinkByVertex().
|
virtual |
print the object inside the element
Reimplemented in reco::PFBlockElementSuperCluster, reco::PFBlockElementCluster, reco::PFBlockElementGsfTrack, reco::PFBlockElementBrem, and reco::PFBlockElementTrack.
Definition at line 17 of file PFBlockElement.cc.
|
inline |
Definition at line 132 of file PFBlockElement.h.
References reco::PFMultiLinksTC::linkedClusters, and multilinks_.
Referenced by PFBlockAlgo::link(), and PFBlockAlgo::linkPrefilter().
|
inline |
Definition at line 98 of file PFBlockElement.h.
References index_.
Referenced by PFElectronTranslator::correspondingDaughterCandidate(), PFPhotonTranslator::correspondingDaughterCandidate(), and setIndex().
|
inlinevirtual |
Reimplemented in reco::PFBlockElementTrack.
Definition at line 121 of file PFBlockElement.h.
Referenced by PFBlockAlgo::link().
|
inline |
Definition at line 131 of file PFBlockElement.h.
References reco::PFMultiLinksTC::isValid, and multilinks_.
Referenced by PFBlockAlgo::link(), and PFBlockAlgo::linkPrefilter().
|
inlinevirtual |
Reimplemented in reco::PFBlockElementTrack.
Definition at line 120 of file PFBlockElement.h.
|
inlinevirtual |
Reimplemented in reco::PFBlockElementTrack, and reco::PFBlockElementGsfTrack.
Definition at line 119 of file PFBlockElement.h.
|
inline |
lock element
Definition at line 76 of file PFBlockElement.h.
References locked_.
Referenced by reco::PFBlock::addElement().
|
inline |
|
inlinevirtual |
Reimplemented in reco::PFBlockElementTrack.
Definition at line 105 of file PFBlockElement.h.
|
inlinevirtual |
Reimplemented in reco::PFBlockElementTrack.
Definition at line 109 of file PFBlockElement.h.
References gather_cfg::cout.
Referenced by PFBlockAlgo::setInput().
|
inlinevirtual |
Reimplemented in reco::PFBlockElementTrack.
Definition at line 107 of file PFBlockElement.h.
References gather_cfg::cout.
Referenced by PFBlockAlgo::setInput().
|
inline |
set index
Definition at line 95 of file PFBlockElement.h.
References index(), and index_.
Referenced by reco::PFBlock::addElement().
|
inline |
Definition at line 128 of file PFBlockElement.h.
References reco::PFMultiLinksTC::isValid, and multilinks_.
|
inline |
|
inline |
Definition at line 129 of file PFBlockElement.h.
References reco::PFMultiLinksTC::linkedClusters, electronStore::links, and multilinks_.
|
inlinevirtual |
Reimplemented in reco::PFBlockElementTrack.
Definition at line 111 of file PFBlockElement.h.
References gather_cfg::cout.
Referenced by PFBlockAlgo::setInput().
|
inlinevirtual |
the trackType
Reimplemented in reco::PFBlockElementGsfTrack, and reco::PFBlockElementTrack.
Definition at line 88 of file PFBlockElement.h.
References gather_cfg::cout.
Referenced by PFBlockAlgo::setInput().
|
inlinevirtual |
Reimplemented in reco::PFBlockElementTrack.
Definition at line 113 of file PFBlockElement.h.
References gather_cfg::cout.
Referenced by PFBlockAlgo::setInput().
|
inlinevirtual |
Reimplemented in reco::PFBlockElementTrack.
Definition at line 100 of file PFBlockElement.h.
Referenced by PFPhotonAlgo::EvaluateGCorrMVA(), PFEGammaAlgo::EvaluateGCorrMVA(), PFPhotonAlgo::EvaluateResMVA(), PFEGammaAlgo::EvaluateResMVA(), PFBlockAlgo::link(), and FWPFBlockProxyBuilder::setupTrackElement().
|
inlinevirtual |
Reimplemented in reco::PFBlockElementTrack.
Definition at line 101 of file PFBlockElement.h.
Referenced by PFBlockAlgo::link().
|
inlinevirtual |
Reimplemented in reco::PFBlockElementGsfTrack, and reco::PFBlockElementTrack.
Definition at line 85 of file PFBlockElement.h.
Referenced by PFAlgo::isFromSecInt(), PFBlockAlgo::link(), FWPFBlockProxyBuilder::setupTrackElement(), and PFBlockAlgo::testLinkByVertex().
|
inline |
Definition at line 82 of file PFBlockElement.h.
References type_.
Referenced by cuy.ValElement::__init__(), PFPhotonAlgo::EvaluateGCorrMVA(), PFEGammaAlgo::EvaluateGCorrMVA(), PFPhotonAlgo::EvaluateResMVA(), PFEGammaAlgo::EvaluateResMVA(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), PFBlockAlgo::link(), PFBlockElementSCEqual::operator()(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), PFElectronTranslator::produce(), PFEGammaProducer::produce(), PFPhotonTranslator::produce(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties().
|
inline |
|
inlinevirtual |
Reimplemented in reco::PFBlockElementTrack.
Definition at line 106 of file PFBlockElement.h.
Referenced by PFBlockAlgo::testLinkByVertex().
|
friend |
|
protected |
index in block vector
Definition at line 147 of file PFBlockElement.h.
Referenced by index(), and setIndex().
|
protected |
locked flag.
Definition at line 144 of file PFBlockElement.h.
|
protected |
Definition at line 150 of file PFBlockElement.h.
Referenced by getMultilinks(), isMultilinksValide(), setIsValidMultilinks(), setMultilinks(), and setMultilinksList().
|
protected |
type, see PFBlockElementType
Definition at line 139 of file PFBlockElement.h.
Referenced by Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::insertInto(), RandomRunSource.RandomRunSource::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and type().