CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::PFBlockElementSuperCluster Class Reference

Cluster Element. More...

#include <PFBlockElementSuperCluster.h>

Inheritance diagram for reco::PFBlockElementSuperCluster:
reco::PFBlockElement

List of all members.

Public Member Functions

PFBlockElementclone () 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_

Detailed Description

Cluster Element.

this class contains a reference to a PFCluster

Definition at line 15 of file PFBlockElementSuperCluster.h.


Constructor & Destructor Documentation

reco::PFBlockElementSuperCluster::PFBlockElementSuperCluster ( ) [inline]

Definition at line 17 of file PFBlockElementSuperCluster.h.

Referenced by clone().

{} 
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.


Member Function Documentation

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]
Returns:
the ecal isolation

Definition at line 69 of file PFBlockElementSuperCluster.h.

References ecalIso_.

{return ecalIso_;}
bool reco::PFBlockElementSuperCluster::fromGsfElectron ( ) const [inline]
Returns:
provenance

Definition at line 78 of file PFBlockElementSuperCluster.h.

References fromGsfElectron_.

{return fromGsfElectron_;}
bool reco::PFBlockElementSuperCluster::fromPhoton ( ) const [inline]
Returns:
provenance

Definition at line 81 of file PFBlockElementSuperCluster.h.

References fromPhoton_.

Referenced by PFPhotonAlgo::RunPFPhoton().

{return fromPhoton_;}
float reco::PFBlockElementSuperCluster::hcalIso ( ) const [inline]
Returns:
the had isolation

Definition at line 72 of file PFBlockElementSuperCluster.h.

References hcalIso_.

{return hcalIso_;}
float reco::PFBlockElementSuperCluster::hoverE ( ) const [inline]
Returns:
Hoe

Definition at line 75 of file PFBlockElementSuperCluster.h.

References HoE_.

{return HoE_;}
PhotonRef reco::PFBlockElementSuperCluster::photonRef ( ) const [inline]
Returns:
reference to seeding photon

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().

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]
Returns:
reference to the corresponding cluster

Definition at line 36 of file PFBlockElementSuperCluster.h.

References superClusterRef_.

Referenced by PFPhotonAlgo::EarlyConversion(), DisplayManager::loadGPFBlocks(), and PFPhotonAlgo::RunPFPhoton().

{return superClusterRef_;}
float reco::PFBlockElementSuperCluster::trackIso ( ) const [inline]
Returns:
the track isolation

Definition at line 66 of file PFBlockElementSuperCluster.h.

References trackIso_.

{return trackIso_;}

Member Data Documentation

Definition at line 89 of file PFBlockElementSuperCluster.h.

Referenced by ecalIso(), and setEcalIso().

Definition at line 93 of file PFBlockElementSuperCluster.h.

Referenced by fromGsfElectron(), and setFromGsfElectron().

Definition at line 94 of file PFBlockElementSuperCluster.h.

Referenced by fromPhoton(), and setFromPhoton().

Definition at line 90 of file PFBlockElementSuperCluster.h.

Referenced by hcalIso(), and setHcalIso().

Definition at line 91 of file PFBlockElementSuperCluster.h.

Referenced by hoverE(), and setHoE().

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().

Definition at line 88 of file PFBlockElementSuperCluster.h.

Referenced by setTrackIso(), and trackIso().