ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
LVL1::jTower Class Reference

The jTower class is an interface object for jFEX trigger algorithms The purposes are twofold: More...

#include <jTower.h>

Collaboration diagram for LVL1::jTower:

Public Member Functions

 jTower ()
 Constructors. More...
 
 jTower (int ieta, int iphi, int towerid, int posneg, float centre_eta=-1.0, float centre_phi=-1.0, int fcal_layer=-1)
 constructs a tower and sets the coordinates and identifier More...
 
virtual ~jTower ()=default
 Destructor. More...
 
void clearET ()
 Clear supercell ET values. More...
 
void clear_EM_scIDs ()
 Clear and resize Identifier value vector. More...
 
void clear_HAD_scIDs ()
 Clear and resize HAD SC Identifier value vector. More...
 
void setEMSat ()
 set and get saturation More...
 
bool getEMSat () const
 
void setHADSat ()
 
bool getHADSat () const
 
bool getTowerSat () const
 
void addET (float et, int cell)
 Add to ET of a specified cell in MeV. More...
 
void recordMD_ET (float et, int cell)
 Add to ET of a specified cell. More...
 
void setCentreEta (float ieta)
 Add to eta/phi values of a specified tower. More...
 
void setCentrePhi (float iphi)
 
void setiEta (int ieta)
 
void setiPhi (int iphi)
 
int iEta () const
 Get coordinates of tower. More...
 
int iPhi () const
 Return global phi index. More...
 
float centreEta () const
 
float centrePhi () const
 
float centrephi_toPI () const
 
void setTTowerArea (int area, int layer)
 Add to Area values of a specified tower. More...
 
int getTTowerArea (int layer) const
 
void setTTowerAreaInv (int area, int layer)
 Add to Area inverted values of a specified tower. More...
 
int getTTowerAreaInv (int layer) const
 
void setMinEtforPileup (int etval)
 Add to pilup lower and upper thresholds. More...
 
int getMinEtforPileup () const
 
void setMaxEtforPileup (int etval)
 
int getMaxEtforPileup () const
 
int fcalLayer () const
 
void setOnlineID (int tower_id_online)
 
int OnlineID ()
 
int OnlineID () const
 
int OfflineID ()
 
int OfflineID () const
 
float constid () const
 
int getET (unsigned int layer, int cell=0) const
 Get ET of a specified cell in MeV. More...
 
int getTotalET () const
 Get ET sum of all cells in the jTower in MeV. More...
 
int getLayerTotalET (unsigned int layer) const
 Get total ET sum of all cells in a given layer in MeV. More...
 
std::vector< int > getLayerETvec (unsigned int layer) const
 Get vector of ET values for a given layer in MeV. More...
 
const std::vector< int > & getETs () const
 Get vector of all ET values in MeV. More...
 
void set_Et (int layer, int et)
 Set ET value in MeV. More...
 
int getET_EM () const
 Get EM ET value in MeV. More...
 
int getET_HAD () const
 Get HAD ET value in MeV. More...
 
float getET_float (unsigned int layer, int cell=0) const
 Get ET of a specified cell in MeV FLOAT VERSION. More...
 
float getTotalET_float () const
 Get ET sum of all cells in the jTower in MeV FLOAT VERSION. More...
 
float getLayerTotalET_float (unsigned int layer) const
 Get total ET sum of all cells in a given layer in MeV FLOAT VERSION. More...
 
std::vector< float > getLayerETvec_float (unsigned int layer) const
 Get vector of ET values for a given layer in MeV FLOAT VERSION. More...
 
const std::vector< float > & getETs_float () const
 Get vector of all ET values in MeV FLOAT VERSION. More...
 
void set_TileCal_Et (int layer, int et)
 
void set_LAr_Et (Identifier ID, int cell, float et, int layer)
 Set LAr supercell position ID. More...
 
void Do_LAr_encoding ()
 Applies LAr digitization scheme. More...
 
void setNoiseForMet (int noiseVal, int layer)
 Noise values for each layer and object. More...
 
