Cluster Element. More...
#include <PFBlockElementSuperCluster.h>
Public Member Functions | |
PFBlockElement * | clone () const override |
necessary to have the edm::OwnVector<PFBlockElement> working More... | |
void | Dump (std::ostream &out=std::cout, const char *tab=" ") const override |
print the object inside the element More... | |
float | ecalIso () const |
bool | fromGsfElectron () const |
bool | fromPFSuperCluster () const |
bool | fromPhoton () const |
float | hcalIso () const |
float | hoverE () const |
PFBlockElementSuperCluster () | |
PFBlockElementSuperCluster (const SuperClusterRef &ref) | |
constructor. type must be equal to PS1, PS2, ECAL, HCAL. More... | |
const PhotonRef & | photonRef () const |
void | setEcalIso (float val) |
set the ecal Iso More... | |
void | setFromGsfElectron (bool val) |
set provenance More... | |
void | setFromPFSuperCluster (bool val) |
void | setFromPhoton (bool val) |
set provenance More... | |
void | setHcalIso (float val) |
set the had Iso More... | |
void | setHoE (float val) |
set H/E More... | |
void | setPhotonRef (const PhotonRef &ref) |
set photonRef More... | |
void | setTrackIso (float val) |
set the track Iso More... | |
const SuperClusterRef & | superClusterRef () const |
float | trackIso () 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 |
virtual bool | isSecondary () const |
bool | isTimeValid () const |
do we have a valid time information More... | |
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) |
void | setTime (float time, float timeError=0.f) |
\set the timing information More... | |
virtual void | setTrackType (TrackType trType, bool value) |
\set the trackType More... | |
virtual void | setV0Ref (const VertexCompositeCandidateRef &v0ref, TrackType trType) |
float | time () const |
float | timeError () const |
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 | |
float | ecalIso_ |
bool | fromGsfElectron_ |
bool | fromPFSuperCluster_ |
bool | fromPhoton_ |
float | hcalIso_ |
float | HoE_ |
PhotonRef | photonRef_ |
SuperClusterRef | superClusterRef_ |
reference to the corresponding cluster More... | |
float | trackIso_ |
Cluster Element.
this class contains a reference to a PFCluster
Definition at line 15 of file PFBlockElementSuperCluster.h.
|
inline |
|
inline |
constructor. type must be equal to PS1, PS2, ECAL, HCAL.
Definition at line 22 of file PFBlockElementSuperCluster.h.
|
inlineoverridevirtual |
necessary to have the edm::OwnVector<PFBlockElement> working
Implements reco::PFBlockElement.
Definition at line 33 of file PFBlockElementSuperCluster.h.
References PFBlockElementSuperCluster().
|
overridevirtual |
print the object inside the element
Reimplemented from reco::PFBlockElement.
Definition at line 11 of file PFBlockElementSuperCluster.cc.
References ET, alignBH_cfg::fixed, MillePedeFileConverter_cfg::out, and mathSSE::sqrt().
Referenced by reco::operator<<(), and PFEGammaAlgo::unwrapSuperCluster().
|
inline |
Definition at line 70 of file PFBlockElementSuperCluster.h.
References ecalIso_.
|
inline |
Definition at line 79 of file PFBlockElementSuperCluster.h.
References fromGsfElectron_.
|
inline |
Definition at line 86 of file PFBlockElementSuperCluster.h.
References fromPFSuperCluster_.
Referenced by SpecialClusterImporter< T >::importToBlock(), and PFEGammaAlgo::unwrapSuperCluster().
|
inline |
Definition at line 82 of file PFBlockElementSuperCluster.h.
References fromPhoton_.
|
inline |
Definition at line 73 of file PFBlockElementSuperCluster.h.
References hcalIso_.
|
inline |
|
inline |
Definition at line 39 of file PFBlockElementSuperCluster.h.
References photonRef_.
|
inline |
set the ecal Iso
Definition at line 47 of file PFBlockElementSuperCluster.h.
References ecalIso_, and heppy_batch::val.
Referenced by EGPhotonImporter::importToBlock().
|
inline |
set provenance
Definition at line 56 of file PFBlockElementSuperCluster.h.
References fromGsfElectron_, and heppy_batch::val.
Referenced by GSFTrackImporter::importToBlock().
|
inline |
Definition at line 61 of file PFBlockElementSuperCluster.h.
References fromPFSuperCluster_, and heppy_batch::val.
Referenced by EGPhotonImporter::importToBlock(), GSFTrackImporter::importToBlock(), and SuperClusterImporter::importToBlock().
|
inline |
set provenance
Definition at line 59 of file PFBlockElementSuperCluster.h.
References fromPhoton_, and heppy_batch::val.
Referenced by EGPhotonImporter::importToBlock().
|
inline |
set the had Iso
Definition at line 50 of file PFBlockElementSuperCluster.h.
References hcalIso_, and heppy_batch::val.
Referenced by EGPhotonImporter::importToBlock().
|
inline |
set H/E
Definition at line 53 of file PFBlockElementSuperCluster.h.
References HoE_, and heppy_batch::val.
Referenced by EGPhotonImporter::importToBlock().
|
inline |
set photonRef
Definition at line 64 of file PFBlockElementSuperCluster.h.
References photonRef_.
Referenced by EGPhotonImporter::importToBlock().
|
inline |
set the track Iso
Definition at line 44 of file PFBlockElementSuperCluster.h.
References trackIso_, and heppy_batch::val.
Referenced by EGPhotonImporter::importToBlock().
|
inline |
Definition at line 36 of file PFBlockElementSuperCluster.h.
References superClusterRef_.
Referenced by SpecialClusterImporter< T >::importToBlock(), SCAndECALLinker::testLink(), SCAndHGCalLinker::testLink(), and PFEGammaAlgo::unwrapSuperCluster().
|
inline |
Definition at line 67 of file PFBlockElementSuperCluster.h.
References trackIso_.
|
private |
Definition at line 94 of file PFBlockElementSuperCluster.h.
Referenced by ecalIso(), and setEcalIso().
|
private |
Definition at line 98 of file PFBlockElementSuperCluster.h.
Referenced by fromGsfElectron(), and setFromGsfElectron().
|
private |
Definition at line 100 of file PFBlockElementSuperCluster.h.
Referenced by fromPFSuperCluster(), and setFromPFSuperCluster().
|
private |
Definition at line 99 of file PFBlockElementSuperCluster.h.
Referenced by fromPhoton(), and setFromPhoton().
|
private |
Definition at line 95 of file PFBlockElementSuperCluster.h.
Referenced by hcalIso(), and setHcalIso().
|
private |
Definition at line 96 of file PFBlockElementSuperCluster.h.
|
private |
Definition at line 91 of file PFBlockElementSuperCluster.h.
Referenced by photonRef(), and setPhotonRef().
|
private |
reference to the corresponding cluster
Definition at line 90 of file PFBlockElementSuperCluster.h.
Referenced by superClusterRef().
|
private |
Definition at line 93 of file PFBlockElementSuperCluster.h.
Referenced by setTrackIso(), and trackIso().