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

Protected Attributes

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

Private Attributes

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

◆ ~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  :
44  TrigCaloCluster ( (TrigCaloCluster*) temc ),
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 }

◆ TrigEMCluster() [3/3]

TrigEMCluster::TrigEMCluster ( const TrigEMCluster trigemcluster)

Copy Reference Constructor

Definition at line 57 of file TrigEMCluster.cxx.

57  :
58  TrigCaloCluster ( (TrigCaloCluster&) temc ),
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 104 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

104 { return m_e237 ; };

◆ e233()

float TrigEMCluster::e233 ( ) const
inline

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

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

◆ e237()

float TrigEMCluster::e237 ( ) const
inline

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

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

119 { return m_e2tsts1 ; };

◆ e277()

float TrigEMCluster::e277 ( ) const
inline

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

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

121 { return m_e233 ; };

◆ e2tsts1()

float TrigEMCluster::e2tsts1 ( ) const
inline

get second maximum energy in sampling 1 (strip layer)

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

133 :

◆ ehad1()

float TrigEMCluster::ehad1 ( ) const
inline

get hadronic Energy (first hadronic layer)

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

133 :

◆ emaxs1()

float TrigEMCluster::emaxs1 ( ) const
inline

get maximum energy in sampling 1 (strip layer)

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

133 :

◆ energy() [1/2]

float TrigEMCluster::energy ( ) const
inline

get Energy (calibrated)

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

102 { return m_Phi ; };

◆ energy() [2/2]

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

get Energy (calibrated) per sampling layer

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

109  { return m_fracs1 ; };

◆ energyInSample()

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

get Energy (calibrated) per sampling layer

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

111  { return m_weta2 ; };

◆ et()

float TrigEMCluster::et ( ) const
inline

get Et (calibrated)

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

106 { return m_e277 ; };

◆ eta()

float TrigEMCluster::eta ( ) const
inline

get Eta (calibrated)

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

115 { return m_Eta1 ; };

◆ Eta1()

float TrigEMCluster::Eta1 ( ) const
inline

get Eta sampling 1 (strip layer)

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

133 :

◆ 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 123 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

123 { return m_wstot ; };

◆ 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 116 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

117 { return m_emaxs1 ; };

◆ 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++ )
117  log << endmsg;
118 }

◆ 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 ;};

◆ rawEnergies()

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

◆ 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

get RoI Word

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

116  { return m_roiWord ;};

◆ set_e233()

void TrigEMCluster::set_e233 ( float  e233)
inline

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

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

◆ set_e237()

void TrigEMCluster::set_e237 ( float  e237)
inline

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

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

80 { m_e2tsts1 = e2tsts1; };

◆ set_e277()

void TrigEMCluster::set_e277 ( float  e277)
inline

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

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

82 { m_e233 = e233; };

◆ set_e2tsts1()

void TrigEMCluster::set_e2tsts1 ( float  e2tsts1)
inline

set second maximum energy in sampling 1 (strip layer)

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

95 { return m_EnergyS[sample]; };

◆ set_ehad1()

void TrigEMCluster::set_ehad1 ( float  ehad1)
inline

set hadronic Energy (first hadronic layer)

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

88 { return m_Energy ; };

◆ set_emaxs1()

void TrigEMCluster::set_emaxs1 ( float  emaxs1)
inline

set maximum energy in sampling 1 (strip layer)

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

92 { return m_Et ; };

◆ set_Eta1()

void TrigEMCluster::set_Eta1 ( float  eta1)
inline

set Eta sampling 1 (strip layer)

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

90 { return m_Energy ; };

◆ 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 84 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

84 { m_wstot = wstot; };

◆ set_weta2()

void TrigEMCluster::set_weta2 ( float  weta2)
inline

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

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

88 { return m_Energy ; };

◆ set_wstot()

void TrigEMCluster::set_wstot ( float  wstot)
inline

set width in first layer

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

98 { return m_EnergyS[sample]; };