int getNoiseForMet (int layer) const
 
void setNoiseForJet (int noiseVal, int layer)
 
int getNoiseForJet (int layer) const
 
const std::vector< Identifier > & getEMSCIDs () const
 
const std::vector< Identifier > & getHADSCIDs () const
 
Identifier getEMSCID (int cell) const
 
Identifier getHADSCID (int cell) const
 
std::vector< IdentifiergetLayerSCIDs (unsigned int layer) const
 
void setPosNeg (int posneg)
 
int getPosNeg () const
 

Private Attributes

int m_iEta =0
 Internal data. More...
 
int m_iPhi =0
 
int m_tower_id = 0
 
int m_tower_id_online = 0
 
int m_posneg = 0
 
float m_centre_eta =0
 
float m_centre_phi =0
 
float m_centre_phi_toPI =0
 
std::vector< Identifierm_EM_scID
 
std::vector< Identifierm_HAD_scID
 
std::vector< int > m_et
 
std::vector< float > m_et_float_raw
 
std::vector< int > m_TTowerArea { 1, 1}
 
std::vector< int > m_TTowerAreaInv { 1, 1}
 
int m_fcal_layer = -1
 
int m_NoiseForMet [2] = {0}
 
int m_NoiseForJet [2] = {0}
 
int m_minEt_pileup_thr = -999
 
int m_maxEt_pileup_thr = -999
 
bool m_EM_sat = false
 
bool m_HAD_sat = false
 

Detailed Description

The jTower class is an interface object for jFEX trigger algorithms The purposes are twofold:

Definition at line 40 of file jTower.h.

Constructor & Destructor Documentation

◆ jTower() [1/2]

LVL1::jTower::jTower ( )

Constructors.

Definition at line 27 of file jTower.cxx.

27  :
28  m_iEta(0),
29  m_iPhi(0),
30  m_tower_id(-9999999),
31  m_tower_id_online(0xffff),
32  m_posneg(0),
33  m_centre_eta(0.),
34  m_centre_phi(0.),
35  m_fcal_layer(-1)
36  {
37  this->clearET();
38  }

◆ jTower() [2/2]

LVL1::jTower::jTower ( int  ieta,
int  iphi,
int  towerid,
int  posneg,
float  centre_eta = -1.0,
float  centre_phi = -1.0,
int  fcal_layer = -1 
)

constructs a tower and sets the coordinates and identifier

Definition at line 41 of file jTower.cxx.

41  :
42  m_iEta(ieta),
43  m_iPhi(iphi),
44  m_tower_id(towerid),
45  m_tower_id_online(-9999999),
46  m_posneg(posneg),
47  m_centre_eta(centre_eta),
48  m_centre_phi(centre_phi),
49  m_fcal_layer(fcal_layer)
50  {
51  m_centre_phi_toPI = centre_phi;
52  if(centre_phi>M_PI) m_centre_phi_toPI = centre_phi-2*M_PI;
53  this->clearET();
54  }

◆ ~jTower()

virtual LVL1::jTower::~jTower ( )
virtualdefault

Destructor.

Member Function Documentation

◆ addET()

void LVL1::jTower::addET ( float  et,
int  cell 
)

Add to ET of a specified cell in MeV.

Add ET to a specified cell.

Definition at line 88 of file jTower.cxx.

89 {
90  if (layer < 0 || layer >= s_nLayers) {
91  std::stringstream errMsg;
92  errMsg << "addET: Attempt to set an invalid JTower layer with value: " << layer << ". Must be 0 (EM) or 1 (HAD) ";
93  throw std::runtime_error(errMsg.str().c_str());
94  return; //need to throw an error really...
95  }
96 
98 
99  return;
100 
101 }

◆ centreEta()

float LVL1::jTower::centreEta ( ) const
inline

Definition at line 83 of file jTower.h.

83 {return m_centre_eta;}

◆ centrePhi()

float LVL1::jTower::centrePhi ( ) const
inline

