Cluster Element. More...
#include <PFBlockElementSuperCluster.h>
Public Member Functions | |
PFBlockElement * | clone () const |
necessary to have the edm::OwnVector<PFBlockElement> working | |
void | Dump (std::ostream &out=std::cout, const char *tab=" ") const |
print the object inside the element | |
float | ecalIso () const |
bool | fromGsfElectron () const |
bool | fromPhoton () const |
float | hcalIso () const |
float | hoverE () const |
PFBlockElementSuperCluster (const SuperClusterRef &ref) | |
constructor. type must be equal to PS1, PS2, ECAL, HCAL. | |
PFBlockElementSuperCluster () | |
PhotonRef | photonRef () const |
void | setEcalIso (float val) |
set the ecal Iso | |
void | setFromGsfElectron (bool val) |
set provenance | |
void | setFromPhoton (bool val) |
set provenance | |
void | setHcalIso (float val) |
set the had Iso | |
void | setHoE (float val) |
set H/E | |
void | setPhotonRef (const PhotonRef &ref) |
set photonRef | |
void | setTrackIso (float val) |
set the track Iso | |
SuperClusterRef | superClusterRef () const |
float | trackIso () const |
Private Attributes | |
float | ecalIso_ |
bool | fromGsfElectron_ |
bool | fromPhoton_ |
float | hcalIso_ |
float | HoE_ |
PhotonRef | photonRef_ |
SuperClusterRef | superClusterRef_ |
reference to the corresponding cluster | |
float | trackIso_ |
Cluster Element.
this class contains a reference to a PFCluster
Definition at line 15 of file PFBlockElementSuperCluster.h.
reco::PFBlockElementSuperCluster::PFBlockElementSuperCluster | ( | ) | [inline] |
reco::PFBlockElementSuperCluster::PFBlockElementSuperCluster | ( | const SuperClusterRef & | ref | ) | [inline] |
constructor. type must be equal to PS1, PS2, ECAL, HCAL.
Definition at line 22 of file PFBlockElementSuperCluster.h.
: PFBlockElement(PFBlockElement::SC), superClusterRef_( ref ), trackIso_(0.), ecalIso_(0.), hcalIso_(0.), HoE_(0.), fromGsfElectron_(false), fromPhoton_(false){}
PFBlockElement* reco::PFBlockElementSuperCluster::clone | ( | ) | const [inline, virtual] |
necessary to have the edm::OwnVector<PFBlockElement> working
Implements reco::PFBlockElement.
Definition at line 33 of file PFBlockElementSuperCluster.h.
References PFBlockElementSuperCluster().
{ return new PFBlockElementSuperCluster(*this); }
void reco::PFBlockElementSuperCluster::Dump | ( | std::ostream & | out = std::cout , |
const char * | tab = " " |
||
) | const [virtual] |
print the object inside the element
Reimplemented from reco::PFBlockElement.
float reco::PFBlockElementSuperCluster::ecalIso | ( | ) | const [inline] |
Definition at line 69 of file PFBlockElementSuperCluster.h.
References ecalIso_.
{return ecalIso_;}
bool reco::PFBlockElementSuperCluster::fromGsfElectron | ( | ) | const [inline] |
Definition at line 78 of file PFBlockElementSuperCluster.h.
References fromGsfElectron_.
{return fromGsfElectron_;}
bool reco::PFBlockElementSuperCluster::fromPhoton | ( | ) | const [inline] |
Definition at line 81 of file PFBlockElementSuperCluster.h.
References fromPhoton_.
Referenced by PFPhotonAlgo::RunPFPhoton().
{return fromPhoton_;}
float reco::PFBlockElementSuperCluster::hcalIso | ( | ) | const [inline] |
Definition at line 72 of file PFBlockElementSuperCluster.h.
References hcalIso_.
{return hcalIso_;}
float reco::PFBlockElementSuperCluster::hoverE | ( | ) | const [inline] |
Definition at line 75 of file PFBlockElementSuperCluster.h.
References HoE_.
{return HoE_;}
PhotonRef reco::PFBlockElementSuperCluster::photonRef | ( | ) | const [inline] |
Definition at line 39 of file PFBlockElementSuperCluster.h.
References photonRef_.
Referenced by PFPhotonAlgo::RunPFPhoton().
{return photonRef_;}
void reco::PFBlockElementSuperCluster::setEcalIso | ( | float | val | ) | [inline] |
set the ecal Iso
Definition at line 48 of file PFBlockElementSuperCluster.h.
References ecalIso_.
Referenced by PFBlockAlgo::fillFromPhoton().
{ecalIso_=val;}
void reco::PFBlockElementSuperCluster::setFromGsfElectron | ( | bool | val | ) | [inline] |
set provenance
Definition at line 57 of file PFBlockElementSuperCluster.h.
References fromGsfElectron_.
Referenced by PFBlockAlgo::setInput().
{fromGsfElectron_=val;}
void reco::PFBlockElementSuperCluster::setFromPhoton | ( | bool | val | ) | [inline] |
set provenance
Definition at line 60 of file PFBlockElementSuperCluster.h.
References fromPhoton_.
Referenced by PFBlockAlgo::fillFromPhoton(), and PFBlockAlgo::setInput().
{fromPhoton_=val;}
void reco::PFBlockElementSuperCluster::setHcalIso | ( | float | val | ) | [inline] |
set the had Iso
Definition at line 51 of file PFBlockElementSuperCluster.h.
References hcalIso_.
Referenced by PFBlockAlgo::fillFromPhoton().
{hcalIso_=val;}
void reco::PFBlockElementSuperCluster::setHoE | ( | float | val | ) | [inline] |
set H/E
Definition at line 54 of file PFBlockElementSuperCluster.h.
References HoE_.
Referenced by PFBlockAlgo::fillFromPhoton().
{HoE_=val;}
void reco::PFBlockElementSuperCluster::setPhotonRef | ( | const PhotonRef & | ref | ) | [inline] |
set photonRef
Definition at line 63 of file PFBlockElementSuperCluster.h.
References photonRef_.
Referenced by PFBlockAlgo::fillFromPhoton().
{photonRef_ = ref ;}
void reco::PFBlockElementSuperCluster::setTrackIso | ( | float | val | ) | [inline] |
set the track Iso
Definition at line 45 of file PFBlockElementSuperCluster.h.
References trackIso_.
Referenced by PFBlockAlgo::fillFromPhoton().
{trackIso_=val;}
SuperClusterRef reco::PFBlockElementSuperCluster::superClusterRef | ( | ) | const [inline] |
Definition at line 36 of file PFBlockElementSuperCluster.h.
References superClusterRef_.
Referenced by PFPhotonAlgo::EarlyConversion(), DisplayManager::loadGPFBlocks(), PFEGammaAlgo::RunPFEG(), and PFPhotonAlgo::RunPFPhoton().
{return superClusterRef_;}
float reco::PFBlockElementSuperCluster::trackIso | ( | ) | const [inline] |
Definition at line 66 of file PFBlockElementSuperCluster.h.
References trackIso_.
{return trackIso_;}
float reco::PFBlockElementSuperCluster::ecalIso_ [private] |
Definition at line 89 of file PFBlockElementSuperCluster.h.
Referenced by ecalIso(), and setEcalIso().
bool reco::PFBlockElementSuperCluster::fromGsfElectron_ [private] |
Definition at line 93 of file PFBlockElementSuperCluster.h.
Referenced by fromGsfElectron(), and setFromGsfElectron().
bool reco::PFBlockElementSuperCluster::fromPhoton_ [private] |
Definition at line 94 of file PFBlockElementSuperCluster.h.
Referenced by fromPhoton(), and setFromPhoton().
float reco::PFBlockElementSuperCluster::hcalIso_ [private] |
Definition at line 90 of file PFBlockElementSuperCluster.h.
Referenced by hcalIso(), and setHcalIso().
float reco::PFBlockElementSuperCluster::HoE_ [private] |
Definition at line 91 of file PFBlockElementSuperCluster.h.
Definition at line 86 of file PFBlockElementSuperCluster.h.
Referenced by photonRef(), and setPhotonRef().
reference to the corresponding cluster
Definition at line 85 of file PFBlockElementSuperCluster.h.
Referenced by superClusterRef().
float reco::PFBlockElementSuperCluster::trackIso_ [private] |
Definition at line 88 of file PFBlockElementSuperCluster.h.
Referenced by setTrackIso(), and trackIso().