◆ setEnergy() [1/2]

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

set Energy (calibrated) per sampling layer

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

72  { m_weta2 = weta2; };

◆ setEnergy() [2/2]

void TrigEMCluster::setEnergy ( float  energy)
inline

set Energy (calibrated)

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

67 { m_e277 = e277; };

◆ setEt()

void TrigEMCluster::setEt ( float  et)
inline

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

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

70 { m_fracs1 = fracs1; };

◆ setEta()

void TrigEMCluster::setEta ( float  eta)
inline

set Eta (calibrated)

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

76 { m_Eta1 = eta1; };

◆ 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 77 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

78 { m_emaxs1 = emaxs1; };

◆ 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; };

◆ setRawEnergies()

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

◆ setRawEnergy() [1/2]

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

set Raw Et (no calibration) per sampling layer

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

73  { m_rawEnergyS[sample] = energy; };

◆ 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; };

◆ 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; };

◆ 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; };

◆ setRings() [1/2]

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

Definition at line 135 of file TrigEMCluster.cxx.

136 {
137  m_rings = ringsLink;
138 }

◆ 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 }

◆ 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 125 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

133 :

◆ wstot()

float TrigEMCluster::wstot ( ) const
inline

get width in first layer

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

Friends And Related Function Documentation

◆ 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 176 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 159 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 161 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 174 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_ehad1

float TrigEMCluster::m_ehad1
private

hadronic Energy (first hadronic layer)

Definition at line 168 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 172 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_Energy

float TrigEMCluster::m_Energy
private

Energy (calibrated)

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

◆ m_EnergyS

float TrigEMCluster::m_EnergyS[MAXSIZE]
private

Energy (calibrated) per sampling layer

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

◆ m_Et

float TrigEMCluster::m_Et
private

Energy (calibrated)

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

◆ m_Eta

float TrigEMCluster::m_Eta
private

Eta (calibrated)

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

◆ m_Eta1

float TrigEMCluster::m_Eta1
private

Eta sampling 1 (strip layer)

Definition at line 170 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 164 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 157 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 166 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h.

◆ m_wstot

float TrigEMCluster::m_wstot
private

width in first layer

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


The documentation for this class was generated from the following files:
TrigCaloCluster::m_numberUsedCells
int m_numberUsedCells
Number of cells used from RoI.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:140
TrigCaloCluster::m_rawEt
float m_rawEt
Raw Et (no calibration)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:130
TrigCaloCluster::m_rawEnergyS
float m_rawEnergyS[MAXSIZE]
Raw Energy per sample (upto 25 samples - no calibration)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:132
TrigEMCluster::m_Phi
float m_Phi
Phi (calibrated)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:157
TrigCaloCluster::m_quality
unsigned int m_quality
quality of cluster built (to be defined)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:142
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
TrigEMCluster::m_Eta
float m_Eta
Eta (calibrated)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:155
xAOD::et
et
Definition: TrigEMCluster_v1.cxx:25
TrigCaloCluster::m_rawPhi
float m_rawPhi
Raw Phi (no calibration)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:136
TrigEMCluster::m_e237
float m_e237
Energy in a 3x7 cluster (no calibration) around hottest cell.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:159
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
TrigEMCluster::e2tsts1
float e2tsts1() const
get second maximum energy in sampling 1 (strip layer)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:133
TrigEMCluster::m_e233
float m_e233
Energy in a 3x3 cluster (no calibration) around hottest cell.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:176
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
TrigEMCluster::phi
float phi() const
get Phi (calibrated)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:116
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
xAOD::eta1
setEt setPhi setE277 setWeta2 eta1
Definition: TrigEMCluster_v1.cxx:41
TrigEMCluster::m_wstot
float m_wstot
width in first layer
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:178
TrigEMCluster::m_emaxs1
float m_emaxs1
maximum energy in sampling 1 (strip layer)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:172
TrigEMCluster::e277
float e277() const
get Energy in a 7x7 cluster (no calibration) around hottest cell
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:120
TrigEMCluster::m_fracs1
float m_fracs1
Energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strips.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:164
TrigCaloCluster::setRoIword
void setRoIword(long roiword)
set RoI Word
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:81
TrigEMCluster::weta2
float weta2() const
get cluster width (based on a 3x5 cluster - 2nd layer)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:125
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
TrigEMCluster::fracs1
float fracs1() const
get Energy in a 7 strips (around hottest strip) minus energy in 3 strips divided by energy in 3 strip...
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:123
TrigEMCluster::m_e2tsts1
float m_e2tsts1
get second maximum energy in sampling 1 (strip layer)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:174
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
FullCPAlgorithmsTest_eljob.sample
sample
Definition: FullCPAlgorithmsTest_eljob.py:113
lumiFormat.i
int i
Definition: lumiFormat.py:85
CaloSampling::CaloSample
CaloSample
Definition: Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:22
TrigEMCluster::wstot
float wstot() const
get width in first layer
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:137
MAXSIZE
const int MAXSIZE
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:36
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigCaloCluster::TrigCaloCluster
TrigCaloCluster(float energy=0.0, float eta=-10.0, float phi=-10.0, long roi_word=0)
Constructor, please note the default values
Definition: TrigCaloCluster.cxx:27
TrigCaloCluster::quality
unsigned int quality() const
get quality of cluster built (to be defined)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:121
TrigCaloCluster
Base Cluster Class.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:39
TrigEMCluster::m_rings
ElementLink< RingerRingsContainer > m_rings
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:180
TrigCaloCluster::print
void print(void) const
Prints out cluster variables to std::cout
Definition: TrigCaloCluster.cxx:57
TrigCaloCluster::m_rawEnergy
float m_rawEnergy
Raw Energy (no calibration)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:122
TrigCaloCluster::m_roiWord
long m_roiWord
RoI Word.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:138
TrigEMCluster::m_Eta1
float m_Eta1
Eta sampling 1 (strip layer)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:170
TrigEMCluster::eta
float eta() const
get Eta (calibrated)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:114
TrigEMCluster::m_e277
float m_e277
Energy in a 7x7 cluster (no calibration) around hottest cell.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:161
fill
void fill(H5::Group &out_file, size_t iterations)
Definition: test-hdf5-writer.cxx:95
TrigEMCluster::setEnergy
void setEnergy(float energy)
set Energy (calibrated)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:67
TrigEMCluster::energy
float energy() const
get Energy (calibrated)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:102
WriteBchToCool.beg
beg
Definition: WriteBchToCool.py:69
TrigEMCluster::e233
float e233() const
get Energy in a 3x3 cluster (no calibration) around hottest cell
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:135
TrigEMCluster::emaxs1
float emaxs1() const
get maximum energy in sampling 1 (strip layer)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:131
TrigEMCluster::ringsLink
const ElementLink< RingerRingsContainer > & ringsLink() const
Definition: TrigEMCluster.cxx:147
DEBUG
#define DEBUG
Definition: page_access.h:11
TrigEMCluster::m_ehad1
float m_ehad1
hadronic Energy (first hadronic layer)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:168
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
CxxUtils::copy_bounded
auto copy_bounded(const InputRange &input, OutputRange &output) -> decltype(std::begin(output))
Copy a range with bounds restriction.
Definition: copy_bounded.h:102
TrigEMCluster::m_EnergyS
float m_EnergyS[MAXSIZE]
Energy (calibrated) per sampling layer
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:153
TrigEMCluster::m_weta2
float m_weta2
cluster width (based on a 3x5 cluster - 2nd layer)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:166
TrigEMCluster::m_Energy
float m_Energy
Energy (calibrated)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:149
TrigCaloCluster::m_rawEta
float m_rawEta
Raw Eta (no calibration)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigCaloCluster.h:134
TrigEMCluster::m_Et
float m_Et
Energy (calibrated)
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigEMCluster.h:151
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.