ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEMCluster Class Reference

Class with calibrated variables for egamma clustering. More...

#include <TrigEMCluster.h>

Inheritance diagram for TrigEMCluster:
Collaboration diagram for TrigEMCluster:

Public Member Functions

 TrigEMCluster (float energy=0.0, float eta=-10.0, float phi=-10.0, long roi_word=0)
 Constructor, please note the default values.
 ~TrigEMCluster ()
 Destructor.
 TrigEMCluster (const TrigEMCluster *trigemcluster)
 Copy Pointer Constructor.
 TrigEMCluster (const TrigEMCluster &trigemcluster)
 Copy Reference Constructor.
TrigEMClusteroperator= (const TrigEMCluster &trigemcluster)=delete
void print (void) const
 Prints out cluster variables to std::cout.
void print (MsgStream &log) const
 Prints out cluster variables to MsgStream.
void setEnergy (float energy)
 set Energy (calibrated)
void setEt (float et)
 set Et (calibrated) - note that setting Energy this is not set by default
void setEnergy (CaloSampling::CaloSample sample, float energy)
 set Energy (calibrated) per sampling layer
void setEta (float eta)
 set Eta (calibrated)
void setPhi (float phi)
 set Phi (calibrated)
void set_e237 (float e237)
 set Energy in a 3x7 cluster (no calibration) around hottest cell
void set_e277 (float e277)
 set Energy in a 7x7 cluster (no calibration) around hottest cell
void set_fracs1 (float fracs1)
 set Energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strips
void set_weta2 (float weta2)
 set cluster width (based on a 3x5 cluster - 2nd layer)
void set_ehad1 (float ehad1)
 set hadronic Energy (first hadronic layer)
void set_Eta1 (float eta1)
 set Eta sampling 1 (strip layer)
void set_emaxs1 (float emaxs1)
 set maximum energy in sampling 1 (strip layer)
void set_e2tsts1 (float e2tsts1)
 set second maximum energy in sampling 1 (strip layer)
void set_e233 (float e233)
 set Energy in a 3x3 cluster (no calibration) around hottest cell
void set_wstot (float wstot)
 set width in first layer
float energy () const
 get Energy (calibrated)
float e () const
 get Energy (calibrated)
float et () const
 get Et (calibrated)
float energy (CaloSampling::CaloSample sample) const
 get Energy (calibrated) per sampling layer
float energyInSample (CaloSampling::CaloSample sample) const
 get Energy (calibrated) per sampling layer
float eta () const
 get Eta (calibrated)
float phi () const
 get Phi (calibrated)
float e237 () const
 get Energy in a 3x7 cluster (no calibration) around hottest cell
float e277 () const
 get 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
float weta2 () const
 get cluster width (based on a 3x5 cluster - 2nd layer)
float ehad1 () const
 get hadronic Energy (first hadronic layer)
float Eta1 () const
 get Eta sampling 1 (strip layer)
float emaxs1 () const
 get maximum energy in sampling 1 (strip layer)
float e2tsts1 () const
 get second maximum energy in sampling 1 (strip layer)
float e233 () const
 get Energy in a 3x3 cluster (no calibration) around hottest cell
float wstot () const
 get width in first layer
bool isValid () const
void setRings (const RingerRingsContainer &ring_con, unsigned int ring_idx)
const RingerRingsrings () const
void setRings (const ElementLink< RingerRingsContainer > &ringsLink)
const ElementLink< RingerRingsContainer > & ringsLink () const
void setRawEnergy (float energy)
 set Raw Energy (no calibration)
void setRawEnergy (CaloSampling::CaloSample sample, float energy)
 set Raw Et (no calibration) per sampling layer
template<class ITERATOR>
void setRawEnergies (ITERATOR beg, ITERATOR end)
void setRawEt (float et)
 set Raw Et (no calibration)
void setRawEta (float eta)
 set Raw Eta (no calibration)
void setRawPhi (float phi)
 set Raw Phi (no calibration)
void setRoIword (long roiword)
 set RoI Word
void setNCells (int ncells)
 set number of cells used from RoI
void setquality (unsigned int quality)
 set quality of cluster built (to be defined)