Definition at line 84 of file jTower.h.

84 {return m_centre_phi;}

◆ centrephi_toPI()

float LVL1::jTower::centrephi_toPI ( ) const
inline

Definition at line 85 of file jTower.h.

85 {return m_centre_phi_toPI;}

◆ clear_EM_scIDs()

void LVL1::jTower::clear_EM_scIDs ( )

Clear and resize Identifier value vector.

Clear and resize EM SC Identifier value vector.

Definition at line 67 of file jTower.cxx.

68  {
69  m_EM_scID.clear();
70  }

◆ clear_HAD_scIDs()

void LVL1::jTower::clear_HAD_scIDs ( )

Clear and resize HAD SC Identifier value vector.

Definition at line 73 of file jTower.cxx.

74  {
75  m_HAD_scID.clear();
76  }

◆ clearET()

void LVL1::jTower::clearET ( )

Clear supercell ET values.

Clear and resize ET value vector.

Definition at line 58 of file jTower.cxx.

59  {
60  m_et.clear();
61  m_et.resize(2,0);
62  m_et_float_raw.clear();
63  m_et_float_raw.resize(2,0.0);
64  }

◆ constid()

float LVL1::jTower::constid ( ) const
inline

Definition at line 114 of file jTower.h.

114 {return m_tower_id;};

◆ Do_LAr_encoding()

void LVL1::jTower::Do_LAr_encoding ( )

Applies LAr digitization scheme.

Definition at line 157 of file jTower.cxx.

157  {
158 
159  //multi linear digitisation encoding
160  for(uint layer=0; layer<m_et_float_raw.size(); layer++){
161  unsigned int ecode = jFEXCompression::Compress( m_et_float_raw[layer] );
162  int outET = jFEXCompression::Expand(ecode);
163  set_Et(layer,outET);
164  }
165 }

◆ fcalLayer()

int LVL1::jTower::fcalLayer ( ) const
inline

Definition at line 104 of file jTower.h.

104 {return m_fcal_layer;}

◆ getEMSat()

bool LVL1::jTower::getEMSat ( ) const
inline

Definition at line 60 of file jTower.h.

60 {return m_EM_sat; };

◆ getEMSCID()

Identifier LVL1::jTower::getEMSCID ( int  cell) const
inline

Definition at line 172 of file jTower.h.

172 { return m_EM_scID[cell]; }

◆ getEMSCIDs()

const std::vector<Identifier>& LVL1::jTower::getEMSCIDs ( ) const
inline

Definition at line 169 of file jTower.h.

169 { return m_EM_scID; }

◆ getET()

int LVL1::jTower::getET ( unsigned int  layer,
int  cell = 0 
) const

Get ET of a specified cell in MeV.

Return ET of specified supercell.

Check cell index in range for layer

Definition at line 179 of file jTower.cxx.

179  {
180 
182  if (layer >= s_nLayers || cell < 0 || cell >= s_cells[layer]) return 0;
183 
184  // Return ET
185  return m_et[s_offsets[layer] + cell];
186 
187 }

◆ getET_EM()

int LVL1::jTower::getET_EM ( ) const
inline

Get EM ET value in MeV.

Definition at line 135 of file jTower.h.

135 {return m_et[0];};

◆ getET_float()

float LVL1::jTower::getET_float ( unsigned int  layer,
int  cell = 0 
) const

Get ET of a specified cell in MeV FLOAT VERSION.

Return ET of specified supercell FLOAT VERSION.

Check cell index in range for layer

Definition at line 190 of file jTower.cxx.

190  {
191 
193  if (layer >= s_nLayers || cell < 0 || cell >= s_cells[layer]) return 0;
194 
195  // Return ET
196  return m_et_float_raw[s_offsets[layer] + cell];
197 
198 }

◆ getET_HAD()

int LVL1::jTower::getET_HAD ( ) const
inline

Get HAD ET value in MeV.

Definition at line 138 of file jTower.h.

