Cluster Element. More...
#include <PFBlockElementCluster.h>
Public Member Functions | |
PFBlockElement * | clone () const |
necessary to have the edm::OwnVector<PFBlockElement> working More... | |
const PFClusterRef & | clusterRef () const |
void | Dump (std::ostream &out=std::cout, const char *tab=" ") const |
print the object inside the element More... | |
PFBlockElementCluster () | |
PFBlockElementCluster (const PFClusterRef &ref, PFBlockElement::Type type) | |
constructor. type must be equal to PS1, PS2, ECAL, HCAL. More... | |
void | setSuperClusterRef (const SuperClusterRef &ref) |
const SuperClusterRef & | superClusterRef () const |
Public Member Functions inherited from reco::PFBlockElement | |
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 |
virtual bool | isSecondary () 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 | setTrackType (TrackType trType, bool value) |
the trackType More... | |
virtual void | setV0Ref (const VertexCompositeCandidateRef &v0ref, TrackType trType) |
virtual const reco::TrackRef & | trackRef () const |
virtual const PFRecTrackRef & | trackRefPF () const |
virtual bool | trackType (TrackType trType) const |
Type | type () const |
void | unLock () |
unlock element More... | |
virtual const VertexCompositeCandidateRef & | V0Ref () const |
virtual | ~PFBlockElement () |
destructor More... | |
Private Attributes | |
PFClusterRef | clusterRef_ |
reference to the corresponding cluster More... | |
SuperClusterRef | superClusterRef_ |
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() |
Cluster Element.
this class contains a reference to a PFCluster
Definition at line 16 of file PFBlockElementCluster.h.
|
inline |
|
inline |
constructor. type must be equal to PS1, PS2, ECAL, HCAL.
Definition at line 23 of file PFBlockElementCluster.h.
|
inlinevirtual |
necessary to have the edm::OwnVector<PFBlockElement> working
Implements reco::PFBlockElement.
Definition at line 29 of file PFBlockElementCluster.h.
References PFBlockElementCluster().
|
inlinevirtual |
Reimplemented from reco::PFBlockElement.
Definition at line 32 of file PFBlockElementCluster.h.
References clusterRef_.
Referenced by METAnalyzer::fillMonitorElement(), PFBlockBasedIsolation::passesCleaningPhoton(), PFElectronAlgo::SetCandidates(), PFElectronAlgo::SetIDOutputs(), PFElectronAlgo::SetLinks(), HCALAndHOLinker::testLink(), ECALAndHCALCaloJetLinker::testLink(), HFEMAndHFHADLinker::testLink(), ECALAndHCALLinker::testLink(), HCALAndBREMLinker::testLink(), TrackAndHOLinker::testLink(), GSFAndHCALLinker::testLink(), ECALAndBREMLinker::testLink(), GSFAndECALLinker::testLink(), ECALAndECALLinker::testLink(), PreshowerAndECALLinker::testLink(), TrackAndHCALLinker::testLink(), SCAndECALLinker::testLink(), TrackAndECALLinker::testLink(), and PFEGammaAlgo::unlinkRefinableObjectKFandECALMatchedToHCAL().
|
virtual |
print the object inside the element
Reimplemented from reco::PFBlockElement.
Definition at line 11 of file PFBlockElementCluster.cc.
References ET, and mathSSE::sqrt().
Referenced by PFEGammaAlgo::unwrapSuperCluster().
|
inline |
Definition at line 35 of file PFBlockElementCluster.h.
References superClusterRef_.
Referenced by ECALClusterImporter::importToBlock().
|
inline |
Definition at line 33 of file PFBlockElementCluster.h.
References superClusterRef_.
Referenced by ECALAndECALLinker::linkPrefilter(), PFBlockBasedIsolation::passesCleaningPhoton(), ECALAndECALLinker::testLink(), and SCAndECALLinker::testLink().
|
private |
reference to the corresponding cluster
Definition at line 43 of file PFBlockElementCluster.h.
Referenced by clusterRef().
|
private |
Definition at line 44 of file PFBlockElementCluster.h.
Referenced by setSuperClusterRef(), and superClusterRef().