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

Detailed Description

Cluster Element.

this class contains a reference to a PFCluster

Definition at line 14 of file PFBlockElementSuperCluster.h.


Constructor & Destructor Documentation

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

Definition at line 16 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 21 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 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]
Returns:
the ecal isolation

Definition at line 62 of file PFBlockElementSuperCluster.h.

References ecalIso_.

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

Definition at line 71 of file PFBlockElementSuperCluster.h.

References fromGsfElectron_.

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

Definition at line 74 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 65 of file PFBlockElementSuperCluster.h.

References hcalIso_.

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

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

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

Definition at line 35 of file PFBlockElementSuperCluster.h.

References superClusterRef_.

Referenced by PFPhotonAlgo::RunPFPhoton().

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

Definition at line 59 of file PFBlockElementSuperCluster.h.

References trackIso_.

{return trackIso_;}

Member Data Documentation

Definition at line 81 of file PFBlockElementSuperCluster.h.

Referenced by ecalIso(), and setEcalIso().

Definition at line 85 of file PFBlockElementSuperCluster.h.

Referenced by fromGsfElectron(), and setFromGsfElectron().

Definition at line 86 of file PFBlockElementSuperCluster.h.

Referenced by fromPhoton(), and setFromPhoton().

Definition at line 82 of file PFBlockElementSuperCluster.h.

Referenced by hcalIso(), and setHcalIso().

Definition at line 83 of file PFBlockElementSuperCluster.h.

Referenced by hoverE(), and setHoE().

reference to the corresponding cluster

Definition at line 78 of file PFBlockElementSuperCluster.h.

Referenced by superClusterRef().

Definition at line 80 of file PFBlockElementSuperCluster.h.

Referenced by setTrackIso(), and trackIso().