138 {return m_et[1];};

◆ getETs()

const std::vector<int>& LVL1::jTower::getETs ( ) const
inline

Get vector of all ET values in MeV.

Definition at line 129 of file jTower.h.

129 {return m_et;};

◆ getETs_float()

const std::vector<float>& LVL1::jTower::getETs_float ( ) const
inline

Get vector of all ET values in MeV FLOAT VERSION.

Definition at line 153 of file jTower.h.

153 {return m_et_float_raw;};

◆ getHADSat()

bool LVL1::jTower::getHADSat ( ) const
inline

Definition at line 63 of file jTower.h.

63 {return m_HAD_sat;};

◆ getHADSCID()

Identifier LVL1::jTower::getHADSCID ( int  cell) const
inline

Definition at line 173 of file jTower.h.

173 { return m_HAD_scID[cell]; }

◆ getHADSCIDs()

const std::vector<Identifier>& LVL1::jTower::getHADSCIDs ( ) const
inline

Definition at line 170 of file jTower.h.

170 { return m_HAD_scID; }

◆ getLayerETvec()

std::vector< int > LVL1::jTower::getLayerETvec ( unsigned int  layer) const

Get vector of ET values for a given layer in MeV.

Return supercell ET values for specified layer.

Create empty vector of data

Check cell index in range for layer

Fill output vector

Definition at line 226 of file jTower.cxx.

226  {
227 
229  std::vector<int> cells;
230 
232  if (layer >= s_nLayers) return cells;
233 
235  for (int cell = 0; cell < s_cells[layer]; ++cell) cells.push_back(m_et[s_offsets[layer] + cell]);
236 
237  return cells;
238 }

◆ getLayerETvec_float()

std::vector< float > LVL1::jTower::getLayerETvec_float ( unsigned int  layer) const

Get vector of ET values for a given layer in MeV FLOAT VERSION.

Return supercell ET values for specified layer FLOAT VERSION.

Create empty vector of data

Check cell index in range for layer

Fill output vector

Definition at line 242 of file jTower.cxx.

242  {
243 
245  std::vector<float> cells;
246 
248  if (layer >= s_nLayers) return cells;
249 
251  for (int cell = 0; cell < s_cells[layer]; ++cell) cells.push_back(m_et_float_raw[s_offsets[layer] + cell]);
252 
253  return cells;
254 }

◆ getLayerSCIDs()

std::vector< Identifier > LVL1::jTower::getLayerSCIDs ( unsigned int  layer) const

Definition at line 285 of file jTower.cxx.

285  {
286 
287  if (layer == 0) {
288  return m_EM_scID;
289  }
290  else if (layer == 1) {
291  return m_HAD_scID;
292  }
293 
294  return std::vector<Identifier>();
295 
296 }

◆ getLayerTotalET()

int LVL1::jTower::getLayerTotalET ( unsigned int  layer) const

Get total ET sum of all cells in a given layer in MeV.

Return supercell ET values for specified layer.

Definition at line 258 of file jTower.cxx.

258  {
259 
260  if (layer == 0) {
261  return m_et[0];
262  }
263  else if (layer == 1) {
264  return (m_et[1]);
265  }
266 
267  return 0;
268 
269 }

◆ getLayerTotalET_float()

float LVL1::jTower::getLayerTotalET_float ( unsigned int  layer) const

Get total ET sum of all cells in a given layer in MeV FLOAT VERSION.

Return supercell ET values for specified layer FLOAT VERSION.

Definition at line 272 of file jTower.cxx.

272  {
273 
274  if (layer == 0) {
275  return m_et_float_raw[0];
276  }
277  else if (layer == 1) {
278  return (m_et_float_raw[1]);
279  }
280 
281  return 0;
282 
283 }

◆ getMaxEtforPileup()

int LVL1::jTower::getMaxEtforPileup ( ) const
inline

Definition at line 99 of file jTower.h.

99 {return m_maxEt_pileup_thr;};

◆ getMinEtforPileup()

