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 36 of file jTower.h.

Constructor & Destructor Documentation

◆ jTower() [1/2]

LVL1::jTower::jTower ( )

Constructors.

Definition at line 24 of file jTower.cxx.

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

◆ 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 38 of file jTower.cxx.

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

◆ ~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 85 of file jTower.cxx.

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

◆ centreEta()

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

Definition at line 79 of file jTower.h.

79 {return m_centre_eta;}

◆ centrePhi()

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

Definition at line 80 of file jTower.h.

80 {return m_centre_phi;}

◆ centrephi_toPI()

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

Definition at line 81 of file jTower.h.

81 {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 64 of file jTower.cxx.

65  {
66  m_EM_scID.clear();
67  }

◆ clear_HAD_scIDs()

void LVL1::jTower::clear_HAD_scIDs ( )

Clear and resize HAD SC Identifier value vector.

Definition at line 70 of file jTower.cxx.

71  {
72  m_HAD_scID.clear();
73  }

◆ clearET()

void LVL1::jTower::clearET ( )

Clear supercell ET values.

Clear and resize ET value vector.

Definition at line 55 of file jTower.cxx.

56  {
57  m_et.clear();
58  m_et.resize(2,0);
59  m_et_float_raw.clear();
60  m_et_float_raw.resize(2,0.0);
61  }

◆ constid()

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

Definition at line 110 of file jTower.h.

110 {return m_tower_id;};

◆ Do_LAr_encoding()

void LVL1::jTower::Do_LAr_encoding ( )

Applies LAr digitization scheme.

Definition at line 154 of file jTower.cxx.

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

◆ fcalLayer()

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

Definition at line 100 of file jTower.h.

100 {return m_fcal_layer;}

◆ getEMSat()

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

Definition at line 56 of file jTower.h.

56 {return m_EM_sat; };

◆ getEMSCID()

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

Definition at line 168 of file jTower.h.

168 { return m_EM_scID[cell]; }

◆ getEMSCIDs()

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

Definition at line 165 of file jTower.h.

165 { 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 176 of file jTower.cxx.

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

◆ getET_EM()

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

Get EM ET value in MeV.

Definition at line 131 of file jTower.h.

131 {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 187 of file jTower.cxx.

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

◆ getET_HAD()

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

Get HAD ET value in MeV.

Definition at line 134 of file jTower.h.

134 {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 125 of file jTower.h.

125 {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 149 of file jTower.h.

149 {return m_et_float_raw;};

◆ getHADSat()

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

Definition at line 59 of file jTower.h.

59 {return m_HAD_sat;};

◆ getHADSCID()

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

Definition at line 169 of file jTower.h.

169 { return m_HAD_scID[cell]; }

◆ getHADSCIDs()

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

Definition at line 166 of file jTower.h.

166 { 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 223 of file jTower.cxx.

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

◆ 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 239 of file jTower.cxx.

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

◆ getLayerSCIDs()

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

Definition at line 282 of file jTower.cxx.

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

◆ 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 255 of file jTower.cxx.

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

◆ 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 269 of file jTower.cxx.

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

◆ getMaxEtforPileup()

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

Definition at line 95 of file jTower.h.

95 {return m_maxEt_pileup_thr;};

◆ getMinEtforPileup()

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

Definition at line 93 of file jTower.h.

93 {return m_minEt_pileup_thr;};

◆ getNoiseForJet()

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

Definition at line 347 of file jTower.cxx.

347  {
348  return m_NoiseForJet[layer];
349 }

◆ getNoiseForMet()

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

Definition at line 338 of file jTower.cxx.

338  {
339  return m_NoiseForMet[layer];
340 }

◆ getPosNeg()

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

Definition at line 175 of file jTower.h.

175 {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 198 of file jTower.cxx.

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

◆ 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 210 of file jTower.cxx.

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

◆ getTowerSat()

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

Definition at line 61 of file jTower.h.

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

◆ getTTowerArea()

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

Definition at line 321 of file jTower.cxx.

321  {
322  return m_TTowerArea.at(layer);
323 }

◆ getTTowerAreaInv()

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

Definition at line 329 of file jTower.cxx.

329  {
330  return m_TTowerAreaInv.at(layer);
331 }

◆ iEta()

int LVL1::jTower::iEta ( ) const

Get coordinates of tower.

Return global eta index.

Definition at line 166 of file jTower.cxx.

166  {
167  return m_iEta;
168 }

◆ iPhi()

int LVL1::jTower::iPhi ( ) const

Return global phi index.

Definition at line 171 of file jTower.cxx.

171  {
172  return m_iPhi;
173 }

◆ OfflineID() [1/2]

int LVL1::jTower::OfflineID ( )
inline

Definition at line 107 of file jTower.h.

107 {return m_tower_id;};

◆ OfflineID() [2/2]

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

Definition at line 108 of file jTower.h.

108 {return m_tower_id;}

◆ OnlineID() [1/2]

int LVL1::jTower::OnlineID ( )
inline

Definition at line 105 of file jTower.h.

105 {return m_tower_id_online;};

◆ OnlineID() [2/2]

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

Definition at line 106 of file jTower.h.

106 {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 100 of file jTower.cxx.

100  {
101  m_et[layer] = et;
102 }

◆ 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 122 of file jTower.cxx.

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

◆ set_TileCal_Et()

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

Definition at line 105 of file jTower.cxx.

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

◆ setCentreEta()

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

Add to eta/phi values of a specified tower.

Definition at line 295 of file jTower.cxx.

295  {
296  m_centre_eta = eta;
297 }

◆ setCentrePhi()

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

Definition at line 303 of file jTower.cxx.

303  {
305  m_centre_phi = phi;
306  if(m_centre_phi<0) m_centre_phi = 2*M_PI+phi;
307 }

◆ setEMSat()

void LVL1::jTower::setEMSat ( )
inline

set and get saturation

Definition at line 55 of file jTower.h.

55 {m_EM_sat = true;};

◆ setHADSat()

void LVL1::jTower::setHADSat ( )
inline

Definition at line 58 of file jTower.h.

58 {m_HAD_sat = true;};

◆ setiEta()

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

Definition at line 299 of file jTower.cxx.

299  {
300  m_iEta = eta;
301 }

◆ setiPhi()

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

Definition at line 309 of file jTower.cxx.

309  {
310  m_iPhi = phi;
311 }

◆ setMaxEtforPileup()

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

Definition at line 94 of file jTower.h.

94 {m_maxEt_pileup_thr=etval;};

◆ setMinEtforPileup()

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

Add to pilup lower and upper thresholds.

Definition at line 92 of file jTower.h.

92 {m_minEt_pileup_thr=etval;};

◆ setNoiseForJet()

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

Definition at line 342 of file jTower.cxx.

342  {
343  m_NoiseForJet[layer]=noiseVal;
344 }

◆ setNoiseForMet()

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

Noise values for each layer and object.

Definition at line 333 of file jTower.cxx.

333  {
334  m_NoiseForMet[layer]=noiseVal;
335 }

◆ setOnlineID()

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

Definition at line 313 of file jTower.cxx.

313  {
314  m_tower_id_online = tower_id_online;
315 }

◆ setPosNeg()

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

Definition at line 76 of file jTower.cxx.

76  {
77 
78  m_posneg = posneg;
79 
80  return;
81 
82 }

◆ setTTowerArea()

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

Add to Area values of a specified tower.

Definition at line 317 of file jTower.cxx.

317  {
318  m_TTowerArea.at(layer)=area;
319 }

◆ setTTowerAreaInv()

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

Add to Area inverted values of a specified tower.

Definition at line 325 of file jTower.cxx.

325  {
327 }

Member Data Documentation

◆ m_centre_eta

float LVL1::jTower::m_centre_eta =0
private

Definition at line 185 of file jTower.h.

◆ m_centre_phi

float LVL1::jTower::m_centre_phi =0
private

Definition at line 186 of file jTower.h.

◆ m_centre_phi_toPI

float LVL1::jTower::m_centre_phi_toPI =0
private

Definition at line 187 of file jTower.h.

◆ m_EM_sat

bool LVL1::jTower::m_EM_sat = false
private

Definition at line 200 of file jTower.h.

◆ m_EM_scID

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

Definition at line 189 of file jTower.h.

◆ m_et

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

Definition at line 191 of file jTower.h.

◆ m_et_float_raw

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

Definition at line 192 of file jTower.h.

◆ m_fcal_layer

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

Definition at line 195 of file jTower.h.

◆ m_HAD_sat

bool LVL1::jTower::m_HAD_sat = false
private

Definition at line 201 of file jTower.h.

◆ m_HAD_scID

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

Definition at line 190 of file jTower.h.

◆ m_iEta

int LVL1::jTower::m_iEta =0
private

Internal data.

Definition at line 180 of file jTower.h.

◆ m_iPhi

int LVL1::jTower::m_iPhi =0
private

Definition at line 181 of file jTower.h.

◆ m_maxEt_pileup_thr

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

Definition at line 199 of file jTower.h.

◆ m_minEt_pileup_thr

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

Definition at line 198 of file jTower.h.

◆ m_NoiseForJet

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

Definition at line 197 of file jTower.h.

◆ m_NoiseForMet

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

Definition at line 196 of file jTower.h.

◆ m_posneg

int LVL1::jTower::m_posneg = 0
private

Definition at line 184 of file jTower.h.

◆ m_tower_id

int LVL1::jTower::m_tower_id = 0
private

Definition at line 182 of file jTower.h.

◆ m_tower_id_online

int LVL1::jTower::m_tower_id_online = 0
private

Definition at line 183 of file jTower.h.

◆ m_TTowerArea

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

Definition at line 193 of file jTower.h.

◆ m_TTowerAreaInv

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

Definition at line 194 of file jTower.h.


The documentation for this class was generated from the following files:
RunTileCalibRec.cells
cells
Definition: RunTileCalibRec.py:281
test_pyathena.eta
eta
Definition: test_pyathena.py:10
LVL1::jTower::m_HAD_sat
bool m_HAD_sat
Definition: jTower.h:201
et
Extra patterns decribing particle interation process.
LVL1::jTower::m_iPhi
int m_iPhi
Definition: jTower.h:181
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:186
LVL1::jTower::m_TTowerAreaInv
std::vector< int > m_TTowerAreaInv
Definition: jTower.h:194
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:195
LVL1::jTower::m_tower_id_online
int m_tower_id_online
Definition: jTower.h:183
LVL1::jTower::m_maxEt_pileup_thr
int m_maxEt_pileup_thr
Definition: jTower.h:199
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:180
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:55
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:85
LVL1::jTower::m_TTowerArea
std::vector< int > m_TTowerArea
Definition: jTower.h:193
LVL1::jTower::m_et
std::vector< int > m_et
Definition: jTower.h:191
DeMoUpdate.tmp
string tmp
Definition: DeMoUpdate.py:1167
LVL1::jTower::m_tower_id
int m_tower_id
Definition: jTower.h:182
LVL1::jTower::m_HAD_scID
std::vector< Identifier > m_HAD_scID
Definition: jTower.h:190
LVL1::jTower::m_et_float_raw
std::vector< float > m_et_float_raw
Definition: jTower.h:192
LVL1::jTower::m_centre_eta
float m_centre_eta
Definition: jTower.h:185
LVL1::jTower::m_EM_sat
bool m_EM_sat
Definition: jTower.h:200
LVL1::jTower::m_EM_scID
std::vector< Identifier > m_EM_scID
Definition: jTower.h:189
LVL1::jTower::set_Et
void set_Et(int layer, int et)
Set ET value in MeV.
Definition: jTower.cxx:100
LVL1::jTower::m_NoiseForJet
int m_NoiseForJet[2]
Definition: jTower.h:197
LVL1::jTower::m_posneg
int m_posneg
Definition: jTower.h:184
area
double area(double R)
Definition: ConvertStaveServices.cxx:42
LVL1::jTower::m_centre_phi_toPI
float m_centre_phi_toPI
Definition: jTower.h:187
LVL1::jTower::m_minEt_pileup_thr
int m_minEt_pileup_thr
Definition: jTower.h:198
LVL1::jTower::m_NoiseForMet
int m_NoiseForMet[2]
Definition: jTower.h:196