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 () | |
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 | 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_ |
SuperClusterRef | superClusterRef_ |
reference to the corresponding cluster | |
float | trackIso_ |
Cluster Element.
this class contains a reference to a PFCluster
Definition at line 14 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 21 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 32 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 62 of file PFBlockElementSuperCluster.h.
References ecalIso_.
{return ecalIso_;}
bool reco::PFBlockElementSuperCluster::fromGsfElectron | ( | ) | const [inline] |
Definition at line 71 of file PFBlockElementSuperCluster.h.
References fromGsfElectron_.
{return fromGsfElectron_;}
bool reco::PFBlockElementSuperCluster::fromPhoton | ( | ) | const [inline] |
Definition at line 74 of file PFBlockElementSuperCluster.h.
References fromPhoton_.
Referenced by PFPhotonAlgo::RunPFPhoton().
{return fromPhoton_;}
float reco::PFBlockElementSuperCluster::hcalIso | ( | ) | const [inline] |
Definition at line 65 of file PFBlockElementSuperCluster.h.
References hcalIso_.
{return hcalIso_;}
float reco::PFBlockElementSuperCluster::hoverE | ( | ) | const [inline] |
Definition at line 68 of file PFBlockElementSuperCluster.h.
References HoE_.
{return HoE_;}
void reco::PFBlockElementSuperCluster::setEcalIso | ( | float | val | ) | [inline] |
set the ecal Iso
Definition at line 44 of file PFBlockElementSuperCluster.h.
References ecalIso_.
Referenced by PFBlockAlgo::fillFromPhoton().
{ecalIso_=val;}
void reco::PFBlockElementSuperCluster::setFromGsfElectron | ( | bool | val | ) | [inline] |
set provenance
Definition at line 53 of file PFBlockElementSuperCluster.h.
References fromGsfElectron_.
Referenced by PFBlockAlgo::setInput().
{fromGsfElectron_=val;}
void reco::PFBlockElementSuperCluster::setFromPhoton | ( | bool | val | ) | [inline] |
set provenance
Definition at line 56 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 47 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 50 of file PFBlockElementSuperCluster.h.
References HoE_.
Referenced by PFBlockAlgo::fillFromPhoton().
{HoE_=val;}
void reco::PFBlockElementSuperCluster::setTrackIso | ( | float | val | ) | [inline] |
set the track Iso
Definition at line 41 of file PFBlockElementSuperCluster.h.
References trackIso_.
Referenced by PFBlockAlgo::fillFromPhoton().
{trackIso_=val;}
SuperClusterRef reco::PFBlockElementSuperCluster::superClusterRef | ( | ) | const [inline] |
Definition at line 35 of file PFBlockElementSuperCluster.h.
References superClusterRef_.
Referenced by PFPhotonAlgo::RunPFPhoton().
{return superClusterRef_;}
float reco::PFBlockElementSuperCluster::trackIso | ( | ) | const [inline] |
Definition at line 59 of file PFBlockElementSuperCluster.h.
References trackIso_.
{return trackIso_;}
float reco::PFBlockElementSuperCluster::ecalIso_ [private] |
Definition at line 81 of file PFBlockElementSuperCluster.h.
Referenced by ecalIso(), and setEcalIso().
bool reco::PFBlockElementSuperCluster::fromGsfElectron_ [private] |
Definition at line 85 of file PFBlockElementSuperCluster.h.
Referenced by fromGsfElectron(), and setFromGsfElectron().
bool reco::PFBlockElementSuperCluster::fromPhoton_ [private] |
Definition at line 86 of file PFBlockElementSuperCluster.h.
Referenced by fromPhoton(), and setFromPhoton().
float reco::PFBlockElementSuperCluster::hcalIso_ [private] |
Definition at line 82 of file PFBlockElementSuperCluster.h.
Referenced by hcalIso(), and setHcalIso().
float reco::PFBlockElementSuperCluster::HoE_ [private] |
Definition at line 83 of file PFBlockElementSuperCluster.h.
reference to the corresponding cluster
Definition at line 78 of file PFBlockElementSuperCluster.h.
Referenced by superClusterRef().
float reco::PFBlockElementSuperCluster::trackIso_ [private] |
Definition at line 80 of file PFBlockElementSuperCluster.h.
Referenced by setTrackIso(), and trackIso().