int LVL1::jTower::getMinEtforPileup ( ) const
inline

Definition at line 97 of file jTower.h.

97 {return m_minEt_pileup_thr;};

◆ getNoiseForJet()

int LVL1::jTower::getNoiseForJet ( int  layer) const

Definition at line 350 of file jTower.cxx.

350  {
351  return m_NoiseForJet[layer];
352 }

◆ getNoiseForMet()

int LVL1::jTower::getNoiseForMet ( int  layer) const

Definition at line 341 of file jTower.cxx.

341  {
342  return m_NoiseForMet[layer];
343 }

◆ getPosNeg()

int LVL1::jTower::getPosNeg ( ) const
inline

Definition at line 179 of file jTower.h.

179 {return m_posneg;}

◆ getTotalET()

int LVL1::jTower::getTotalET ( ) const

Get ET sum of all cells in the jTower in MeV.

Return ET of all supercells together.

Definition at line 201 of file jTower.cxx.

201  {
202 
203  int tmp = 0;
204  for (unsigned int i=0; i<m_et.size(); i++) {
205  tmp += m_et[i];
206  }
207 
208  return tmp;
209 
210 }

◆ getTotalET_float()

float LVL1::jTower::getTotalET_float ( ) const

Get ET sum of all cells in the jTower in MeV FLOAT VERSION.

Return ET of all supercells together FLOAT VERSION.

Definition at line 213 of file jTower.cxx.

213  {
214 
215  float tmp = 0;
216  for (unsigned int i=0; i<m_et_float_raw.size(); i++) {
217  tmp += m_et_float_raw[i];
218  }
219 
220  return tmp;
221 
222 }

◆ getTowerSat()

bool LVL1::jTower::getTowerSat ( ) const
inline

Definition at line 65 of file jTower.h.

65 { return (m_EM_sat || m_HAD_sat);};

◆ getTTowerArea()

int LVL1::jTower::getTTowerArea ( int  layer) const

Definition at line 324 of file jTower.cxx.

324  {
325  return m_TTowerArea.at(layer);
326 }

◆ getTTowerAreaInv()

int LVL1::jTower::getTTowerAreaInv ( int  layer) const

Definition at line 332 of file jTower.cxx.

332  {
333  return m_TTowerAreaInv.at(layer);
334 }

◆ iEta()

int LVL1::jTower::iEta ( ) const

Get coordinates of tower.

Return global eta index.

Definition at line 169 of file jTower.cxx.

169  {
170  return m_iEta;
171 }

◆ iPhi()

int LVL1::jTower::iPhi ( ) const

Return global phi index.

Definition at line 174 of file jTower.cxx.

174  {
175  return m_iPhi;
176 }

◆ OfflineID() [1/2]

int LVL1::jTower::OfflineID ( )
inline

Definition at line 111 of file jTower.h.

111 {return m_tower_id;};

◆ OfflineID() [2/2]

int LVL1::jTower::OfflineID ( ) const
inline

Definition at line 112 of file jTower.h.

112 {return m_tower_id;}

◆ OnlineID() [1/2]

int LVL1::jTower::OnlineID ( )
inline

Definition at line 109 of file jTower.h.

109 {return m_tower_id_online;};

◆ OnlineID() [2/2]

int LVL1::jTower::OnlineID ( ) const
inline

Definition at line 110 of file jTower.h.

110 {return m_tower_id_online;}

◆ recordMD_ET()

void LVL1::jTower::recordMD_ET ( float  et,
int  cell 
)

Add to ET of a specified cell.

◆ set_Et()

void LVL1::jTower::set_Et ( int  layer,
int  et 
)

Set ET value in MeV.

Definition at line 103 of file jTower.cxx.

103  {
104  m_et[layer] = et;
105 }

◆ set_LAr_Et()

void LVL1::jTower::set_LAr_Et ( Identifier  ID,
int  cell,
float  et,
int  layer 
)

Set LAr supercell position ID.

Set supercell position ID and ET.