float rawEnergy () const
 get Raw Energy (no calibration)
float rawEnergy (CaloSampling::CaloSample sample) const
 get Raw Energy (no calibration) per sampling layer
template<class ITERATOR>
void rawEnergies (ITERATOR beg, ITERATOR end) const
float rawEt () const
 get Raw Et (no calibration)
float rawEta () const
 get Raw Eta (no calibration)
float rawPhi () const
 get Raw Phi (no calibration)
long RoIword () const
 get RoI Word
int nCells () const
 get number of cells used from RoI
unsigned int quality () const
 get quality of cluster built (to be defined)

Protected Attributes

float m_rawEnergy
 Raw Energy (no calibration)
float m_rawEt
 Raw Et (no calibration)
float m_rawEnergyS [MAXSIZE]
 Raw Energy per sample (upto 25 samples - no calibration)
float m_rawEta
 Raw Eta (no calibration)
float m_rawPhi
 Raw Phi (no calibration)
long m_roiWord
 RoI Word.
int m_numberUsedCells
 Number of cells used from RoI.
unsigned int m_quality
 quality of cluster built (to be defined)

Private Attributes

float m_Energy
 Energy (calibrated)
float m_Et
 Energy (calibrated)
float m_EnergyS [MAXSIZE]
 Energy (calibrated) per sampling layer.
float m_Eta
 Eta (calibrated)
float m_Phi
 Phi (calibrated)
float m_e237
 Energy in a 3x7 cluster (no calibration) around hottest cell.
float m_e277
 Energy in a 7x7 cluster (no calibration) around hottest cell.
float m_fracs1
 Energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strips.
float m_weta2
 cluster width (based on a 3x5 cluster - 2nd layer)
float m_ehad1
 hadronic Energy (first hadronic layer)
float m_Eta1
 Eta sampling 1 (strip layer)
float m_emaxs1
 maximum energy in sampling 1 (strip layer)
float m_e2tsts1
 get second maximum energy in sampling 1 (strip layer)
float m_e233
 Energy in a 3x3 cluster (no calibration) around hottest cell.
float m_wstot
 width in first layer
ElementLink< RingerRingsContainerm_rings

Friends

template<class T>
class TrigEMClusterConverterBase

Detailed Description

Class with calibrated variables for egamma clustering.

Inherits all Raw variables from TrigCaloCluster

Definition at line 31 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

Constructor & Destructor Documentation

◆ TrigEMCluster() [1/3]

TrigEMCluster::TrigEMCluster ( float energy = 0.0,
float eta = -10.0,
float phi = -10.0,
long roi_word = 0 )

Constructor, please note the default values.

Definition at line 25 of file TrigEMCluster.cxx.

26 :
28 m_Et ( 0. ), m_Eta ( eta ), m_Phi ( phi ),
29 m_e237( 0. ), m_e277 ( 999. ),
30 m_fracs1 ( 0. ), m_weta2 ( 0. ),
31 m_ehad1 ( 0. ), m_Eta1 ( 0. ),
32 m_emaxs1 ( 999. ), m_e2tsts1 ( 0. ),
33 m_e233( 0. ), m_wstot( 0. )
34{ setRoIword ( roi_word );
35 m_rings.reset();
36}
TrigCaloCluster(float energy=0.0, float eta=-10.0, float phi=-10.0, long roi_word=0)
Constructor, please note the default values.
float m_e237
Energy in a 3x7 cluster (no calibration) around hottest cell.
float m_e233
Energy in a 3x3 cluster (no calibration) around hottest cell.
float m_e277
Energy in a 7x7 cluster (no calibration) around hottest cell.
float m_emaxs1
maximum energy in sampling 1 (strip layer)
float m_e2tsts1
get second maximum energy in sampling 1 (strip layer)
float m_ehad1
hadronic Energy (first hadronic layer)
float m_weta2
cluster width (based on a 3x5 cluster - 2nd layer)
float m_fracs1
Energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strips.

◆ ~TrigEMCluster()

TrigEMCluster::~TrigEMCluster ( )

Destructor.

Definition at line 39 of file TrigEMCluster.cxx.

40{}

◆ TrigEMCluster() [2/3]

