ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::TrigEMCluster_v1 Class Reference

Description of a trigger EM cluster. More...

#include <TrigEMCluster_v1.h>

Inheritance diagram for xAOD::TrigEMCluster_v1:
Collaboration diagram for xAOD::TrigEMCluster_v1:

Public Types

typedef CaloSampling::CaloSample CaloSample
 A convenience typedef.

Public Member Functions

 TrigEMCluster_v1 ()
 Constructor.
float energy () const
 get Energy (calibrated)
void setEnergy (float energy)
 set Energy (calibrated)
float energy (const CaloSample sample) const
 get Energy (calibrated) per sampling layer
bool setEnergy (const CaloSample sample, float energy)
 set Energy (calibrated) per sampling layer
const std::vector< float > & energySample () const
 get Energy (calibrated) for all the sampling layers
float et () const
 get Et (calibrated)
void setEt (float)
 set Et (calibrated)
float eta () const
 get Eta (calibrated)
void setEta (float)
 set Eta (calibrated)
float phi () const
 get Phi (calibrated)
void setPhi (float)
 set Phi (calibrated)
float e237 () const
 get Energy in a 3x7 cluster (no calibration) around hottest cell
void setE237 (float)
 set Energy in a 3x7 cluster (no calibration) around hottest cell
float e277 () const
 get Energy in a 7x7 cluster (no calibration) around hottest cell
void setE277 (float)
 set Energy in a 7x7 cluster (no calibration) around hottest cell
float fracs1 () const
 get Energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strips
void setFracs1 (float)
 set Energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strips
float weta2 () const
 get cluster width (based on a 3x5 cluster - 2nd layer)
void setWeta2 (float)
 set cluster width (based on a 3x5 cluster - 2nd layer)
float ehad1 () const
 get hadronic Energy (first hadronic layer)
void setEhad1 (float)
 set hadronic Energy (first hadronic layer)
float eta1 () const
 get Eta sampling 1 (strip layer)
void setEta1 (float)
 set Eta sampling 1 (strip layer)
float emaxs1 () const
 get maximum energy in sampling 1 (strip layer)
void setEmaxs1 (float)
 set maximum energy in sampling 1 (strip layer)
float e2tsts1 () const
 get second maximum energy in sampling 1 (strip layer)
void setE2tsts1 (float)
 set second maximum energy in sampling 1 (strip layer)
float e233 () const
 get Energy in a 3x3 cluster (no calibration) around hottest cell
void setE233 (float)
 set Energy in a 3x3 cluster (no calibration) around hottest cell
float wstot () const
 get width in first layer
void setWstot (float)
 set width in first layer
float rawEnergy () const
 get Raw Energy (no calibration)
float rawEnergy (const CaloSample sample) const
 get Raw Energy (no calibration) per sampling layer
void setRawEnergy (float)
 set Raw Energy (no calibration)
bool setRawEnergy (const CaloSample sample, float energy)
 set Raw Energy (no calibration) per sampling layer
const std::vector< float > & rawEnergySample () const
 get Raw Energy (no calibration) for all the sampling layers
float rawEt () const
 get Raw Et (no calibration)
void setRawEt (float)
 set Raw Et (no calibration)
float rawEta () const
 get Raw Eta (no calibration)
void setRawEta (float)
 set Raw Eta (no calibration)
float rawPhi () const
 get Raw Phi (no calibration)
void setRawPhi (float)
 set Raw Phi (no calibration)
long RoIword () const
 get RoI Word
void setRoIword (long)
 set RoI Word
int nCells () const
 get number of cells used from RoI
void setNCells (int)
 set number of cells used from RoI
unsigned int clusterQuality () const
 get quality of cluster built (to be defined)
void setClusterQuality (unsigned int)
 set quality of cluster built (to be defined)

Detailed Description

Description of a trigger EM cluster.

This is a first stab at how a trigger EM cluster could behave in the xAOD EDM. Just brainstorming for now.

Author
Aranzazu Ruiz Martinez Aranz.nosp@m.azu..nosp@m.Ruiz..nosp@m.Mart.nosp@m.inez@.nosp@m.cern.nosp@m..ch
Attila Krasznahorkay Attil.nosp@m.a.Kr.nosp@m.aszna.nosp@m.hork.nosp@m.ay@ce.nosp@m.rn.c.nosp@m.h
Revision
631374
Date
2014-11-26 21:59:18 +0100 (Wed, 26 Nov 2014)

