ATLAS Offline Software
RecEmTauRoI.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 // $Id: RecEmTauRoI.cxx 796120 2017-02-08 03:20:47Z ssnyder $
5 /***************************************************************************
6  RecEmTauRoI.cxx - description
7  -------------------
8  begin : Mon Jan 22 2001
9  email : moyse@heppch.ph.qmw.ac.uk
10 ***************************************************************************/
11 
12 
13 // STL include(s):
14 #include <cmath>
15 
16 // Trigger config includes:
22 #include "TrigConfData/L1Menu.h"
23 
24 // Local include(s):
27 
28 using namespace std;
29 using namespace TrigConf;
30 
33 LVL1::RecEmTauRoI::RecEmTauRoI( unsigned int RoIWord,
34  const std::vector<TriggerThreshold *> *caloThresholds)
35  : m_roiWord(RoIWord),
36  m_decoder(new CPRoIDecoder()),
37  m_type(m_decoder->roiType(m_roiWord)),
38  m_coordRange(m_decoder->coordinate(m_roiWord))
39 {
41  this->constructRun1(caloThresholds);
42  }
45  {
46  this->constructRun2(caloThresholds);
47  }
48  else
49  {
50  m_thresholdMask = 0;
52  m_isolationMask.clear();
53  m_emIsolation.clear();
54  m_hadIsolation.clear();
55  m_hadCoreIsolation.clear();
56  m_thresholdType.clear();
57  }
58 }
59 
60 LVL1::RecEmTauRoI::RecEmTauRoI(unsigned int RoIWord,
61  const TrigConf::L1Menu *const l1menu) :
62  m_roiWord(RoIWord),
63  m_decoder(new CPRoIDecoder()),
64  m_type(m_decoder->roiType(m_roiWord)),
65  m_coordRange(m_decoder->coordinate(m_roiWord))
66 {
68 }
69 
70 // written copy constructor
72  m_roiWord{obj.m_roiWord},
73  m_decoder{new CPRoIDecoder()},
74  m_type{obj.m_type},
75  m_coordRange{obj.m_coordRange},
76  m_thresholdMask{obj.m_thresholdMask},
77  m_triggerThresholdValue{obj.m_triggerThresholdValue},
78  m_isolationMask{obj.m_isolationMask},
79  m_emIsolation{obj.m_emIsolation},
80  m_hadIsolation{obj.m_hadIsolation},
81  m_hadCoreIsolation{obj.m_hadCoreIsolation},
82  m_thresholdType{obj.m_thresholdType}
83 {}
84 
85 // written assignment operator
88 {
89  if(this != &rhs) {
90  m_roiWord = rhs.m_roiWord;
91  delete m_decoder;
92  m_decoder = new CPRoIDecoder();
93  m_type = rhs.m_type;
94  m_coordRange = rhs.m_coordRange;
95  m_thresholdMask = rhs.m_thresholdMask;
96  m_triggerThresholdValue = rhs.m_triggerThresholdValue;
97  m_isolationMask = rhs.m_isolationMask;
98  m_emIsolation = rhs.m_emIsolation;
99  m_hadIsolation = rhs.m_hadIsolation;
100  m_hadCoreIsolation = rhs.m_hadCoreIsolation;
101  m_thresholdType = rhs.m_thresholdType;
102  }
103  return *this;
104 }
105 
107  delete m_decoder;
108 }
109 
121  const std::vector<TriggerThreshold *> *caloThresholds)
122 {
123 
124  m_thresholdMask = m_roiWord & 0xffff;
125 
126  m_triggerThresholdValue.clear();
127  m_isolationMask.clear();
128  m_emIsolation.clear();
129  m_hadIsolation.clear();
130  m_hadCoreIsolation.clear();
131  m_thresholdType.clear();
132 
133  const vector<unsigned int> passed_thresholds =
134  m_decoder->thresholdsPassed(m_roiWord);
135 
136  // Copy the thresholds into a map - makes matching up the passed ones very easy
137  std::map<int, TriggerThreshold *> thrMap;
138 
139  for (std::vector<TriggerThreshold *>::const_iterator it =
140  caloThresholds->begin();
141  it != caloThresholds->end(); ++it)
142  {
143  if ((*it)->type() == L1DataDef::emType() ||
144  (*it)->type() == L1DataDef::tauType())
145  {
146  int num = (*it)->thresholdNumber();
147  thrMap.insert(std::map<int, TriggerThreshold *>::value_type(num, (*it)));
148  }
149  }
150 
151  //
152  // Extract the properties of the passed thresholds:
153  //
154 
155  int ieta = int((m_coordRange.etaRange().min() + 0.025) / 0.1) +
156  ((m_coordRange.etaRange().min() + 0.025 > 0) ? 0 : -1);
157  int iphi = int((m_coordRange.phiRange().min() + 0.025) * 32 / M_PI);
158 
159  for (vector<unsigned int>::const_iterator itp = passed_thresholds.begin();
160  itp != passed_thresholds.end(); ++itp)
161  {
162  std::map<int, TriggerThreshold *>::const_iterator thr =
163  thrMap.find(*itp - 1);
164  if (thr != thrMap.end())
165  {
166  TriggerThresholdValue *ttv =
167  thr->second->triggerThresholdValue(ieta, iphi);
168  ClusterThresholdValue *ctv = dynamic_cast<ClusterThresholdValue *>(ttv);
169  if (ctv)
170  {
171  m_triggerThresholdValue.insert(std::map<int, unsigned int>::value_type(
172  *itp, ctv->thresholdValueCount()));
173  m_emIsolation.insert(std::map<int, unsigned int>::value_type(
174  *itp, ctv->emIsolationCount()));
175  m_hadIsolation.insert(std::map<int, unsigned int>::value_type(
176  *itp, ctv->hadIsolationCount()));
177  m_hadCoreIsolation.insert(
178  std::map<int, unsigned int>::value_type(*itp, ctv->hadVetoCount()));
180  ((ctv->type() == L1DataDef::emType()) ? TrigT1CaloDefs::EMAlg
182  m_thresholdType.insert(
183  std::map<int, TrigT1CaloDefs::ClusterAlgorithm>::value_type(*itp,
184  type));
185  }
186  } // end "found threshold in map"
187  } // end loop through passed thresholds
188 
189  return;
190 }
191 
196 void LVL1::RecEmTauRoI::constructRun2(const std::vector<TriggerThreshold *> *caloThresholds)
197 {
198 
199  m_thresholdMask = 0;
200  m_triggerThresholdValue.clear();
201  m_isolationMask.clear();
202  m_emIsolation.clear();
203  m_hadIsolation.clear();
204  m_hadCoreIsolation.clear();
205  m_thresholdType.clear();
206 
207  std::string triggerType =
208  (m_type == TrigT1CaloDefs::EMRoIWordType ? L1DataDef::emType()
209  : L1DataDef::tauType());
210 
211  int ieta = int((m_coordRange.etaRange().min() + 0.025) / 0.1) +
212  ((m_coordRange.etaRange().min() + 0.025 > 0) ? 0 : -1);
213  int iphi = int((m_coordRange.phiRange().min() + 0.025) * 32 / M_PI);
214 
215  unsigned int isolWord = isolation();
216 
217  // Iterate through vector of thresholds and see which ones this RoI satisfies
218  for (std::vector<TriggerThreshold *>::const_iterator it =
219  caloThresholds->begin();
220  it != caloThresholds->end(); ++it) {
221  if ((*it)->type() == triggerType) {
222  // Does it satisfy this one?
223  // Start by extracting threshold values
224  TriggerThresholdValue *ttv = (*it)->triggerThresholdValue(ieta, iphi);
225  ClusterThresholdValue *ctv = dynamic_cast<ClusterThresholdValue *>(ttv);
226  if (ctv) {
227  float scale = ctv->caloInfo().globalEmScale();
228  unsigned int etCut = ctv->ptcut();
229  unsigned int threshold = etCut * scale;
230  unsigned int isolMask = ctv->isolationMask();
231 
232  bool isolationPassed = true;
233  for (unsigned int bit = 0; bit < TrigT1CaloDefs::numOfIsolationBits;
234  ++bit)
235  if ((isolMask & (1 << bit)) && !(isolWord & (1 << bit)))
236  isolationPassed = false;
237 
238  if (et() > threshold && isolationPassed) {
239  int num = (*it)->thresholdNumber();
240  m_triggerThresholdValue.insert(
241  std::map<int, unsigned int>::value_type(num, etCut));
242  m_isolationMask.insert(
243  std::map<int, unsigned int>::value_type(num, isolMask));
245  ((ctv->type() == L1DataDef::emType()) ? TrigT1CaloDefs::EMAlg
247  m_thresholdType.insert(
248  std::map<int, TrigT1CaloDefs::ClusterAlgorithm>::value_type(
249  num, type));
250  m_thresholdMask |= (1 << num);
251  } // passes cuts
252  } // ClusterThresholdValue pointer valid
253  } // correct threshold type
254  } // Loop over thresholds
255 }
256 
258 {
259  m_thresholdMask = 0;
260  m_triggerThresholdValue.clear();
261  m_isolationMask.clear();
262  m_emIsolation.clear();
263  m_hadIsolation.clear();
264  m_hadCoreIsolation.clear();
265  m_thresholdType.clear();
266 
267  std::string triggerType = (m_type == TrigT1CaloDefs::EMRoIWordType ? "EM" : "TAU");
268 
269  // get the integer eta value
270  // eta value of ROIs goes in steps of 0.1 and on the negative side 1 is subtracted to avoid overlap at 0
271  // (copied from constructRun2)
272  int ieta = int((m_coordRange.etaRange().min() + 0.025) / 0.1) +
273  ((m_coordRange.etaRange().min() + 0.025 > 0) ? 0 : -1);
274 
275  unsigned int isolWord = RecEmTauRoI::isolation();
276 
277  // Iterate through the configured thresholds and see which ones this RoI satisfies
278  for (shared_ptr<TrigConf::L1Threshold> thr : l1menu->thresholds(triggerType))
279  {
280  // Start by extracting threshold values
281  auto caloThr = std::dynamic_pointer_cast<TrigConf::L1Threshold_Calo>(thr);
282  if (!caloThr)
283  {
284  continue;
285  }
286 
287  // test eT
288  unsigned int etCut = std::round(caloThr->thrValue(ieta)); // threshold value in GeV (integer for legacy thr)
289  unsigned int etCounts = caloThr->thrValueCounts(ieta); // threshold counts (threshold value * emscale)
290  bool eTPassed = (RecEmTauRoI::et() > etCounts);
291 
292  // test isolation
293  unsigned int isolMask = 0;
294  if (triggerType == "EM")
295  {
296  auto emThr = std::dynamic_pointer_cast<TrigConf::L1Threshold_EM>(thr);
297  if (emThr)
298  {
299  isolMask = emThr->isolationMask(ieta);
300  }
301  }
302  else if (triggerType == "TAU")
303  {
304  auto tauThr = std::dynamic_pointer_cast<TrigConf::L1Threshold_TAU>(thr);
305  if (tauThr)
306  {
307  isolMask = tauThr->isolationMask();
308  }
309  }
310  bool isolationPassed = true;
311  for (unsigned int bit = 0; bit < TrigT1CaloDefs::numOfIsolationBits; ++bit)
312  {
313  if ((isolMask & (1 << bit)) && !(isolWord & (1 << bit)))
314  {
315  isolationPassed = false;
316  }
317  }
318 
319  if (eTPassed && isolationPassed)
320  {
321  int num = thr->mapping();
322  m_triggerThresholdValue[num] = etCut;
323  m_isolationMask[num] = isolMask;
325  m_thresholdMask |= (1 << num);
326  } // passes cuts
327  } // Loop over thresholds
328 }
329 
330 unsigned int LVL1::RecEmTauRoI::roiWord() const { return m_roiWord; }
331 
334 {
335 
336  double roiPhi = m_coordRange.phi();
337  if (roiPhi > M_PI)
338  roiPhi -= 2 * M_PI;
339  return roiPhi;
340 }
341 
343 double LVL1::RecEmTauRoI::eta() const { return m_coordRange.eta(); }
344 
346 unsigned int LVL1::RecEmTauRoI::crate() const { return m_decoder->crate(m_roiWord); }
347 
349 unsigned int LVL1::RecEmTauRoI::module() const
350 {
351  return m_decoder->module(m_roiWord);
352 }
353 
355 unsigned int LVL1::RecEmTauRoI::fpga() const { return m_decoder->chip(m_roiWord); }
356 
358 unsigned int LVL1::RecEmTauRoI::localcoord() const
359 {
360  return m_decoder->localcoord(m_roiWord);
361 }
362 
364 unsigned int LVL1::RecEmTauRoI::et() const { return m_decoder->et(m_roiWord); }
365 
367 unsigned int LVL1::RecEmTauRoI::isolation() const
368 {
369 
370  return m_decoder->isolationWord(m_roiWord);
371 }
372 
374 unsigned int LVL1::RecEmTauRoI::thresholdPattern() const { return m_thresholdMask; }
375 
379 
382 bool LVL1::RecEmTauRoI::passedThreshold(unsigned int threshold_number) const
383 {
384  if (this->isValidThreshold(threshold_number)) {
385  return ((1 << threshold_number) & m_thresholdMask) != 0;
386  }
387  return false;
388 }
389 
393 LVL1::CoordinateRange LVL1::RecEmTauRoI::coord() const { return m_coordRange; }
394 
396 std::vector<unsigned int> *
398 {
399  std::vector<unsigned int> *newVec = new std::vector<unsigned int>;
400 
401  unsigned int nThresh = TrigT1CaloDefs::numOfCPThresholds;
406 
407  for (unsigned int iTh = 0; iTh <= nThresh; ++iTh) {
408  std::map<int, unsigned int>::const_iterator it =
409  m_triggerThresholdValue.find(iTh);
410  if (it != m_triggerThresholdValue.end())
411  newVec->push_back(iTh);
412  }
413 
414  return newVec;
415 }
416 
419 unsigned int LVL1::RecEmTauRoI::triggerThreshold(const unsigned int thresh) const
420 {
421 
422  std::map<int, unsigned int>::const_iterator it =
423  m_triggerThresholdValue.find(thresh);
424  if (it != m_triggerThresholdValue.end())
425  {
426  return (it->second);
427  }
428  return TrigT1CaloDefs::Error;
429 }
430 
433 unsigned int LVL1::RecEmTauRoI::isolationMask(const unsigned int thresh) const
434 {
435 
437  return 0;
438 
439  std::map<int, unsigned int>::const_iterator it = m_isolationMask.find(thresh);
440  if (it != m_isolationMask.end())
441  {
442  return (it->second);
443  }
444  return TrigT1CaloDefs::Error;
445 }
446 
449 unsigned int LVL1::RecEmTauRoI::emIsolation(const unsigned int thresh) const
450 {
451 
453  return 0;
454 
455  std::map<int, unsigned int>::const_iterator it = m_emIsolation.find(thresh);
456  if (it != m_emIsolation.end())
457  {
458  return (it->second);
459  }
460  return TrigT1CaloDefs::Error;
461 }
462 
465 unsigned int LVL1::RecEmTauRoI::hadIsolation(const unsigned int thresh) const
466 {
468  return 0;
469 
470  map<int, unsigned int>::const_iterator it = m_hadIsolation.find(thresh);
471  if (it != m_hadIsolation.end())
472  {
473  return (it->second);
474  }
475  return TrigT1CaloDefs::Error;
476 }
477 
480 unsigned int LVL1::RecEmTauRoI::hadCoreIsolation(const unsigned int thresh) const
481 {
482 
484  return 0;
485 
486  map<int, unsigned int>::const_iterator it = m_hadCoreIsolation.find(thresh);
487  if (it != m_hadCoreIsolation.end())
488  {
489  return (it->second);
490  }
491  return TrigT1CaloDefs::Error;
492 }
493 
495 bool LVL1::RecEmTauRoI::isValidThreshold(const unsigned int thresh) const
496 {
498  {
500  }
502  {
504  }
506  {
508  }
509  return false;
510 }
511 
515 LVL1::RecEmTauRoI::thresholdType(const unsigned int thresh) const
516 {
517 
518  map<int, TrigT1CaloDefs::ClusterAlgorithm>::const_iterator it =
519  m_thresholdType.find(thresh);
520  if (it != m_thresholdType.end())
521  {
522  return it->second;
523  }
525 }
TrigConf::TriggerThresholdValue
Definition: TriggerThresholdValue.h:22
TrigConf::ClusterThresholdValue::thresholdValueCount
virtual int thresholdValueCount() const override
Definition: ClusterThresholdValue.cxx:58
LVL1::RecEmTauRoI::operator=
RecEmTauRoI & operator=(const RecEmTauRoI &obj)
Definition: RecEmTauRoI.cxx:87
RecEmTauRoI.h
TruthTest.itp
itp
Definition: TruthTest.py:46
LVL1::RecEmTauRoI::hadIsolation
unsigned int hadIsolation(unsigned int thresh) const
returns the value of the hadronic layer isolation ring for the threshold passed.
Definition: RecEmTauRoI.cxx:465
LVL1::RecEmTauRoI::hadCoreIsolation
unsigned int hadCoreIsolation(unsigned int thresh) const
returns the value of the hadronic layer core isolation for the threshold passed.
Definition: RecEmTauRoI.cxx:480
HLTSeedingRoIToolDefs::roiPhi
constexpr float roiPhi(const AnyRoIPointer &roi)
Definition: HLTSeedingRoIToolDefs.h:167
LVL1::RecEmTauRoI::m_thresholdType
std::map< int, TrigT1CaloDefs::ClusterAlgorithm > m_thresholdType
Definition: RecEmTauRoI.h:156
LVL1::TrigT1CaloDefs::ClustAlgError
@ ClustAlgError
Definition: TrigT1CaloDefs.h:211
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
xAOD::et
et
Definition: TrigEMCluster_v1.cxx:25
LVL1::RecEmTauRoI::crate
virtual unsigned int crate() const
returns CP crate number
Definition: RecEmTauRoI.cxx:346
LVL1::TrigT1CaloDefs::TauRoIWordType
@ TauRoIWordType
Definition: TrigT1CaloDefs.h:173
physval_make_web_display.thresh
thresh
Definition: physval_make_web_display.py:35
LVL1::RecEmTauRoI::isolation
virtual unsigned int isolation() const
returns roi isolation results (Run 2 only)
Definition: RecEmTauRoI.cxx:367
CPRoIDecoder.h
MuonGM::round
float round(const float toRound, const unsigned int decimals)
Definition: Mdt.cxx:27
CSV_InDetExporter.new
new
Definition: CSV_InDetExporter.py:145
skel.it
it
Definition: skel.GENtoEVGEN.py:423
TrigConf::TriggerThresholdValue::ptcut
float ptcut() const
Definition: TriggerThresholdValue.h:45
LVL1::RecEmTauRoI::coord
CoordinateRange coord() const
returns the CoordinateRange.
Definition: RecEmTauRoI.cxx:393
M_PI
#define M_PI
Definition: ActiveFraction.h:11
NSWL1::coordinate
float coordinate(const Vertex &v)
Definition: GeoUtils.h:56
TrigConf::L1Menu
L1 menu configuration.
Definition: L1Menu.h:28
LVL1::TrigT1CaloDefs::ClusterAlgorithm
ClusterAlgorithm
Definition: TrigT1CaloDefs.h:207
LVL1::RecEmTauRoI::m_emIsolation
std::map< int, unsigned int > m_emIsolation
Definition: RecEmTauRoI.h:153
LVL1::TrigT1CaloDefs::EMAlg
@ EMAlg
Definition: TrigT1CaloDefs.h:208
yodamerge_tmp.scale
scale
Definition: yodamerge_tmp.py:138
LVL1::RecEmTauRoI::roiWord
virtual unsigned int roiWord() const
returns roi word
Definition: RecEmTauRoI.cxx:330
TrigConf::ClusterThresholdValue
Definition: ClusterThresholdValue.h:13
TrigConf::ClusterThresholdValue::isolationMask
uint16_t isolationMask() const
Definition: ClusterThresholdValue.h:33
LVL1::RecEmTauRoI::constructRun2
void constructRun2(const std::vector< TrigConf::TriggerThreshold * > *caloThresholds)
Content of RoI word different in Run 2.
Definition: RecEmTauRoI.cxx:196
LVL1::RecEmTauRoI::m_hadCoreIsolation
std::map< int, unsigned int > m_hadCoreIsolation
Definition: RecEmTauRoI.h:155
LVL1::RecEmTauRoI::passedThreshold
bool passedThreshold(unsigned int threshold_number) const
returns TRUE if threshold number threshold_number has been passed by this ROI.
Definition: RecEmTauRoI.cxx:382
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
LVL1::TrigT1CaloDefs::numOfIsolationBits
static const unsigned int numOfIsolationBits
Definition: TrigT1CaloDefs.h:134
m_type
TokenType m_type
the type
Definition: TProperty.cxx:44
TrigConf::ClusterThresholdValue::emIsolationCount
int emIsolationCount() const
Definition: ClusterThresholdValue.cxx:28
LVL1::RecEmTauRoI::isValidThreshold
bool isValidThreshold(unsigned int thresh) const
returns true if thresh is a valid threshold number
Definition: RecEmTauRoI.cxx:495
LVL1::CoordinateRange
CoordinateRange class declaration.
Definition: CoordinateRange.h:36
LVL1::RecEmTauRoI::constructRun3
void constructRun3(const TrigConf::L1Menu *const l1menu)
Definition: RecEmTauRoI.cxx:257
LVL1::RecEmTauRoI::fpga
virtual unsigned int fpga() const
returns FPGA number
Definition: RecEmTauRoI.cxx:355
CaloInfo.h
LVL1::RecEmTauRoI::RecEmTauRoI
RecEmTauRoI()
Definition: RecEmTauRoI.h:48
LVL1::RecEmTauRoI::triggerThreshold
unsigned int triggerThreshold(unsigned int thresh) const
returns the value of the trigger threshold for the threshold passed.
Definition: RecEmTauRoI.cxx:419
LVL1::TrigT1CaloDefs::TauAlg
@ TauAlg
Definition: TrigT1CaloDefs.h:209
LVL1::RecEmTauRoI
This class defines the reconstructed em/tau hadron ROI.
Definition: RecEmTauRoI.h:44
TrigConf::TriggerThresholdValue::type
const std::string & type() const
Definition: TriggerThresholdValue.h:44
TriggerThreshold.h
TriggerThresholdValue.h
LVL1::RecEmTauRoI::thresholdsPassed
std::vector< unsigned int > * thresholdsPassed() const
returns a vector of thresholds passed.
Definition: RecEmTauRoI.cxx:397
LVL1::TrigT1CaloDefs::numOfTauCMXThresholds
static const unsigned int numOfTauCMXThresholds
Definition: TrigT1CaloDefs.h:132
LVL1::RecEmTauRoI::phi
virtual double phi() const
returns phi coord of ROI
Definition: RecEmTauRoI.cxx:333
trigbs_pickEvents.num
num
Definition: trigbs_pickEvents.py:76
LVL1::RecEmTauRoI::m_thresholdMask
unsigned long int m_thresholdMask
Definition: RecEmTauRoI.h:150
threshold
Definition: chainparser.cxx:74
LVL1::RecEmTauRoI::constructRun1
void constructRun1(const std::vector< TrigConf::TriggerThreshold * > *caloThresholds)
The "construct" call unpacks the RoIWord and copies information about the passed thresholds from the ...
Definition: RecEmTauRoI.cxx:120
LVL1::RecEmTauRoI::thresholdType
TrigT1CaloDefs::ClusterAlgorithm thresholdType(unsigned int thresh) const
returns the type of the threshold, which is either EMAlg or TauAlg.
Definition: RecEmTauRoI.cxx:515
L1DataDef.h
LVL1::TrigT1CaloDefs::RoIType
RoIType
Definition: TrigT1CaloDefs.h:165
TrigConf::ClusterThresholdValue::hadIsolationCount
int hadIsolationCount() const
Definition: ClusterThresholdValue.cxx:40
LVL1::CPRoIDecoder
A level 1 calorimeter trigger conversion service: returns the Coordinate represented by a RoI word.
Definition: CPRoIDecoder.h:37
LVL1::RecEmTauRoI::m_isolationMask
std::map< int, unsigned int > m_isolationMask
Definition: RecEmTauRoI.h:152
LVL1::RecEmTauRoI::localcoord
virtual unsigned int localcoord() const
returns local coordinate within FPGA
Definition: RecEmTauRoI.cxx:358
ClusterThresholdValue.h
LVL1::TrigT1CaloDefs::numOfCPThresholds
static const unsigned int numOfCPThresholds
Definition: TrigT1CaloDefs.h:124
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LVL1::TrigT1CaloDefs::numOfEMCMXThresholds
static const unsigned int numOfEMCMXThresholds
Definition: TrigT1CaloDefs.h:131
LVL1::RecEmTauRoI::m_hadIsolation
std::map< int, unsigned int > m_hadIsolation
Definition: RecEmTauRoI.h:154
LVL1::RecEmTauRoI::roiType
virtual TrigT1CaloDefs::RoIType roiType() const
returns roi type (EM = TrigT1CaloDefs::EMRoIWordType, Tau = TrigT1CaloDefs::TauRoIWordType,...
Definition: RecEmTauRoI.cxx:378
TrigConf::TriggerThresholdValue::caloInfo
const CaloInfo & caloInfo() const
Definition: TriggerThresholdValue.cxx:35
python.XMLReader.l1menu
l1menu
Definition: XMLReader.py:73
LVL1::RecEmTauRoI::module
virtual unsigned int module() const
returns CPM number
Definition: RecEmTauRoI.cxx:349
RunTileMonitoring.triggerType
triggerType
Definition: RunTileMonitoring.py:162
LVL1::RecEmTauRoI::m_coordRange
CoordinateRange m_coordRange
this contains the coordinate range worked out from the RoIWord hardware coord (i.e.
Definition: RecEmTauRoI.h:148
LVL1::TrigT1CaloDefs::EMRoIWordType
@ EMRoIWordType
Definition: TrigT1CaloDefs.h:172
TrigConf::ClusterThresholdValue::hadVetoCount
int hadVetoCount() const
Definition: ClusterThresholdValue.cxx:49
LVL1::RecEmTauRoI::m_type
TrigT1CaloDefs::RoIType m_type
Stored properties of the RoI:
Definition: RecEmTauRoI.h:144
LVL1::RecEmTauRoI::m_roiWord
unsigned long int m_roiWord
this is the actual format of the data sent from the LVL1 hardware.
Definition: RecEmTauRoI.h:138
LVL1::RecEmTauRoI::~RecEmTauRoI
~RecEmTauRoI()
Definition: RecEmTauRoI.cxx:106
L1Menu.h
LVL1::RecEmTauRoI::eta
virtual double eta() const
returns eta coord of ROI
Definition: RecEmTauRoI.cxx:343
LVL1::RecEmTauRoI::thresholdPattern
unsigned int thresholdPattern() const
returns bitmask of passed thresholds
Definition: RecEmTauRoI.cxx:374
LVL1::RecEmTauRoI::m_triggerThresholdValue
std::map< int, unsigned int > m_triggerThresholdValue
Definition: RecEmTauRoI.h:151
TrigConf::CaloInfo::globalEmScale
float globalEmScale() const
Definition: CaloInfo.h:43
python.PyAthena.obj
obj
Definition: PyAthena.py:135
LVL1::RecEmTauRoI::isolationMask
unsigned int isolationMask(unsigned int thresh) const
returns the isolation bits required for the threshold passed (Run 2)
Definition: RecEmTauRoI.cxx:433
LVL1::TrigT1CaloDefs::CpRoIWordType
@ CpRoIWordType
Definition: TrigT1CaloDefs.h:166
LVL1::RecEmTauRoI::et
virtual unsigned int et() const
returns roi ET (Run 2 only)
Definition: RecEmTauRoI.cxx:364
LVL1::RecEmTauRoI::emIsolation
unsigned int emIsolation(unsigned int thresh) const
returns the value of the em isolation ring for the threshold passed.
Definition: RecEmTauRoI.cxx:449
LVL1::TrigT1CaloDefs::Error
static const unsigned int Error
Definition: TrigT1CaloDefs.h:121