TrigEMCluster::TrigEMCluster ( const TrigEMCluster * trigemcluster)

Copy Pointer Constructor.

Definition at line 43 of file TrigEMCluster.cxx.

43 :
45 m_Energy ( temc->energy() ), m_Et ( temc->et() ),
46 m_Eta ( temc->eta() ), m_Phi ( temc->phi() ),
47 m_e237 ( temc->e237() ), m_e277 ( temc->e277() ),
48 m_fracs1 ( temc->fracs1() ), m_weta2 ( temc->weta2() ),
49 m_ehad1 ( temc->ehad1() ), m_Eta1 ( temc->Eta1() ),
50 m_emaxs1 ( temc->emaxs1() ), m_e2tsts1( temc->e2tsts1() ),
51 m_e233 ( temc->e233() ), m_wstot ( temc->wstot() )
52{ for ( int i = 0 ; i < MAXSIZE ; i++ )
54 ,temc->energy((CaloSampling::CaloSample)i) );
55 m_rings.reset();
56}
void setEnergy(float energy)
set Energy (calibrated)

◆ TrigEMCluster() [3/3]

TrigEMCluster::TrigEMCluster ( const TrigEMCluster & trigemcluster)

Copy Reference Constructor.

Definition at line 57 of file TrigEMCluster.cxx.

57 :
59 m_Energy ( temc.energy() ) , m_Et ( temc.et() ),
60 m_Eta ( temc.eta() ) , m_Phi ( temc.phi() ),
61 m_e237 ( temc.e237() ) , m_e277 ( temc.e277() ),
62 m_fracs1 ( temc.fracs1() ) , m_weta2 ( temc.weta2() ),
63 m_ehad1 ( temc.ehad1() ) , m_Eta1 ( temc.Eta1() ),
64 m_emaxs1 ( temc.emaxs1() ) , m_e2tsts1( temc.e2tsts1() ),
65 m_e233 ( temc.e233() ) , m_wstot ( temc.wstot() )
66{ for ( int i = 0 ; i < MAXSIZE ; i++ )
68 ,temc.energy((CaloSampling::CaloSample)i) );
69 m_rings.reset();
70}

Member Function Documentation

◆ e()

float TrigEMCluster::e ( ) const
inline

get Energy (calibrated)

Definition at line 90 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

90{ return m_Energy ; };

◆ e233()

float TrigEMCluster::e233 ( ) const
inline

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

Definition at line 121 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

121{ return m_e233 ; };

◆ e237()

float TrigEMCluster::e237 ( ) const
inline

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

Definition at line 104 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

104{ return m_e237 ; };

◆ e277()

float TrigEMCluster::e277 ( ) const
inline

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

Definition at line 106 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

106{ return m_e277 ; };

◆ e2tsts1()

float TrigEMCluster::e2tsts1 ( ) const
inline

get second maximum energy in sampling 1 (strip layer)

Definition at line 119 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

119{ return m_e2tsts1 ; };

◆ ehad1()

float TrigEMCluster::ehad1 ( ) const
inline

get hadronic Energy (first hadronic layer)

Definition at line 113 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

113{ return m_ehad1 ; };

◆ emaxs1()

float TrigEMCluster::emaxs1 ( ) const
inline

get maximum energy in sampling 1 (strip layer)

Definition at line 117 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

117{ return m_emaxs1 ; };

◆ energy() [1/2]

float TrigEMCluster::energy ( ) const
inline

get Energy (calibrated)

Definition at line 88 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

88{ return m_Energy ; };

◆ energy() [2/2]

float TrigEMCluster::energy ( CaloSampling::CaloSample sample) const
inline

get Energy (calibrated) per sampling layer

Definition at line 94 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ energyInSample()

float TrigEMCluster::energyInSample ( CaloSampling::CaloSample sample) const
inline

get Energy (calibrated) per sampling layer

Definition at line 97 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

98 { return m_EnergyS[sample]; };

◆ et()

float TrigEMCluster::et ( ) const
inline

get Et (calibrated)

Definition at line 92 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

92{ return m_Et ; };

◆ eta()

float TrigEMCluster::eta ( ) const
inline

get Eta (calibrated)

Definition at line 100 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