Definition at line 28 of file TrigEMCluster_v1.h.

Member Typedef Documentation

◆ CaloSample

A convenience typedef.

Definition at line 32 of file TrigEMCluster_v1.h.

Constructor & Destructor Documentation

◆ TrigEMCluster_v1()

xAOD::TrigEMCluster_v1::TrigEMCluster_v1 ( )

Constructor.

Definition at line 21 of file TrigEMCluster_v1.cxx.

21: TrigCaloCluster() {}
TrigCaloCluster_v1 TrigCaloCluster
Define the latest version of the trigger calorimeter cluster class.

Member Function Documentation

◆ clusterQuality()

unsigned int xAOD::TrigCaloCluster_v1::clusterQuality ( ) const
inherited

get quality of cluster built (to be defined)

◆ e233()

float xAOD::TrigEMCluster_v1::e233 ( ) const

get Energy in a 3x3 cluster (no calibration) around hottest cell

◆ e237()

float xAOD::TrigEMCluster_v1::e237 ( ) const

get Energy in a 3x7 cluster (no calibration) around hottest cell

◆ e277()

float xAOD::TrigEMCluster_v1::e277 ( ) const

get Energy in a 7x7 cluster (no calibration) around hottest cell

◆ e2tsts1()

float xAOD::TrigEMCluster_v1::e2tsts1 ( ) const

get second maximum energy in sampling 1 (strip layer)

◆ ehad1()

float xAOD::TrigEMCluster_v1::ehad1 ( ) const

get hadronic Energy (first hadronic layer)

◆ emaxs1()

float xAOD::TrigEMCluster_v1::emaxs1 ( ) const

get maximum energy in sampling 1 (strip layer)

◆ energy() [1/2]

float xAOD::TrigEMCluster_v1::energy ( ) const

get Energy (calibrated)

◆ energy() [2/2]

setEt setPhi setE277 setWeta2 setEta1 setE2tsts1 setWstot float xAOD::TrigEMCluster_v1::energy ( const CaloSample sample) const

get Energy (calibrated) per sampling layer

Definition at line 52 of file TrigEMCluster_v1.cxx.

52 {
53 static const Accessor< std::vector <float > > eAcc("energySample");
54 const std::vector<float>& var = eAcc( *this );
55 if( var.size() <= static_cast< size_t >( sampling ) ) {
56 std::cerr << "xAOD::TrigEMCluster_v1::energy ERROR Invalid/unknown "
57 << "sampling (" << sampling << ") requested" << std::endl;
58 return 0;
59 }
60 return var[ sampling ];
61 }

◆ energySample()

const std::vector< float > & xAOD::TrigEMCluster_v1::energySample ( ) const

get Energy (calibrated) for all the sampling layers

◆ et()

float xAOD::TrigEMCluster_v1::et ( ) const

get Et (calibrated)

◆ eta()

float xAOD::TrigEMCluster_v1::eta ( ) const

get Eta (calibrated)

◆ eta1()

float xAOD::TrigEMCluster_v1::eta1 ( ) const

get Eta sampling 1 (strip layer)

◆ fracs1()

float xAOD::TrigEMCluster_v1::fracs1 ( ) const

get Energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strips

◆ nCells()

int xAOD::TrigCaloCluster_v1::nCells ( ) const
inherited

get number of cells used from RoI

◆ phi()

float xAOD::TrigEMCluster_v1::phi ( ) const

get Phi (calibrated)

◆ rawEnergy() [1/2]

float xAOD::TrigCaloCluster_v1::rawEnergy ( ) const
inherited

get Raw Energy (no calibration)

◆ rawEnergy() [2/2]

float xAOD::TrigCaloCluster_v1::rawEnergy ( const CaloSample sample) const
inherited

get Raw Energy (no calibration) per sampling layer

◆ rawEnergySample()

const std::vector< float > & xAOD::TrigCaloCluster_v1::rawEnergySample ( ) const
inherited

get Raw Energy (no calibration) for all the sampling layers

◆ rawEt()

float xAOD::TrigCaloCluster_v1::rawEt ( ) const
inherited

get Raw Et (no calibration)

◆ rawEta()

float xAOD::TrigCaloCluster_v1::rawEta ( ) const
inherited

get Raw Eta (no calibration)

◆ rawPhi()

float xAOD::TrigCaloCluster_v1::rawPhi ( ) const
inherited

get Raw Phi (no calibration)