Check cell index in range for layer

Definition at line 125 of file jTower.cxx.

126 {
127 
128  if((layer < 0) || (layer >= s_nLayers)) {
129  std::stringstream errMsg;
130  errMsg << "Attempt to set jTower SCID in invalid layer (" << layer << ")";
131  throw std::runtime_error(errMsg.str().c_str());
132  return; //need to throw an error really...
133  }
134 
136  if (cell < 0 || cell > 2) {
137  std::stringstream errMsg;
138  errMsg << "Attempt to set jTower SCID in invalid cell slot (" << cell << ")";
139  throw std::runtime_error(errMsg.str().c_str());
140  return;
141  }
142 
143  addET(et, cell);
144 
145  if(layer == 0) {
146  m_EM_scID.push_back(ID);
147  }
148  else if(layer == 1) {
149  m_HAD_scID.push_back(ID);
150  }
151 
152  return;
153 
154 }

◆ set_TileCal_Et()

void LVL1::jTower::set_TileCal_Et ( int  layer,
int  et 
)

Definition at line 108 of file jTower.cxx.

108  {
109 
110  if (layer < 0 || layer >= s_nLayers) {
111  std::stringstream errMsg;
112  errMsg << "set_TileCal_Et: Attempt to set an invalid JTower layer with value: " << layer << ". Must be 0 (EM) or 1 (HAD) ";
113  throw std::runtime_error(errMsg.str().c_str());
114  return; //need to throw an error really...
115  }
116 
117  addET(et, layer);
118 
119  set_Et(layer, et);
120  return;
121 
122 }

◆ setCentreEta()

void LVL1::jTower::setCentreEta ( float  ieta)

Add to eta/phi values of a specified tower.

Definition at line 298 of file jTower.cxx.

298  {
299  m_centre_eta = eta;
300 }

◆ setCentrePhi()

void LVL1::jTower::setCentrePhi ( float  iphi)

Definition at line 306 of file jTower.cxx.

306  {
308  m_centre_phi = phi;
309  if(m_centre_phi<0) m_centre_phi = 2*M_PI+phi;
310 }

◆ setEMSat()

void LVL1::jTower::setEMSat ( )
inline

set and get saturation

Definition at line 59 of file jTower.h.

59 {m_EM_sat = true;};

◆ setHADSat()

void LVL1::jTower::setHADSat ( )
inline

Definition at line 62 of file jTower.h.

62 {m_HAD_sat = true;};

◆ setiEta()

void LVL1::jTower::setiEta ( int  ieta)

Definition at line 302 of file jTower.cxx.

302  {
303  m_iEta = eta;
304 }

◆ setiPhi()

void LVL1::jTower::setiPhi ( int  iphi)

Definition at line 312 of file jTower.cxx.

312  {
313  m_iPhi = phi;
314 }

◆ setMaxEtforPileup()

void LVL1::jTower::setMaxEtforPileup ( int  etval)
inline

Definition at line 98 of file jTower.h.

98 {m_maxEt_pileup_thr=etval;};

◆ setMinEtforPileup()

void LVL1::jTower::setMinEtforPileup ( int  etval)
inline

Add to pilup lower and upper thresholds.

Definition at line 96 of file jTower.h.

96 {m_minEt_pileup_thr=etval;};

◆ setNoiseForJet()

void LVL1::jTower::setNoiseForJet ( int  noiseVal,
int  layer 
)

Definition at line 345 of file jTower.cxx.

345  {
346  m_NoiseForJet[layer]=noiseVal;
347 }

◆ setNoiseForMet()

void LVL1::jTower::setNoiseForMet ( int  noiseVal,
int  layer 
)

Noise values for each layer and object.

Definition at line 336 of file jTower.cxx.

336  {
337  m_NoiseForMet[layer]=noiseVal;
338 }

◆ setOnlineID()

void LVL1::jTower::setOnlineID ( int  tower_id_online)

Definition at line 316 of file jTower.cxx.

316  {
317  m_tower_id_online = tower_id_online;
318 }

◆ setPosNeg()

void LVL1::jTower::setPosNeg ( int  posneg)

Definition at line 79 of file jTower.cxx.

79  {
80 
81  m_posneg = posneg;
82 
83  return;
84 
85 }

◆ setTTowerArea()

void LVL1::jTower::setTTowerArea ( int  area,
int  layer 
)

Add to Area values of a specified tower.

Definition at line 320 of file jTower.cxx.

320  {
321  m_TTowerArea.at(layer)=area;
322 }

◆ setTTowerAreaInv()

void LVL1::jTower::setTTowerAreaInv ( int  area,
int  layer 
)

Add to Area inverted values of a specified tower.

Definition at line 328 of file jTower.cxx.

328  {
330 }

Member Data Documentation

◆ m_centre_eta

float LVL1::jTower::m_centre_eta =0
private

Definition at line 189 of file jTower.h.

◆ m_centre_phi

float LVL1::jTower::m_centre_phi =0
private

Definition at line 190 of file jTower.h.

◆ m_centre_phi_toPI

float LVL1::jTower::m_centre_phi_toPI =0
private

Definition at line 191 of file jTower.h.

◆ m_EM_sat

bool LVL1::jTower::m_EM_sat = false
private

Definition at line 204 of file jTower.h.

◆ m_EM_scID

std::vector<Identifier> LVL1::jTower::m_EM_scID
private

Definition at line 193 of file jTower.h.

◆ m_et

std::vector<int> LVL1::jTower::m_et
private

Definition at line 195 of file jTower.h.

◆ m_et_float_raw

std::vector<float> LVL1::jTower::m_et_float_raw
private

Definition at line 196 of file jTower.h.

◆ m_fcal_layer

int LVL1::jTower::m_fcal_layer = -1
private

Definition at line 199 of file jTower.h.

◆ m_HAD_sat

bool LVL1::jTower::m_HAD_sat = false
private

Definition at line 205 of file jTower.h.

◆ m_HAD_scID

std::vector<Identifier> LVL1::jTower::m_HAD_scID
private

Definition at line 194 of file jTower.h.

◆ m_iEta

int LVL1::jTower::m_iEta =0
private

Internal data.

Definition at line 184 of file jTower.h.

◆ m_iPhi

int LVL1::jTower::m_iPhi =0
private

Definition at line 185 of file jTower.h.

◆ m_maxEt_pileup_thr

int LVL1::jTower::m_maxEt_pileup_thr = -999
private

Definition at line 203 of file jTower.h.

◆ m_minEt_pileup_thr

int LVL1::jTower::m_minEt_pileup_thr = -999
private

Definition at line 202 of file jTower.h.

◆ m_NoiseForJet

int LVL1::jTower::m_NoiseForJet[2] = {0}
private

Definition at line 201 of file jTower.h.

◆ m_NoiseForMet

int LVL1::jTower::m_NoiseForMet[2] = {0}
private

Definition at line 200 of file jTower.h.

◆ m_posneg

int LVL1::jTower::m_posneg = 0
private

Definition at line 188 of file jTower.h.

◆ m_tower_id

int LVL1::jTower::m_tower_id = 0
private

Definition at line 186 of file jTower.h.

◆ m_tower_id_online

int LVL1::jTower::m_tower_id_online = 0
private

Definition at line 187 of file jTower.h.

◆ m_TTowerArea

std::vector<int> LVL1::jTower::m_TTowerArea { 1, 1}
private

Definition at line 197 of file jTower.h.

◆ m_TTowerAreaInv

std::vector<int> LVL1::jTower::m_TTowerAreaInv { 1, 1}
private

Definition at line 198 of file jTower.h.


The documentation for this class was generated from the following files:
RunTileCalibRec.cells
cells
Definition: RunTileCalibRec.py:271
test_pyathena.eta
eta
Definition: test_pyathena.py:10
LVL1::jTower::m_HAD_sat
bool m_HAD_sat
Definition: jTower.h:205
et
Extra patterns decribing particle interation process.
LVL1::jTower::m_iPhi
int m_iPhi
Definition: jTower.h:185
LVL1::s_nLayers
const size_t s_nLayers
Definition: eTower.cxx:19
ReadCellNoiseFromCool.cell
cell
Definition: ReadCellNoiseFromCool.py:53
ID
std::vector< Identifier > ID
Definition: CalibHitIDCheck.h:24
xAOD::et
et
Definition: TrigEMCluster_v1.cxx:25
M_PI
#define M_PI
Definition: ActiveFraction.h:11
LVL1::jTower::m_centre_phi
float m_centre_phi
Definition: jTower.h:190
LVL1::jTower::m_TTowerAreaInv
std::vector< int > m_TTowerAreaInv
Definition: jTower.h:198
LVL1::s_cells
const int s_cells[s_nLayers]
Definition: eTower.cxx:20
LVL1::jTower::m_fcal_layer
int m_fcal_layer
Definition: jTower.h:199
LVL1::jTower::m_tower_id_online
int m_tower_id_online
Definition: jTower.h:187
LVL1::jTower::m_maxEt_pileup_thr
int m_maxEt_pileup_thr
Definition: jTower.h:203
LVL1::s_offsets
const int s_offsets[s_nLayers]
Definition: eTower.cxx:21
LVL1::jTower::m_iEta
int m_iEta
Internal data.
Definition: jTower.h:184
xAOD::phi
setEt phi
Definition: TrigEMCluster_v1.cxx:29
LVL1::jFEXCompression::Expand
static int Expand(unsigned int code)
Uncompress data.
Definition: jFEXCompression.cxx:58
uint
unsigned int uint
Definition: LArOFPhaseFill.cxx:20
LVL1::jTower::clearET
void clearET()
Clear supercell ET values.
Definition: jTower.cxx:58
lumiFormat.i
int i
Definition: lumiFormat.py:85
LVL1::jFEXCompression::Compress
static unsigned int Compress(float floatEt, bool empty=false)
Compress data.
Definition: jFEXCompression.cxx:25
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
LVL1::jTower::addET
void addET(float et, int cell)
Add to ET of a specified cell in MeV.
Definition: jTower.cxx:88
LVL1::jTower::m_TTowerArea
std::vector< int > m_TTowerArea
Definition: jTower.h:197
LVL1::jTower::m_et
std::vector< int > m_et
Definition: jTower.h:195
DeMoUpdate.tmp
string tmp
Definition: DeMoUpdate.py:1167
LVL1::jTower::m_tower_id
int m_tower_id
Definition: jTower.h:186
LVL1::jTower::m_HAD_scID
std::vector< Identifier > m_HAD_scID
Definition: jTower.h:194
LVL1::jTower::m_et_float_raw
std::vector< float > m_et_float_raw
Definition: jTower.h:196
LVL1::jTower::m_centre_eta
float m_centre_eta
Definition: jTower.h:189
LVL1::jTower::m_EM_sat
bool m_EM_sat
Definition: jTower.h:204
LVL1::jTower::m_EM_scID
std::vector< Identifier > m_EM_scID
Definition: jTower.h:193
LVL1::jTower::set_Et
void set_Et(int layer, int et)
Set ET value in MeV.
Definition: jTower.cxx:103
LVL1::jTower::m_NoiseForJet
int m_NoiseForJet[2]
Definition: jTower.h:201
LVL1::jTower::m_posneg
int m_posneg
Definition: jTower.h:188
area
double area(double R)
Definition: ConvertStaveServices.cxx:42
LVL1::jTower::m_centre_phi_toPI
float m_centre_phi_toPI
Definition: jTower.h:191
LVL1::jTower::m_minEt_pileup_thr
int m_minEt_pileup_thr
Definition: jTower.h:202
LVL1::jTower::m_NoiseForMet
int m_NoiseForMet[2]
Definition: jTower.h:200