100{ return m_Eta ; };

◆ Eta1()

float TrigEMCluster::Eta1 ( ) const
inline

get Eta sampling 1 (strip layer)

Definition at line 115 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

115{ return m_Eta1 ; };

◆ fracs1()

float TrigEMCluster::fracs1 ( ) const
inline

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

Definition at line 109 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

109{ return m_fracs1 ; };

◆ isValid()

bool TrigEMCluster::isValid ( ) const

Definition at line 120 of file TrigEMCluster.cxx.

120 {
121 return m_rings.isValid();
122}

◆ nCells()

int TrigCaloCluster::nCells ( ) const
inlineinherited

get number of cells used from RoI

Definition at line 118 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

119 { return m_numberUsedCells ;};

◆ operator=()

TrigEMCluster & TrigEMCluster::operator= ( const TrigEMCluster & trigemcluster)
delete

◆ phi()

float TrigEMCluster::phi ( ) const
inline

get Phi (calibrated)

Definition at line 102 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

102{ return m_Phi ; };

◆ print() [1/2]

void TrigEMCluster::print ( MsgStream & log) const

Prints out cluster variables to MsgStream.

Definition at line 98 of file TrigEMCluster.cxx.

98 {
100 log <<MSG::DEBUG<< "m_Energy : " << m_Energy << "; ";
101 log <<MSG::DEBUG<< "m_Et : " << m_Et << "; ";
102 log <<MSG::DEBUG<< "m_Eta : " << m_Eta << "; ";
103 log <<MSG::DEBUG<< "m_Phi : " << m_Phi << "; ";
104 log <<MSG::DEBUG<< "m_e237 : " << m_e237 << "; ";
105 log <<MSG::DEBUG<< "m_e277 : " << m_e277 << "; ";
106 log <<MSG::DEBUG<< "m_fracs1 : " << m_fracs1 << "; ";
107 log <<MSG::DEBUG<< "m_weta2 : " << m_weta2 << "; ";
108 log <<MSG::DEBUG<< "m_ehad1 : " << m_ehad1 << "; ";
109 log <<MSG::DEBUG<< "m_Eta1 : " << m_Eta1 << "; ";
110 log <<MSG::DEBUG<< "m_emaxs1 : " << m_emaxs1 << "; ";
111 log <<MSG::DEBUG<< "m_e2tsts1 : " << m_e2tsts1 << "; ";
112 log <<MSG::DEBUG<< "m_e233 : " << m_e233 << "; ";
113 log <<MSG::DEBUG<< "m_wstot : " << m_wstot << "; ";
114 log <<MSG::DEBUG<< "m_EnergyS : ";
115 for ( int i = 0 ; i < MAXSIZE ; i++ )
116 log <<MSG::DEBUG<< energy((CaloSampling::CaloSample)i) << "; ";
117 log << endmsg;
118}
#define endmsg
void print(void) const
Prints out cluster variables to std::cout.

◆ print() [2/2]

void TrigEMCluster::print ( void ) const

Prints out cluster variables to std::cout.

Definition at line 74 of file TrigEMCluster.cxx.

74 {
76 std::cout << "m_Energy : " << m_Energy << "; ";
77 std::cout << "m_Et : " << m_Et << "; ";
78 std::cout << "m_Eta : " << m_Eta << "; ";
79 std::cout << "m_Phi : " << m_Phi << "; ";
80 std::cout << "m_e237 : " << m_e237 << "; ";
81 std::cout << "m_e277 : " << m_e277 << "; ";
82 std::cout << "m_fracs1 : " << m_fracs1 << "; ";
83 std::cout << "m_weta2 : " << m_weta2 << "; ";
84 std::cout << "m_ehad1 : " << m_ehad1 << "; ";
85 std::cout << "m_Eta1 : " << m_Eta1 << "; ";
86 std::cout << "m_emaxs1 : " << m_emaxs1 << "; ";
87 std::cout << "m_e2tsts1 : " << m_e2tsts1 << "; ";
88 std::cout << "m_e233 : " << m_e233 << "; ";
89 std::cout << "m_wstot : " << m_wstot << "; ";
90 std::cout << "m_EnergyS : ";
91 for ( int i = 0 ; i < MAXSIZE ; i++ )
92 std::cout << energy((CaloSampling::CaloSample)i) << "; ";
93 std::cout << std::endl;
94}

◆ quality()

unsigned int TrigCaloCluster::quality ( ) const
inlineinherited

get quality of cluster built (to be defined)

Definition at line 121 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

122 { return m_quality ;};
unsigned int m_quality
quality of cluster built (to be defined)

◆ rawEnergies()

template<class ITERATOR>
void TrigCaloCluster::rawEnergies ( ITERATOR beg,
ITERATOR end ) const
inlineinherited

Definition at line 95 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

96 {
97 auto out = CxxUtils::copy_bounded (std::begin(m_rawEnergyS),
98 std::end(m_rawEnergyS),
99 beg, end);
100 std::fill (out, end, 0);
101 }
float m_rawEnergyS[MAXSIZE]
Raw Energy per sample (upto 25 samples - no calibration)
OutputIterator copy_bounded(InputIterator begi, InputIterator endi, OutputIterator bego, OutputIterator endo)
Copy a range with bounds restriction.

◆ rawEnergy() [1/2]

float TrigCaloCluster::rawEnergy ( ) const
inlineinherited

get Raw Energy (no calibration)

Definition at line 92 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

93 { return m_rawEnergy ;};

◆ rawEnergy() [2/2]

float TrigCaloCluster::rawEnergy ( CaloSampling::CaloSample sample) const
inlineinherited

get Raw Energy (no calibration) per sampling layer

Definition at line 106 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

107 { return m_rawEnergyS[sample]; };

◆ rawEt()

float TrigCaloCluster::rawEt ( ) const
inlineinherited

get Raw Et (no calibration)

Definition at line 103 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

104 { return m_rawEt ;};

◆ rawEta()

float TrigCaloCluster::rawEta ( ) const
inlineinherited

get Raw Eta (no calibration)

Definition at line 109 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

110 { return m_rawEta ;};

◆ rawPhi()

float TrigCaloCluster::rawPhi ( ) const
inlineinherited

get Raw Phi (no calibration)

Definition at line 112 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

113 { return m_rawPhi ;};

◆ rings()

const RingerRings * TrigEMCluster::rings ( ) const

Definition at line 140 of file TrigEMCluster.cxx.

140 {
141 if (m_rings.isValid()) {
142 return *m_rings;
143 }
144 return 0;
145}

◆ ringsLink()

const ElementLink< RingerRingsContainer > & TrigEMCluster::ringsLink ( ) const

Definition at line 147 of file TrigEMCluster.cxx.

148{
149 return m_rings;
150}

◆ RoIword()

long TrigCaloCluster::RoIword ( ) const
inlineinherited

◆ set_e233()

void TrigEMCluster::set_e233 ( float e233)
inline

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

Definition at line 82 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

82{ m_e233 = e233; };
float e233() const
get Energy in a 3x3 cluster (no calibration) around hottest cell

◆ set_e237()

void TrigEMCluster::set_e237 ( float e237)
inline

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

Definition at line 65 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

65{ m_e237 = e237; };
float e237() const
get Energy in a 3x7 cluster (no calibration) around hottest cell

◆ set_e277()

void TrigEMCluster::set_e277 ( float e277)
inline

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

Definition at line 67 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

67{ m_e277 = e277; };
float e277() const
get Energy in a 7x7 cluster (no calibration) around hottest cell

◆ set_e2tsts1()

void TrigEMCluster::set_e2tsts1 ( float e2tsts1)
inline

set second maximum energy in sampling 1 (strip layer)

Definition at line 80 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

80{ m_e2tsts1 = e2tsts1; };
float e2tsts1() const
get second maximum energy in sampling 1 (strip layer)

◆ set_ehad1()

void TrigEMCluster::set_ehad1 ( float ehad1)
inline

set hadronic Energy (first hadronic layer)

Definition at line 74 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

74{ m_ehad1 = ehad1; };
float ehad1() const
get hadronic Energy (first hadronic layer)

◆ set_emaxs1()

void TrigEMCluster::set_emaxs1 ( float emaxs1)
inline

set maximum energy in sampling 1 (strip layer)

Definition at line 78 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

78{ m_emaxs1 = emaxs1; };
float emaxs1() const
get maximum energy in sampling 1 (strip layer)

◆ set_Eta1()

void TrigEMCluster::set_Eta1 ( float eta1)
inline

set Eta sampling 1 (strip layer)

Definition at line 76 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

76{ m_Eta1 = eta1; };
setEt setPhi setE277 setWeta2 eta1

◆ set_fracs1()

void TrigEMCluster::set_fracs1 ( float fracs1)
inline

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

Definition at line 70 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

70{ m_fracs1 = fracs1; };
float fracs1() const
get Energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strip...

◆ set_weta2()

void TrigEMCluster::set_weta2 ( float weta2)
inline

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

Definition at line 72 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

72{ m_weta2 = weta2; };
float weta2() const
get cluster width (based on a 3x5 cluster - 2nd layer)

◆ set_wstot()

void TrigEMCluster::set_wstot ( float wstot)
inline

set width in first layer

Definition at line 84 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

84{ m_wstot = wstot; };

◆ setEnergy() [1/2]

void TrigEMCluster::setEnergy ( CaloSampling::CaloSample sample,
float energy )
inline

set Energy (calibrated) per sampling layer

Definition at line 58 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

59 { m_EnergyS[sample] = energy; };

◆ setEnergy() [2/2]

void TrigEMCluster::setEnergy ( float energy)
inline

set Energy (calibrated)

Definition at line 53 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

53{ m_Energy = energy; };

◆ setEt()

void TrigEMCluster::setEt ( float et)
inline

set Et (calibrated) - note that setting Energy this is not set by default

Definition at line 56 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

56{ m_Et = et; };

◆ setEta()

void TrigEMCluster::setEta ( float eta)
inline

set Eta (calibrated)

Definition at line 61 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

61{ m_Eta = eta; };

◆ setNCells()

void TrigCaloCluster::setNCells ( int ncells)
inlineinherited

set number of cells used from RoI

Definition at line 84 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

85 { m_numberUsedCells = ncells;};

◆ setPhi()

void TrigEMCluster::setPhi ( float phi)
inline

set Phi (calibrated)

Definition at line 63 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

63{ m_Phi = phi; };

◆ setquality()

void TrigCaloCluster::setquality ( unsigned int quality)
inlineinherited

set quality of cluster built (to be defined)

Definition at line 87 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

88 { m_quality = quality; };
unsigned int quality() const
get quality of cluster built (to be defined)

◆ setRawEnergies()

template<class ITERATOR>
void TrigCaloCluster::setRawEnergies ( ITERATOR beg,
ITERATOR end )
inlineinherited

Definition at line 60 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

61 {
62 auto out = CxxUtils::copy_bounded (beg, end,
63 std::begin(m_rawEnergyS),
64 std::end(m_rawEnergyS));
65 std::fill (out, std::end(m_rawEnergyS), 0);
66 }

◆ setRawEnergy() [1/2]

void TrigCaloCluster::setRawEnergy ( CaloSampling::CaloSample sample,
float energy )
inlineinherited

◆ setRawEnergy() [2/2]

void TrigCaloCluster::setRawEnergy ( float energy)
inlineinherited

set Raw Energy (no calibration)

Definition at line 57 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

58 { m_rawEnergy = energy; };

◆ setRawEt()

void TrigCaloCluster::setRawEt ( float et)
inlineinherited

set Raw Et (no calibration)

Definition at line 68 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

69 { m_rawEt = et; };
float et(const xAOD::jFexSRJetRoI *j)

◆ setRawEta()

void TrigCaloCluster::setRawEta ( float eta)
inlineinherited

set Raw Eta (no calibration)

Definition at line 75 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

76 { m_rawEta = eta; };
Scalar eta() const
pseudorapidity method

◆ setRawPhi()

void TrigCaloCluster::setRawPhi ( float phi)
inlineinherited

set Raw Phi (no calibration)

Definition at line 78 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

79 { m_rawPhi = phi; };
Scalar phi() const
phi method

◆ setRings() [1/2]

void TrigEMCluster::setRings ( const ElementLink< RingerRingsContainer > & ringsLink)