◆ RoIword()

long xAOD::TrigCaloCluster_v1::RoIword ( ) const
inherited

get RoI Word

◆ setClusterQuality()

void xAOD::TrigCaloCluster_v1::setClusterQuality ( unsigned int )
inherited

set quality of cluster built (to be defined)

◆ setE233()

void xAOD::TrigEMCluster_v1::setE233 ( float )

set Energy in a 3x3 cluster (no calibration) around hottest cell

◆ setE237()

void xAOD::TrigEMCluster_v1::setE237 ( float )

set Energy in a 3x7 cluster (no calibration) around hottest cell

◆ setE277()

void xAOD::TrigEMCluster_v1::setE277 ( float )

set Energy in a 7x7 cluster (no calibration) around hottest cell

◆ setE2tsts1()

void xAOD::TrigEMCluster_v1::setE2tsts1 ( float )

set second maximum energy in sampling 1 (strip layer)

◆ setEhad1()

void xAOD::TrigEMCluster_v1::setEhad1 ( float )

set hadronic Energy (first hadronic layer)

◆ setEmaxs1()

void xAOD::TrigEMCluster_v1::setEmaxs1 ( float )

set maximum energy in sampling 1 (strip layer)

◆ setEnergy() [1/2]

bool xAOD::TrigEMCluster_v1::setEnergy ( const CaloSample sample,
float energy )

set Energy (calibrated) per sampling layer

Definition at line 63 of file TrigEMCluster_v1.cxx.

64 {
65 static const Accessor< std::vector <float > > eAcc("energySample");
66 std::vector<float>& var = eAcc( *this );
67 if( var.size() < SIZE ) var.resize( SIZE );
68 if( var.size() <= static_cast< size_t >( sampling ) ) {
69 std::cerr << "xAOD::TrigEMCluster_v1::setEnergy ERROR "
70 << "Invalid/unknown sampling (" << sampling
71 << ") requested" << std::endl;
72 return false;
73 }
74 var[ sampling ] = theEnergy;
75 return true;
76 }
static const size_t SIZE

◆ setEnergy() [2/2]

void xAOD::TrigEMCluster_v1::setEnergy ( float energy)

set Energy (calibrated)

◆ setEt()

void xAOD::TrigEMCluster_v1::setEt ( float )

set Et (calibrated)

◆ setEta()

void xAOD::TrigEMCluster_v1::setEta ( float )

set Eta (calibrated)

◆ setEta1()

void xAOD::TrigEMCluster_v1::setEta1 ( float )

set Eta sampling 1 (strip layer)

◆ setFracs1()

void xAOD::TrigEMCluster_v1::setFracs1 ( float )

set Energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strips

◆ setNCells()

void xAOD::TrigCaloCluster_v1::setNCells ( int )
inherited

set number of cells used from RoI

◆ setPhi()

void xAOD::TrigEMCluster_v1::setPhi ( float )

set Phi (calibrated)

◆ setRawEnergy() [1/2]

bool xAOD::TrigCaloCluster_v1::setRawEnergy ( const CaloSample sample,
float energy )
inherited

set Raw Energy (no calibration) per sampling layer

◆ setRawEnergy() [2/2]

void xAOD::TrigCaloCluster_v1::setRawEnergy ( float )
inherited

set Raw Energy (no calibration)

◆ setRawEt()

void xAOD::TrigCaloCluster_v1::setRawEt ( float )
inherited

set Raw Et (no calibration)

◆ setRawEta()

void xAOD::TrigCaloCluster_v1::setRawEta ( float )
inherited

set Raw Eta (no calibration)

◆ setRawPhi()

void xAOD::TrigCaloCluster_v1::setRawPhi ( float )
inherited

set Raw Phi (no calibration)

◆ setRoIword()

void xAOD::TrigCaloCluster_v1::setRoIword ( long )
inherited

set RoI Word

◆ setWeta2()

void xAOD::TrigEMCluster_v1::setWeta2 ( float )

set cluster width (based on a 3x5 cluster - 2nd layer)

◆ setWstot()

void xAOD::TrigEMCluster_v1::setWstot ( float )

set width in first layer

◆ weta2()

float xAOD::TrigEMCluster_v1::weta2 ( ) const

get cluster width (based on a 3x5 cluster - 2nd layer)

◆ wstot()

float xAOD::TrigEMCluster_v1::wstot ( ) const

get width in first layer


The documentation for this class was generated from the following files: