ATLAS Offline Software
ThresholdConfig.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
10 
11 #include <stdexcept>
12 #include <iostream>
13 #include <sys/types.h>
14 #include <stdio.h>
15 
16 using namespace std;
17 using namespace TrigConf;
18 
19 ThresholdConfig::ThresholdConfig() :
21  m_ctpVersion( 0 ),
22  m_l1Version( 0 )
23 {
24  // create a vector for each trigger type registered in L1DataDef.cxx
25  // size of vector is 0 and grows while being filled
26  for( L1DataDef::TypeConfigMap_t::value_type tc: L1DataDef::typeConfigs() )
27  m_thresholdVectors.insert( thrVecMap_t::value_type(tc.first , thrVec_t(0) ) );
28 }
29 
32  delete thr;
33  }
34 }
35 
36 const vector<TriggerThreshold*>&
38  thrVecMap_t::const_iterator res = m_thresholdVectors.find(type);
39  if(res == m_thresholdVectors.end()) {
40  cerr << "Unknown triggertype '" << L1DataDef::typeAsString(type) << "' in ThresholdConfig::getThresholdVector encountered" << endl;
41  throw std::runtime_error("Unknown triggertype in ThresholdConfig::getThresholdVector encountered" );
42  }
43  return res->second;
44 }
45 
46 const std::vector<TrigConf::TriggerThreshold*>&
48  return getThresholdVector(type);
49 }
50 
51 
52 bool
53 TrigConf::ThresholdConfig::insertInPosition(std::vector<TriggerThreshold*>& thrVec, TriggerThreshold* thr, unsigned int pos) {
54  thr->print();
55 
56  // extend if necessary (filled with 0)
57  if(pos >= thrVec.size()) thrVec.resize(pos+1, 0);
58 
59  if(thrVec[pos] != 0) {
60  cerr << "ThresholdConfig::insertInPosition: position " << pos
61  << " already filled for type " << thr->type() << " [" << thr->ttype() << "]" << ", abort!!" << endl;
62  cerr << endl << "Existing threshold" << endl;
63  thrVec[pos]->print("",5);
64  cerr << endl << "New threshold" << endl;
65  thr->print("",5);
66  throw runtime_error("ThresholdConfig::insertInPosition position already filled" );
67  }
68  thrVec[pos] = thr;
69 
70  return true;
71 }
72 
73 
74 bool
76 
77  // put the threshold into the vector of all thresholds
78  m_TriggerThresholdVector.push_back(thr);
79 
80  // put the threshold to the correct vector
81  L1DataDef::TriggerType ttype = thr->ttype();
82 
83  const auto& res = m_thresholdVectors.find(ttype);
84  if(res == m_thresholdVectors.end()) {
85  cerr << "Unknown triggertype '" << L1DataDef::typeAsString(ttype) << "' in ThresholdConfig::getThresholdVector encountered" << endl;
86  throw runtime_error("Unknown triggertype in ThresholdConfig::getThresholdVector encountered" );
87  }
88  vector<TriggerThreshold*>& thrVec = res->second;
89 
90  // check if maximum is exceeded
91  unsigned int max_thr = L1DataDef::typeConfig(ttype).max;
92  if(thr->mapping()>0 && (unsigned int)thr->mapping() >= max_thr) {
93  cerr << "ThresholdConfig::addTriggerThreshold: threshold mapping " << thr->mapping()
94  << " exceeds maximum for type '" << thr->type() << "' , abort!" << endl;
95  throw runtime_error( "ThresholdConfig::addTriggerThreshold: threshold mapping exceeds limit" );
96  }
97 
98  thr->setThresholdNumber(thr->mapping());
99  insertInPosition(thrVec, thr, thr->mapping() );
100 
101 
102  // BPTX threshold is type NIM but gets inserted as BPTX as well (in run 2 not anymore) - no easy way to make this backward compatible
103 // if(thr->name().find("BPTX")!=string::npos) {
104 // string::size_type pos = thr->name().find_first_of("0123456789");
105 // int mapping = boost::lexical_cast<int,string>(thr->name().substr(pos));
106 // insertInPosition( thresholdVector(L1DataDef::BPTX), thr, mapping );
107 // }
108 
109  // for backward compatibility a copy of all EM and TAU thresholds
110  // is safed in the cluster threshold vector
111 
112  if(l1Version()==0) {
113  if(ttype==L1DataDef::EM) {
114  insertInPosition( m_ClusterThresholdVector, thr, thr->mapping() );
115  }
116  if(ttype==L1DataDef::TAU) {
117  unsigned int max_em = L1DataDef::typeConfig(L1DataDef::EM).max;
118  unsigned int max_tau = 0; //L1DataDef::typeConfig(L1DataDef::TAU).max;
119  unsigned int pos = max_em + max_tau - thr->mapping() - 1;
120  insertInPosition( m_ClusterThresholdVector, thr, pos );
121  }
122  }
123  return true;
124 }
125 
126 
127 
128 string
130  TriggerThreshold* thr = getThresholdVector(L1DataDef::EM)[thresholdnumber];
131  return thr?thr->type():"EM";
132 }
133 
134 
135 /********************************
136  * cluster isolation and veto
137  ********************************/
138 float TrigConf::ThresholdConfig::getClusterEmIsolation ( int eta, int phi, int thresholdnumber ) const {
139  ClusterThresholdValue* ctv = dynamic_cast<ClusterThresholdValue*>
140  (getThresholdVector(L1DataDef::EM)[thresholdnumber]->triggerThresholdValue(eta,phi));
141  return ctv?ctv->emIsolation():0;
142 }
143 
144 float TrigConf::ThresholdConfig::getClusterHadIsolation ( int eta, int phi, int thresholdnumber ) const {
145  ClusterThresholdValue* ctv = dynamic_cast<ClusterThresholdValue*>
146  (getThresholdVector(L1DataDef::EM)[thresholdnumber]->triggerThresholdValue(eta,phi));
147  return ctv?ctv->hadIsolation():0;
148 }
149 
150 float TrigConf::ThresholdConfig::getClusterHadVeto ( int eta, int phi, int thresholdnumber ) const {
151  ClusterThresholdValue* ctv = dynamic_cast<ClusterThresholdValue*>
152  (getThresholdVector(L1DataDef::EM)[thresholdnumber]->triggerThresholdValue(eta,phi));
153  return ctv?ctv->hadVeto():0;
154 }
155 
156 
157 /****************
158  * get window
159  ****************/
161  return getThresholdVector(type)[thresholdnumber]->triggerThresholdValue(eta,phi)->window();
162 }
163 
164 int TrigConf::ThresholdConfig::getJetWindow( int eta, int phi, int thresholdnumber ) const {
165  return getThreshold(TrigConf::L1DataDef::JET, eta, phi, thresholdnumber);
166 }
167 
168 int TrigConf::ThresholdConfig::getJfWindow( int eta, int phi, int thresholdnumber ) const {
169  return getThreshold(TrigConf::L1DataDef::JF, eta, phi, thresholdnumber);
170 }
171 
172 int TrigConf::ThresholdConfig::getJbWindow( int eta, int phi, int thresholdnumber ) const {
173  return getThreshold(TrigConf::L1DataDef::JB, eta, phi, thresholdnumber);
174 }
175 
176 
177 
178 /****************
179  * get ptcut()
180  ****************/
182  return getThresholdVector(type)[thresholdnumber]->triggerThresholdValue(eta,phi)->ptcut();
183 }
184 
185 float TrigConf::ThresholdConfig::getClusterThreshold(int eta, int phi, int thresholdnumber) const {
186  return getThreshold(TrigConf::L1DataDef::EM, eta, phi, thresholdnumber);
187 }
188 
189 float TrigConf::ThresholdConfig::getMuonThreshold( int eta, int phi, int thresholdnumber ) const {
190  return getThreshold(TrigConf::L1DataDef::MUON, eta, phi, thresholdnumber);
191 }
192 
193 float TrigConf::ThresholdConfig::getJetEtThreshold( int eta, int phi, int thresholdnumber ) const {
194  return getThreshold(TrigConf::L1DataDef::JE, eta, phi, thresholdnumber);
195 }
196 
197 float TrigConf::ThresholdConfig::getMissEtThreshold( int eta, int phi, int thresholdnumber ) const {
198  return getThreshold(TrigConf::L1DataDef::XE, eta, phi, thresholdnumber);
199 }
200 
201 float TrigConf::ThresholdConfig::getMissEtSigThreshold( int eta, int phi, int thresholdnumber ) const {
202  return getThreshold(TrigConf::L1DataDef::XS, eta, phi, thresholdnumber);
203 }
204 
205 float TrigConf::ThresholdConfig::getJetThreshold( int eta, int phi, int thresholdnumber ) const {
206  return getThreshold(TrigConf::L1DataDef::JET, eta, phi, thresholdnumber);
207 }
208 
209 float TrigConf::ThresholdConfig::getJbThreshold(int eta, int phi, int thresholdnumber) const {
210  return getThreshold(TrigConf::L1DataDef::JB, eta, phi, thresholdnumber);
211 }
212 
213 float TrigConf::ThresholdConfig::getJfThreshold ( int eta, int phi, int thresholdnumber ) const {
214  return getThreshold(TrigConf::L1DataDef::JF, eta, phi, thresholdnumber);
215 }
216 
217 float TrigConf::ThresholdConfig::getTotEtThreshold( int eta, int phi, int thresholdnumber ) const {
218  return getThreshold(TrigConf::L1DataDef::TE, eta, phi, thresholdnumber);
219 }
220 
221 
222 
223 void
225  // set the thresholdnumber for each threshold
226 
227  // Run 2:
228  // this has been changed, the thresholdnumbers now correspond to the position in the vector (the index)
229 
230  // Run 1:
231  // EM/TAU thresholds were an exception:
232 
233  // The EM and TAU vector are related,
234  //
235  // the total number of EM and TAU thresholds is less than EM.max, the maximum number of
236  // tau thresholds is TAU.max
237  //
238  // the arrangement is such that the EM thresholds above 7 are after the TAU thresholds in reverse order
239 
240  // for instance if there would be 6 TAU thresholds and 10 EM thresholds
241  // EM-TAU vector : [EM0,EM1,...,EM7,TAU0,TAU1,...,TAU5,EM9,EM8]
242  // thresholdNumber: [ 0, 1,..., 7, 8, 9,..., 13, 14, 15]
243 
244 
245  for(TriggerThreshold* p: thresholdVector(L1DataDef::EM)) {
246  if(p==0) continue;
247  const unsigned int max_em = L1DataDef::typeConfig(L1DataDef::EM).max;
248 
249  if ( p->mapping()>=8 )
250  p->setThresholdNumber(max_em - 1 - (p->mapping()-8) );
251  }
252 
253  for(TrigConf::TriggerThreshold* p: thresholdVector(L1DataDef::TAU)) {
254  if(p==0) continue;
255  if( p->ttype()==L1DataDef::TAU )
256  p->setThresholdNumber(p->mapping() + 8);
257  }
258 
259 }
260 
261 
262 
265  for(TrigConf::TriggerThreshold *thr: m_TriggerThresholdVector)
266  if(thr->id()==id) return thr;
267  return 0;
268 }
269 
270 
272  const string& name, const string& indent, unsigned int detail) {
273  cout << indent << "=========================================" << endl
274  << indent << " The " << name << ": " << vec.size() << " elements" << endl
275  << indent << "=========================================" << endl;
277  if(thr) thr->print(indent + " ", detail);
278  else cout << indent << " " << 0 << endl;
279 }
280 
281 void
282 TrigConf::ThresholdConfig::print(const string& indent, unsigned int detail) const {
283  if(detail>=2) {
284  cout << indent << "Threshold configuration: " << getThresholdVector().size() << " thresholds" << endl;
286  cout << indent << " " << L1DataDef::typeConfig(tt).name << " thresholds: "
287  << getThresholdVector(tt).size() << " thresholds" << endl;
288  }
289  cout << "Threshold configuration: " << getThresholdVector().size() << " thresholds" << endl;
290  }
291  if(detail>=3) {
292  cout << indent << "=========================================" << endl
293  << indent << "== ThresholdConfig for MT_id = " << lvl1MasterTableId() << endl
294  << indent << "=========================================" << endl;
295  printVectorSummary(getThresholdVector(L1DataDef::EM), "EMThresholdVector", indent, detail);
296  printVectorSummary(getThresholdVector(L1DataDef::TAU), "TauThresholdVector", indent, detail);
297  printVectorSummary(m_ClusterThresholdVector, "ClusterThresholdVector", indent, detail);
298  printVectorSummary(getThresholdVector(L1DataDef::JET), "JetThresholdVector", indent, detail);
299  printVectorSummary(getThresholdVector(L1DataDef::JF), "JFThresholdVector", indent, detail);
300  printVectorSummary(getThresholdVector(L1DataDef::JB), "JBThresholdVector", indent, detail);
301  printVectorSummary(getThresholdVector(L1DataDef::TE), "TotEtVector", indent, detail);
302  printVectorSummary(getThresholdVector(L1DataDef::JE), "JetEtVector", indent, detail);
303  printVectorSummary(getThresholdVector(L1DataDef::XE), "MissEtVector", indent, detail);
304  printVectorSummary(getThresholdVector(L1DataDef::MUON), "MuonThresholdVector", indent, detail);
305  printVectorSummary(getThresholdVector(L1DataDef::NIM), "NimThresholdVector", indent, detail);
306  }
307  m_CaloInfo.print(indent, detail);
308 }
309 
310 void
312  printVectorSummary(getThresholdVector(),"complete threshold vector", indent, 5);
313 }
314 
315 
316 
317 void
319  cout << "#=========================================" << endl
320  << "# " << name << ":" << endl
321  << "#=========================================" << endl;
322  for(TriggerThreshold* thr: vec) printTtvMap(thr);
323 }
324 
325 void
327  printTtvSummary(getThresholdVector(L1DataDef::EM), "EM threshold values");
328  printTtvSummary(getThresholdVector(L1DataDef::TAU), "Tau threshold values");
329  printTtvSummary(m_ClusterThresholdVector, "Cluster threshold values (EM + Tau)");
330  printTtvSummary(getThresholdVector(L1DataDef::JET), "JetThreshold values");
331  printTtvSummary(getThresholdVector(L1DataDef::FJET), "FJetThreshold values");
332  printTtvSummary(getThresholdVector(L1DataDef::TE), "TotEt values");
333  printTtvSummary(getThresholdVector(L1DataDef::JE), "JetEt values");
334  printTtvSummary(getThresholdVector(L1DataDef::XE), "MissEt values");
335  printTtvSummary(getThresholdVector(L1DataDef::MUON), "MuonThreshold values");
336  printTtvSummary(getThresholdVector(L1DataDef::NIM), "NimThreshold values");
337 }
338 
339 
341  char line[1000];
342 
343  cout << "#---------------------------------------------------------" << endl
344  << "# TTV(type,name) eta phi : pt window emIsol hadIsol hadVeto" << endl
345  << "# Number of theshold values: " << thr->thresholdValueVector().size() << endl
346  << "#---------------------------------------------------------" << endl;
347  for (int ieta = -49; ieta <= 49; ++ieta) {
348  for (int iphi = 0; iphi < 64; ++iphi) {
349  TriggerThresholdValue* ttv = thr->triggerThresholdValue(ieta, iphi);
350  float emiso(-1), hadiso(-1), hadveto(-1);
351  const ClusterThresholdValue* ctv = dynamic_cast<const ClusterThresholdValue*>(ttv);
352  if(ctv) {
353  emiso = ctv->emIsolation();
354  hadiso = ctv->hadIsolation();
355  hadveto = ctv->hadVeto();
356  }
357  sprintf(line, "TTV(%-4s,%-10s) eta[%2d] phi[%2d]: %3f %6u %6f %6f %6f",
358  thr->type().c_str(), thr->name().c_str(), ieta, iphi,
359  ttv->ptcut(), ttv->window(), emiso, hadiso, hadveto);
360  cout << line << endl;
361  }
362  }
363  return;
364 }
365 
366 vector<TrigConf::TriggerThreshold*>
368  vector<TriggerThreshold*> v;
369  for( TriggerThreshold* thr: getThresholdVector(L1DataDef::NIM) )
370  if ( thr->type() == type ) v.push_back(thr);
371  return v;
372 }
373 
374 void
376 
377  for(TriggerThreshold* thr: m_TriggerThresholdVector) delete thr;
378  m_TriggerThresholdVector.clear();
379 
380  for(thrVecMap_t::value_type & p: m_thresholdVectors)
381  p.second.clear();
382 
383  m_CaloInfo.clear();
384 }
385 
386 
387 
TrigConf::TriggerThresholdValue
Definition: TriggerThresholdValue.h:22
TrigConf::TriggerThreshold::ttype
L1DataDef::TriggerType ttype() const
Definition: TriggerThreshold.h:30
TrigConf::ThresholdConfig::thrVec_t
std::vector< TriggerThreshold * > thrVec_t
Definition: ThresholdConfig.h:20
TrigConf::TriggerThreshold::setThresholdNumber
void setThresholdNumber(int number)
Definition: TriggerThreshold.h:59
TrigConf::L1DataDef::typeConfig
static TriggerTypeConfig & typeConfig(TriggerType tt)
Definition: L1DataDef.cxx:145
checkFileSG.line
line
Definition: checkFileSG.py:75
TrigConf::TrigConfData::name
const std::string & name() const
Definition: TrigConfData.h:22
TrigConf::ThresholdConfig::getTotEtThreshold
float getTotEtThreshold(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:217
TrigConf::TriggerThreshold::mapping
int mapping() const
Definition: TriggerThreshold.h:33
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
TrigConf::ThresholdConfig::getThreshold
float getThreshold(L1DataDef::TriggerType type, int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:181
TrigConf::ThresholdConfig::getJfThreshold
float getJfThreshold(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:213
TrigConf::ThresholdConfig::getJbWindow
int getJbWindow(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:172
TrigConf::ThresholdConfig::getWindow
int getWindow(L1DataDef::TriggerType type, int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:160
TrigConf::L1DataDef::JE
@ JE
Definition: L1DataDef.h:32
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
TrigConf::ThresholdConfig::printTtvSummary
void printTtvSummary(const thrVec_t &vec, const std::string &name) const
Definition: ThresholdConfig.cxx:318
TrigConf::ThresholdConfig::getClusterHadIsolation
float getClusterHadIsolation(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:144
TrigConf::ThresholdConfig::m_thresholdVectors
thrVecMap_t m_thresholdVectors
Definition: ThresholdConfig.h:100
TrigConf::L1DataDef::JF
@ JF
Definition: L1DataDef.h:32
TrigConf::L1DataDef::MUON
@ MUON
Definition: L1DataDef.h:31
TrigConf::TriggerThreshold::print
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Definition: TriggerThreshold.cxx:169
TrigConf::TriggerThresholdValue::ptcut
float ptcut() const
Definition: TriggerThresholdValue.h:45
TrigConf::ThresholdConfig::m_TriggerThresholdVector
thrVec_t m_TriggerThresholdVector
Definition: ThresholdConfig.h:101
TrigConf::TriggerThreshold::thresholdValueVector
const std::vector< TriggerThresholdValue * > & thresholdValueVector() const
Definition: TriggerThreshold.cxx:114
detail
Definition: extract_histogram_tag.cxx:14
TrigConf::L1DataDef::FJET
@ FJET
Definition: L1DataDef.h:32
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
TrigConf::ThresholdConfig::getClusterThresholdType
std::string getClusterThresholdType(int thresholdnumber) const
Definition: ThresholdConfig.cxx:129
TrigConf::L1DataDef::TriggerTypeConfig::name
std::string name
Definition: L1DataDef.h:46
TrigConf::ThresholdConfig::clear
void clear()
Definition: ThresholdConfig.cxx:375
TrigConf::L1DataDef::typeConfigs
static const TypeConfigMap_t & typeConfigs()
Definition: L1DataDef.h:68
TrigConf::ClusterThresholdValue
Definition: ClusterThresholdValue.h:13
TrigConf::ThresholdConfig::getClusterHadVeto
float getClusterHadVeto(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:150
ThresholdConfig.h
TrigConf::ThresholdConfig::getJetWindow
int getJetWindow(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:164
TrigConf::L1DataDef::XE
@ XE
Definition: L1DataDef.h:33
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
TrigConf::TriggerThreshold::type
const std::string & type() const
Definition: TriggerThreshold.h:31
geometry_dat_to_json.indent
indent
Definition: geometry_dat_to_json.py:18
TrigConf::ClusterThresholdValue::hadIsolation
float hadIsolation() const
Definition: ClusterThresholdValue.h:22
TrigConf::L1DataDef::NIM
@ NIM
Definition: L1DataDef.h:34
TrigConf::ThresholdConfig::printTriggerThresholdVector
void printTriggerThresholdVector(const std::string &indent="") const
Definition: ThresholdConfig.cxx:311
TrigConf::ClusterThresholdValue::hadVeto
float hadVeto() const
Definition: ClusterThresholdValue.h:23
res
std::pair< std::vector< unsigned int >, bool > res
Definition: JetGroupProductTest.cxx:14
TrigConf::ThresholdConfig::getJfWindow
int getJfWindow(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:168
TrigConf::ThresholdConfig::getNimThresholdVectorByType
std::vector< TriggerThreshold * > getNimThresholdVectorByType(const std::string &type) const
Definition: ThresholdConfig.cxx:367
TrigConf::ThresholdConfig::~ThresholdConfig
virtual ~ThresholdConfig() override
Definition: ThresholdConfig.cxx:30
JetThresholdValue.h
TrigConf::ThresholdConfig::findTriggerThreshold
TriggerThreshold * findTriggerThreshold(unsigned int id)
Definition: ThresholdConfig.cxx:264
TrigConf::ThresholdConfig::thresholdVector
const std::vector< TriggerThreshold * > & thresholdVector() const
Definition: ThresholdConfig.h:33
TrigConf::ThresholdConfig::getClusterThreshold
float getClusterThreshold(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:185
TrigConf::ThresholdConfig::getMissEtSigThreshold
float getMissEtSigThreshold(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:201
TrigConf::name
Definition: HLTChainList.h:35
TrigConf::L1DataDef::TE
@ TE
Definition: L1DataDef.h:33
TrigConf::L1DataDef::typeAsString
static std::string & typeAsString(TriggerType tt)
Definition: L1DataDef.h:64
TrigConf::ThresholdConfig::attributeThresholdNumbers
void attributeThresholdNumbers()
Definition: ThresholdConfig.cxx:224
TrigConf::TriggerThreshold::triggerThresholdValue
TriggerThresholdValue * triggerThresholdValue(int eta, int phi) const
Definition: TriggerThreshold.cxx:82
TrigConf::ThresholdConfig::getJetThreshold
float getJetThreshold(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:205
TrigConf::L1DataDef::types
static const std::vector< TriggerType > & types()
Definition: L1DataDef.h:66
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
L1DataDef.h
TrigConf::L1DataDef::JB
@ JB
Definition: L1DataDef.h:32
TrigConf::L1DataDef::JET
@ JET
Definition: L1DataDef.h:32
python.PyAthena.v
v
Definition: PyAthena.py:157
EtThresholdValue.h
TrigConf::L1DataDef::TAU
@ TAU
Definition: L1DataDef.h:31
TrigConf::ThresholdConfig::getThresholdVector
const std::vector< TriggerThreshold * > & getThresholdVector() const
Definition: ThresholdConfig.h:32
TrigConf::L1DataDef::TriggerTypeConfig::max
unsigned int max
Definition: L1DataDef.h:47
TrigConf::L1DataDef::TriggerType
TriggerType
Definition: L1DataDef.h:30
TrigConf::ThresholdConfig::getMuonThreshold
float getMuonThreshold(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:189
TrigConf::ThresholdConfig::insertInPosition
bool insertInPosition(std::vector< TriggerThreshold * > &thrVec, TriggerThreshold *tt, unsigned int pos)
Definition: ThresholdConfig.cxx:53
TrigConf::ThresholdConfig::getJbThreshold
float getJbThreshold(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:209
ClusterThresholdValue.h
TrigConf::ThresholdConfig::getClusterEmIsolation
float getClusterEmIsolation(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:138
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigConf::L1DataDef::XS
@ XS
Definition: L1DataDef.h:33
TrigConf::ThresholdConfig::print
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Definition: ThresholdConfig.cxx:282
TrigConf::ThresholdConfig::addTriggerThreshold
bool addTriggerThreshold(TriggerThreshold *value)
Definition: ThresholdConfig.cxx:75
getThreshold
CP::CorrectionCode getThreshold(Int_t &threshold, const std::string &trigger)
Definition: MuonTriggerSFRootCoreTest.cxx:48
TrigConf::ThresholdConfig::printTtvMap
void printTtvMap(const TriggerThreshold *thr) const
Definition: ThresholdConfig.cxx:340
TrigConf::ThresholdConfig::printThresholdValueMap
void printThresholdValueMap() const
Definition: ThresholdConfig.cxx:326
TrigConf::L1DataBaseclass
Definition: L1DataBaseclass.h:22
printVectorSummary
void printVectorSummary(const TrigConf::ThresholdConfig::thrVec_t &vec, const string &name, const string &indent, unsigned int detail)
Definition: ThresholdConfig.cxx:271
TrigConf::ThresholdConfig::getMissEtThreshold
float getMissEtThreshold(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:197
TrigConf::TriggerThreshold
Definition: TriggerThreshold.h:20
TileDCSDataPlotter.tt
tt
Definition: TileDCSDataPlotter.py:874
TrigConf::ClusterThresholdValue::emIsolation
float emIsolation() const
Definition: ClusterThresholdValue.h:21
TrigConf::L1DataDef::EM
@ EM
Definition: L1DataDef.h:31
TrigConf::TriggerThresholdValue::window
unsigned int window() const
Definition: TriggerThresholdValue.h:49
TrigConf::ThresholdConfig::getJetEtThreshold
float getJetEtThreshold(int eta, int phi, int thresholdnumber) const
Definition: ThresholdConfig.cxx:193