Definition at line 135 of file TrigEMCluster.cxx.

136{
138}
const ElementLink< RingerRingsContainer > & ringsLink() const

◆ setRings() [2/2]

void TrigEMCluster::setRings ( const RingerRingsContainer & ring_con,
unsigned int ring_idx )

Definition at line 124 of file TrigEMCluster.cxx.

124 {
125 if (ring_idx < ring_con.size()) {
126 m_rings.toIndexedElement(ring_con, ring_idx);
127 if (!m_rings.isValid()) {
128 m_rings.reset();
129 }
130 } else {
131 m_rings.reset();
132 }
133}
size_type size() const noexcept
Returns the number of elements in the collection.

◆ setRoIword()

void TrigCaloCluster::setRoIword ( long roiword)
inlineinherited

set RoI Word

Definition at line 81 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

82 { m_roiWord = roiword; };

◆ weta2()

float TrigEMCluster::weta2 ( ) const
inline

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

Definition at line 111 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

111{ return m_weta2 ; };

◆ wstot()

float TrigEMCluster::wstot ( ) const
inline

get width in first layer

Definition at line 123 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

123{ return m_wstot ; };

◆ TrigEMClusterConverterBase

template<class T>
friend class TrigEMClusterConverterBase
friend

Member Data Documentation

◆ m_e233

float TrigEMCluster::m_e233
private

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

Definition at line 162 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_e237

float TrigEMCluster::m_e237
private

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

Definition at line 145 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_e277

float TrigEMCluster::m_e277
private

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

Definition at line 147 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_e2tsts1

float TrigEMCluster::m_e2tsts1
private

get second maximum energy in sampling 1 (strip layer)

Definition at line 160 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_ehad1

float TrigEMCluster::m_ehad1
private

hadronic Energy (first hadronic layer)

Definition at line 154 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_emaxs1

float TrigEMCluster::m_emaxs1
private

maximum energy in sampling 1 (strip layer)

Definition at line 158 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_Energy

float TrigEMCluster::m_Energy
private

◆ m_EnergyS

float TrigEMCluster::m_EnergyS[MAXSIZE]
private

Energy (calibrated) per sampling layer.

Definition at line 139 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_Et

float TrigEMCluster::m_Et
private

◆ m_Eta

float TrigEMCluster::m_Eta
private

Eta (calibrated)

Definition at line 141 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_Eta1

float TrigEMCluster::m_Eta1
private

Eta sampling 1 (strip layer)

Definition at line 156 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_fracs1

float TrigEMCluster::m_fracs1
private

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

Definition at line 150 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_numberUsedCells

int TrigCaloCluster::m_numberUsedCells
protectedinherited

Number of cells used from RoI.

Definition at line 140 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

◆ m_Phi

float TrigEMCluster::m_Phi
private

Phi (calibrated)

Definition at line 143 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_quality

unsigned int TrigCaloCluster::m_quality
protectedinherited

quality of cluster built (to be defined)

Definition at line 142 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

◆ m_rawEnergy

float TrigCaloCluster::m_rawEnergy
protectedinherited

Raw Energy (no calibration)

Definition at line 128 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

◆ m_rawEnergyS

float TrigCaloCluster::m_rawEnergyS[MAXSIZE]
protectedinherited

Raw Energy per sample (upto 25 samples - no calibration)

Definition at line 132 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

◆ m_rawEt

float TrigCaloCluster::m_rawEt
protectedinherited

Raw Et (no calibration)

Definition at line 130 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

◆ m_rawEta

float TrigCaloCluster::m_rawEta
protectedinherited

Raw Eta (no calibration)

Definition at line 134 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

◆ m_rawPhi

float TrigCaloCluster::m_rawPhi
protectedinherited

Raw Phi (no calibration)

Definition at line 136 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h.

◆ m_rings

ElementLink<RingerRingsContainer> TrigEMCluster::m_rings
private

◆ m_roiWord

long TrigCaloCluster::m_roiWord
protectedinherited

◆ m_weta2

float TrigEMCluster::m_weta2
private

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

Definition at line 152 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_wstot

float TrigEMCluster::m_wstot
private

width in first layer

Definition at line 164 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.


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