ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
TCS::cTauMultiplicity Class Reference

#include <cTauMultiplicity.h>

Inheritance diagram for TCS::cTauMultiplicity:
Collaboration diagram for TCS::cTauMultiplicity:

Public Member Functions

 cTauMultiplicity (const std::string &name)
 
virtual ~cTauMultiplicity ()
 
virtual StatusCode initialize () override
 
virtual StatusCode processBitCorrect (const TCS::InputTOBArray &input, Count &count) override final
 
virtual StatusCode process (const TCS::InputTOBArray &input, Count &count) override final
 
unsigned int numberOutputBits () const
 
void setNumberOutputBits (unsigned int numberOutputBits)
 
void setThreshold (const TrigConf::L1Threshold &thr)
 
const TrigConf::L1ThresholdgetThreshold ()
 
void setClassName (const std::string &className)
 
void setLegacyMode (bool isLegacyTopo)
 
const std::string & name () const
 
const std::string & className () const
 
std::string fullname () const
 
unsigned int algoId () const
 
StatusCode reset ()
 
bool isSortingAlg () const
 
bool isDecisionAlg () const
 
bool isCountingAlg () const
 
bool isLegacyTopo () const
 
unsigned int calcDeltaPhiBW (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
 
unsigned int calcDeltaEtaBW (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
 
unsigned int calcInvMassBW (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
 
unsigned int calcTMassBW (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
 
unsigned int calcDeltaR2BW (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
 
unsigned long quadraticSumBW (int i1, int i2)
 
unsigned int calcDeltaPhi (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
 
unsigned int calcDeltaEta (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
 
unsigned int calcInvMass (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
 
unsigned int calcTMass (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
 
unsigned int calcDeltaR2 (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
 
const Parameterparameter (const std::string &parameterName) const
 
const Parameterparameter (const std::string &parameterName, unsigned int selection) const
 
const ParameterSpaceparameters () const
 
void setParameters (const ParameterSpace &)
 
void setAlgoId (unsigned int algoId)
 
void setL1TopoHistSvc (std::shared_ptr< IL1TopoHistSvc >)
 sets the external hist service More...
 
void bookHistMult (std::vector< std::string > &regName, const std::string &name, const std::string &title, const std::string &xtitle, const int binx, const int xmin, const int xmax)
 
void bookHistMult (std::vector< std::string > &regName, const std::string &name, const std::string &title, const std::string &xtitle, const std::string &ytitle, const int binx, const int xmin, const int xmax, const int biny, const int ymin, const int ymax)
 
void bookHist (std::vector< std::string > &regName, const std::string &name, const std::string &title, const int binx, const int xmin, const int xmax)
 
void bookHist (std::vector< std::string > &regName, const std::string &name, const std::string &title, const int binx, const int xmin, const int xmax, const int biny, const int ymin, const int ymax)
 
bool msgLvl (const MSGTC::Level lvl) const
 Test the output level. More...
 
MsgStreamTC & msg () const
 The standard message stream. More...
 
MsgStreamTC & msg (const MSGTC::Level lvl) const
 The standard message stream. More...
 

Static Public Member Functions

static size_t cTauMatching (const xAOD::eFexTauRoI &eTau, const xAOD::jFexTauRoIContainer &jTauRoIs)
 
static bool cTauMatching (const xAOD::eFexTauRoI &eTau, const xAOD::jFexTauRoI &jTau)
 
static bool checkIsolationWP (const xAOD::eFexTauRoI &eTau, const xAOD::jFexTauRoI &jTau, const TrigConf::L1Threshold_cTAU &thr)
 
static bool checkeTAUWP (const xAOD::eFexTauRoI &eTau, const TrigConf::L1Threshold_cTAU &thr)
 

Protected Types

enum  AlgType { NONE, SORT, DECISION, COUNT }
 

Protected Member Functions

void defineParameter (const std::string &name, TCS::parType_t value)
 
void defineParameter (const std::string &name, TCS::parType_t value, unsigned int selection)
 
void registerHist (TH1 *)
 
void registerHist (TH2 *)
 
void fillHist1D (const std::string &histName, double x)
 
void fillHist2D (const std::string &histName, double x, double y)
 
bool isocut (const std::string &threshold, const unsigned int bit) const
 
bool isocut (const unsigned int threshold, const unsigned int bit) const
 

Protected Attributes

std::vector< std::string > m_histAccept
 

Private Types

using WP = TrigConf::Selection::WP
 

Private Member Functions

bool checkIsolationWP (const TCS::cTauTOB *etauCand, const TCS::cTauTOB *jtauCand) const
 
bool checkeTAUWP (const TCS::cTauTOB *etauCand) const
 
bool cTauMatching (const TCS::cTauTOB *etauCand, const TCS::cTauTOB *jtauCand) const
 
virtual StatusCode doReset ()
 
void defineParameter (const Parameter &)
 
std::string ToString (const int val)
 

Private Attributes

const TrigConf::L1Threshold_cTAUm_threshold {nullptr}
 
std::shared_ptr< TrigConf::L1ThrExtraInfo_cTAUm_extraInfo
 
std::vector< std::string > m_histcTauEt
 
std::vector< std::string > m_histcTauPhiEta
 
std::vector< std::string > m_histcTauEtEta
 
std::vector< std::string > m_histcTauPartialIsoLoose
 
std::vector< std::string > m_histcTauPartialIsoMedium
 
std::vector< std::string > m_histcTauPartialIsoMedium12
 
std::vector< std::string > m_histcTauPartialIsoMedium20
 
std::vector< std::string > m_histcTauPartialIsoMedium30
 
std::vector< std::string > m_histcTauPartialIsoMedium35
 
std::vector< std::string > m_histcTauPartialIsoTight
 
std::vector< std::string > m_histcTauIsoMatchedPass
 
unsigned int m_numberOutputBits {1}
 
std::unique_ptr< ConfigurableAlgImplm_impl
 
std::string m_name {""}
 
std::string m_className {""}
 
unsigned int m_algoId {0}
 
ParameterSpace m_parameters {""}
 
AlgType m_algType
 
bool m_isLegacyTopo
 
boost::thread_specific_ptr< MsgStreamTC > m_msg_tls
 MsgStreamTC instance (a std::cout like with print-out levels) More...
 

Detailed Description

Definition at line 28 of file L1Topo/L1TopoAlgorithms/L1TopoAlgorithms/cTauMultiplicity.h.

Member Typedef Documentation

◆ WP

Member Enumeration Documentation

◆ AlgType

enum TCS::ConfigurableAlg::AlgType
protectedinherited
Enumerator
NONE 
SORT 
DECISION 
COUNT 

Definition at line 32 of file ConfigurableAlg.h.

32 { NONE, SORT, DECISION, COUNT };

Constructor & Destructor Documentation

◆ cTauMultiplicity()

TCS::cTauMultiplicity::cTauMultiplicity ( const std::string &  name)

Definition at line 23 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.

23  : CountingAlg(name) {
24  setNumberOutputBits(12); //To-Do: Make this flexible to adapt to the menu. Each counting requires more than one bit
25 }

◆ ~cTauMultiplicity()

TCS::cTauMultiplicity::~cTauMultiplicity ( )
virtual

Definition at line 28 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.

28 {}

Member Function Documentation

◆ algoId()

unsigned int TCS::ConfigurableAlg::algoId ( ) const
inlineinherited

Definition at line 53 of file ConfigurableAlg.h.

53 { return m_algoId; }

◆ bookHist() [1/2]

void ConfigurableAlg::bookHist ( std::vector< std::string > &  regName,
const std::string &  name,
const std::string &  title,
const int  binx,
const int  xmin,
const int  xmax 
)
inherited

Definition at line 270 of file ConfigurableAlg.cxx.

270  {
271  std::string xmin_str = ToString(xmin);
272  std::string xmax_str = ToString(xmax);
273  std::string newTitle = title;
274  std::string newName = name;
275 
276  newTitle = xmin_str+title+xmax_str;
277  newName = name+"_"+xmin_str+title+xmax_str;
278  std::replace( newName.begin(), newName.end(), '-', 'n');
279  std::replace( newName.begin(), newName.end(), ' ', '_');
280 
281  regName.push_back(m_name+"/"+newName);
282 
283  // Add units to axis labels
284  std::string xTitle = title;
285  if (m_isLegacyTopo) {
286  if (title == "ETA" || title == "DETA" || title == "PHI" || title == "DPHI" || title == "DR") { xTitle = title+"#times10"; }
287  if (title == "PT" || title == "ET" || title == "HT" || title == "INVM" || title == "MT") { xTitle = title+" [GeV]"; }
288  }
289  else {
290  if (title == "ETA" || title == "DETA" || title == "DR") { xTitle = title+"#times40"; }
291  if (title == "PHI" || title == "DPHI") { xTitle = title+"#times20"; }
292  if (title == "PT" || title == "ET" || title == "HT" || title == "INVM" || title == "MT") { xTitle = title+" [100 MeV]"; }
293  }
294 
295  int xmin_new,xmax_new,binx_new=binx;
296  if ( xmin > 0.0)
297  { xmin_new=0.0; }
298  else
299  { xmin_new=1.5*xmin; }
300 
301  // if the maximum inv. mass cut defined by the menu over 4000 MeV,
302  // set x-axis range maximum to 4000 MeV. This is only for legacy triggers,
303  // phase1 does not exceed this limit- asonay 08/2022
304  if (xmax > 4000 && m_isLegacyTopo) {
305  xmax_new = 4000;
306  binx_new = 200;
307  }
308  else {xmax_new = 1.5*xmax;}
309 
310  // if angular kinematics, use fixed range
311  int eta_max = 50;
312  int phi_max = 64;
313  int dr_max = 30;
314  if (not m_isLegacyTopo) {
315  eta_max *= 4;
316  phi_max *= 2;
317  dr_max *= 4;
318  }
319 
320  if ( title.find("ETA") != std::string::npos ){
321  xmin_new=-eta_max;
322  xmax_new=eta_max;
323  }
324  if ( title.find("PHI") != std::string::npos || title.find("DPHI") != std::string::npos ){
325  xmin_new=0;
326  xmax_new=phi_max;
327  }
328  if ( title.find("DETA") != std::string::npos || title.find("DR") != std::string::npos ){
329  xmin_new=0;
330  xmax_new=dr_max;
331  }
332 
333  TH1 *h = new TH1F(newName.c_str(), newTitle.c_str(), binx_new, xmin_new, xmax_new);
334  h->GetXaxis()->SetTitle(xTitle.c_str());
335  m_impl->registerHist(h);
336 }

◆ bookHist() [2/2]

void ConfigurableAlg::bookHist ( std::vector< std::string > &  regName,
const std::string &  name,
const std::string &  title,
const int  binx,
const int  xmin,
const int  xmax,
const int  biny,
const int  ymin,
const int  ymax 
)
inherited

Definition at line 347 of file ConfigurableAlg.cxx.

347  {
348  auto usPos = title.find(" vs ");
349  std::string xName = title.substr(0,usPos);
350  std::string yName = title.substr(usPos+4);
351  std::string xmin_str = ToString(xmin);
352  std::string xmax_str = ToString(xmax);
353  std::string ymin_str = ToString(ymin);
354  std::string ymax_str = ToString(ymax);
355  std::string newTitle = title;
356  std::string newName = name;
357 
358  newTitle = xmin_str+xName+xmax_str+" vs "+ymin_str+yName+ymax_str;
359  newName = name+"_"+xmin_str+xName+xmax_str+"_"+ymin_str+yName+ymax_str;
360  std::replace( newName.begin(), newName.end(), '-', 'n');
361  std::replace( newName.begin(), newName.end(), ' ', '_');
362 
363  regName.push_back(m_name+"/"+newName);
364 
365  // Add units to axis labels
366  std::string xTitle = xName;
367  std::string yTitle = yName;
368  if (m_isLegacyTopo) {
369  if (xName == "ETA" || xName == "DETA" || xName == "PHI" || xName == "DPHI" || xName == "DR") { xTitle = xName+"#times10"; }
370  if (xName == "PT" || xName == "ET" || xName == "HT" || xName == "INVM" || xName == "MT") { xTitle = xName+" [GeV]"; }
371 
372  if (yName == "ETA" || yName == "DETA" || yName == "PHI" || yName == "DPHI" || yName == "DR") { yTitle = yName+"#times10"; }
373  if (yName == "PT" || yName == "ET" || yName == "HT" || yName == "INVM" || yName == "MT") { yTitle = yName+" [GeV]"; }
374  }
375  else {
376  if (xName == "ETA" || xName == "DETA" || xName == "DR") { xTitle = xName+"#times40"; }
377  if (xName == "PHI" || xName == "DPHI") { xTitle = xName+"#times20"; }
378  if (xName == "PT" || xName == "ET" || xName == "HT" || xName == "INVM" || xName == "MT") { xTitle = xName+" [100 MeV]"; }
379 
380  if (yName == "ETA" || yName == "DETA" || yName == "DR") { yTitle = yName+"#times40"; }
381  if (yName == "PHI" || yName == "DPHI") { yTitle = yName+"#times20"; }
382  if (yName == "PT" || yName == "ET" || yName == "HT" || yName == "INVM" || yName == "MT") { yTitle = yName+" [100 MeV]"; }
383  }
384 
385  int xmin_new,xmax_new,binx_new=binx;
386  if ( xmin > 0.0)
387  { xmin_new=0.0; }
388  else
389  { xmin_new=1.5*xmin; }
390 
391  // if the maximum inv. mass cut defined by the menu over 4000 MeV,
392  // set x-axis range maximum to 4000 MeV. This is only for legacy triggers,
393  // phase1 does not exceed this limit- asonay 08/2022
394  if (xmax > 4000 && m_isLegacyTopo) {
395  xmax_new = 4000;
396  binx_new = 200;
397  }
398  else {xmax_new = 1.5*xmax;}
399 
400  int ymin_new,ymax_new,biny_new=biny;
401  if ( ymin > 0.0)
402  { ymin_new=0.0; }
403  else
404  { ymin_new=1.5*ymin; }
405 
406  // if the maximum inv. mass cut defined by the menu over 4000 MeV,
407  // set y-axis range maximum to 4000 MeV. This is only for legacy triggers,
408  // phase1 does not exceed this limit- asonay 08/2022
409  if (ymax > 4000 && m_isLegacyTopo) {
410  ymax_new = 4000;
411  biny_new = 200;
412  }
413  else {ymax_new = 1.5*ymax;}
414 
415 
416  // if angular kinematics, use fixed range
417  int eta_max = 50;
418  int phi_max = 64;
419  int dr_max = 30;
420  if (not m_isLegacyTopo) {
421  eta_max *= 4;
422  phi_max *= 2;
423  dr_max *= 4;
424  }
425 
426  if ( xName.find("ETA") != std::string::npos ){
427  xmin_new=-eta_max;
428  xmax_new=eta_max;
429  }
430  if ( yName.find("ETA") != std::string::npos ){
431  ymin_new=-eta_max;
432  ymax_new=eta_max;
433  }
434  if ( xName.find("PHI") != std::string::npos || xName.find("DPHI") != std::string::npos ){
435  xmin_new=0;
436  xmax_new=phi_max;
437  }
438  if ( yName.find("PHI") != std::string::npos || yName.find("DPHI") != std::string::npos ){
439  ymin_new=0;
440  ymax_new=phi_max;
441  }
442  if ( xName.find("DETA") != std::string::npos || xName.find("DR") != std::string::npos ){
443  xmin_new=0;
444  xmax_new=dr_max;
445  }
446  if ( yName.find("DETA") != std::string::npos || yName.find("DR") != std::string::npos ){
447  ymin_new=0;
448  ymax_new=dr_max;
449  }
450 
451  TH2 *h = new TH2F(newName.c_str(), newTitle.c_str(), binx_new, xmin_new, xmax_new, biny_new, ymin_new, ymax_new);
452  h->GetXaxis()->SetTitle(xTitle.c_str());
453  h->GetYaxis()->SetTitle(yTitle.c_str());
454  m_impl->registerHist(h);
455 }

◆ bookHistMult() [1/2]

void ConfigurableAlg::bookHistMult ( std::vector< std::string > &  regName,
const std::string &  name,
const std::string &  title,
const std::string &  xtitle,
const int  binx,
const int  xmin,
const int  xmax 
)
inherited

Definition at line 338 of file ConfigurableAlg.cxx.

338  {
339 
340  regName.push_back(m_name+"/"+name);
341 
342  TH1 *h = new TH1F(name.c_str(), title.c_str(), binx, xmin, xmax);
343  h->GetXaxis()->SetTitle(xtitle.c_str());
344  m_impl->registerHist(h);
345 }

◆ bookHistMult() [2/2]

void ConfigurableAlg::bookHistMult ( std::vector< std::string > &  regName,
const std::string &  name,
const std::string &  title,
const std::string &  xtitle,
const std::string &  ytitle,
const int  binx,
const int  xmin,
const int  xmax,
const int  biny,
const int  ymin,
const int  ymax 
)
inherited

Definition at line 457 of file ConfigurableAlg.cxx.

457  {
458 
459  regName.push_back(m_name+"/"+name);
460 
461  TH2 *h = new TH2F(name.c_str(), title.c_str(), binx, xmin, xmax, biny, ymin, ymax);
462  h->GetXaxis()->SetTitle(xtitle.c_str());
463  h->GetYaxis()->SetTitle(ytitle.c_str());
464  m_impl->registerHist(h);
465 }

◆ calcDeltaEta()

unsigned int ConfigurableAlg::calcDeltaEta ( const TCS::GenericTOB tob1,
const TCS::GenericTOB tob2 
)
inherited

Definition at line 173 of file ConfigurableAlg.cxx.

173  {
174  if (m_isLegacyTopo)
175  {return TSU::Kinematics::calcDeltaEtaLegacy(tob1,tob2);}
176  else
177  {return TSU::Kinematics::calcDeltaEta(tob1,tob2);}
178 }

◆ calcDeltaEtaBW()

unsigned int ConfigurableAlg::calcDeltaEtaBW ( const TCS::GenericTOB tob1,
const TCS::GenericTOB tob2 
)
inherited

Definition at line 128 of file ConfigurableAlg.cxx.

128  {
129  if (m_isLegacyTopo)
130  {return TSU::Kinematics::calcDeltaEtaBWLegacy(tob1,tob2);}
131  else
132  {return TSU::Kinematics::calcDeltaEtaBW(tob1,tob2);}
133 }

◆ calcDeltaPhi()

unsigned int ConfigurableAlg::calcDeltaPhi ( const TCS::GenericTOB tob1,
const TCS::GenericTOB tob2 
)
inherited

Definition at line 165 of file ConfigurableAlg.cxx.

165  {
166  if (m_isLegacyTopo)
167  {return TSU::Kinematics::calcDeltaPhiLegacy(tob1,tob2);}
168  else
169  {return TSU::Kinematics::calcDeltaPhi(tob1,tob2);}
170 }

◆ calcDeltaPhiBW()

unsigned int ConfigurableAlg::calcDeltaPhiBW ( const TCS::GenericTOB tob1,
const TCS::GenericTOB tob2 
)
inherited

Definition at line 120 of file ConfigurableAlg.cxx.

120  {
121  if (m_isLegacyTopo)
122  {return TSU::Kinematics::calcDeltaPhiBWLegacy(tob1,tob2);}
123  else
124  {return TSU::Kinematics::calcDeltaPhiBW(tob1,tob2);}
125 }

◆ calcDeltaR2()

unsigned int ConfigurableAlg::calcDeltaR2 ( const TCS::GenericTOB tob1,
const TCS::GenericTOB tob2 
)
inherited

Definition at line 191 of file ConfigurableAlg.cxx.

191  {
192  if (m_isLegacyTopo)
193  {return TSU::Kinematics::calcDeltaR2Legacy(tob1,tob2);}
194  else
195  {return TSU::Kinematics::calcDeltaR2(tob1,tob2);}
196 }

◆ calcDeltaR2BW()

unsigned int ConfigurableAlg::calcDeltaR2BW ( const TCS::GenericTOB tob1,
const TCS::GenericTOB tob2 
)
inherited

Definition at line 152 of file ConfigurableAlg.cxx.

152  {
153  if (m_isLegacyTopo)
154  {return TSU::Kinematics::calcDeltaR2BWLegacy(tob1,tob2);}
155  else
156  {return TSU::Kinematics::calcDeltaR2BW(tob1,tob2);}
157 }

◆ calcInvMass()

unsigned int ConfigurableAlg::calcInvMass ( const TCS::GenericTOB tob1,
const TCS::GenericTOB tob2 
)
inherited

Definition at line 181 of file ConfigurableAlg.cxx.

181  {
182  return TSU::Kinematics::calcInvMass(tob1,tob2);
183 }

◆ calcInvMassBW()

unsigned int ConfigurableAlg::calcInvMassBW ( const TCS::GenericTOB tob1,
const TCS::GenericTOB tob2 
)
inherited

Definition at line 136 of file ConfigurableAlg.cxx.

136  {
137  if (m_isLegacyTopo)
138  {return TSU::Kinematics::calcInvMassBWLegacy(tob1,tob2);}
139  else
140  {return TSU::Kinematics::calcInvMassBW(tob1,tob2);}
141 }

◆ calcTMass()

unsigned int ConfigurableAlg::calcTMass ( const TCS::GenericTOB tob1,
const TCS::GenericTOB tob2 
)
inherited

Definition at line 186 of file ConfigurableAlg.cxx.

186  {
187  return TSU::Kinematics::calcTMass(tob1,tob2);
188 }

◆ calcTMassBW()

unsigned int ConfigurableAlg::calcTMassBW ( const TCS::GenericTOB tob1,
const TCS::GenericTOB tob2 
)
inherited

Definition at line 144 of file ConfigurableAlg.cxx.

144  {
145  if (m_isLegacyTopo)
146  {return TSU::Kinematics::calcTMassBWLegacy(tob1,tob2);}
147  else
148  {return TSU::Kinematics::calcTMassBW(tob1,tob2);}
149 }

◆ checkeTAUWP() [1/2]

bool TCS::cTauMultiplicity::checkeTAUWP ( const TCS::cTauTOB etauCand) const
private

Definition at line 177 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.

177  {
178  if(m_threshold->isolation() == WP::NONE) return true;
179  auto iso_wp = m_extraInfo->isolation(m_threshold->isolation(), etauCand->etaDouble());
180  return etauCand->RCore() >= iso_wp.eTAU_rCoreMin_WP_fw() && etauCand->RHad() >= iso_wp.eTAU_rHadMin_WP_fw();
181 }

◆ checkeTAUWP() [2/2]

bool TCS::cTauMultiplicity::checkeTAUWP ( const xAOD::eFexTauRoI eTau,
const TrigConf::L1Threshold_cTAU thr 
)
static

Definition at line 278 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.

278  {
279  if(thr.isolation() == WP::NONE) return true;
280  auto iso_wp = thr.getExtraInfo()->isolation(thr.isolation(), eTau.eta());
281  return eTau.tauOneThresholds() >= iso_wp.eTAU_rCoreMin_WP_fw() && eTau.tauTwoThresholds() >= iso_wp.eTAU_rHadMin_WP_fw();
282 }

◆ checkIsolationWP() [1/2]

bool TCS::cTauMultiplicity::checkIsolationWP ( const TCS::cTauTOB etauCand,
const TCS::cTauTOB jtauCand 
) const
private

Definition at line 170 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.

170  {
171  if(m_threshold->isolation() == WP::NONE) return true;
172  auto iso_wp = m_extraInfo->isolation(m_threshold->isolation(), etauCand->etaDouble());
173  return jtauCand->EtIso()*1024 + jtauCand->Et()*iso_wp.isolation_jTAUCoreScale_fw() < etauCand->Et()*iso_wp.isolation_fw();
174 }

◆ checkIsolationWP() [2/2]

bool TCS::cTauMultiplicity::checkIsolationWP ( const xAOD::eFexTauRoI eTau,
const xAOD::jFexTauRoI jTau,
const TrigConf::L1Threshold_cTAU thr 
)
static

Definition at line 271 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.

271  {
272  if(thr.isolation() == WP::NONE) return true;
273  auto iso_wp = thr.getExtraInfo()->isolation(thr.isolation(), eTau.eta());
274  return jTau.tobIso()*2*1024 + jTau.tobEt()*2*iso_wp.isolation_jTAUCoreScale_fw() < eTau.etTOB()*iso_wp.isolation_fw();
275 }

◆ className()

const std::string& TCS::ConfigurableAlg::className ( ) const
inlineinherited

Definition at line 49 of file ConfigurableAlg.h.

49 { return m_className; }

◆ cTauMatching() [1/3]

bool TCS::cTauMultiplicity::cTauMatching ( const TCS::cTauTOB etauCand,
const TCS::cTauTOB jtauCand 
) const
private

Definition at line 184 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.

184  {
185 
186  bool matching = false;
187 
188  // Matching is done comparing eta_tower and phi_tower (granularity = 0.1)
189  // These coordinates represent the lower edge of the towers (both for eFEX and jFEX)
190 
191  // eTau eta = 4*eta_tower + seed, eta from -25 to 24
192  int eTauEtaTower;
193  if(etauCand->eta()%4 >= 0 ) eTauEtaTower = etauCand->eta() - etauCand->eta()%4;
194  else eTauEtaTower = etauCand->eta() - etauCand->eta()%4 - 4;
195  int jTauEtaTower;
196  if (jtauCand->eta()%4 >= 0 ) jTauEtaTower = jtauCand->eta() - jtauCand->eta()%4;
197  else jTauEtaTower = jtauCand->eta() - jtauCand->eta()%4 - 4;
198 
199  //int jTauEtaTower = jtauCand->eta(); // jTau eta = 4*eta_tower
200  unsigned int eTauPhiTower = etauCand->phi() >> 1; // eTau phi = 2*phi_tower
201  unsigned int jTauPhiTower = jtauCand->phi() >> 1; // jTau phi = 2*phi_tower + 1 (jTau coordinates are at center of tower)
202 
203  matching = (eTauEtaTower == jTauEtaTower) && (eTauPhiTower == jTauPhiTower);
204 
205  return matching;
206 
207 }

◆ cTauMatching() [2/3]

bool TCS::cTauMultiplicity::cTauMatching ( const xAOD::eFexTauRoI eTau,
const xAOD::jFexTauRoI jTau 
)
static

Definition at line 248 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.

248  {
249 
250  // eFEX: etaTower = iEta, phiTower = iPhi
251  // jFEX: etaTower = globalEta, phiTower = globalPhi
252 
253  int eTauEtaTower;
254  if(eTau.iEtaTopo()%4 >= 0 ) eTauEtaTower = eTau.iEtaTopo() - eTau.iEtaTopo()%4;
255  else eTauEtaTower = eTau.iEtaTopo() - eTau.iEtaTopo()%4 - 4;
256 
257  int jTauEtaTopo = TSU::toTopoEta(jTau.eta());
258  int jTauEtaTower;
259  if(jTauEtaTopo%4 >= 0 ) jTauEtaTower = jTauEtaTopo - jTauEtaTopo%4;
260  else jTauEtaTower = jTauEtaTopo - jTauEtaTopo%4 - 4;
261 
262  unsigned int jTauPhiTower = TSU::toTopoPhi(jTau.phi()) >> 1; //ignore lowest bit as jTau coordinates are taken at tower center
263  unsigned int eTauPhiTower = static_cast<unsigned int>(eTau.iPhiTopo()) >> 1; //shift eTau location in the same way to stay consistent
264 
265  bool matching = ( eTauEtaTower == jTauEtaTower ) && ( eTauPhiTower == jTauPhiTower );
266  return matching;
267 
268 }

◆ cTauMatching() [3/3]

size_t TCS::cTauMultiplicity::cTauMatching ( const xAOD::eFexTauRoI eTau,
const xAOD::jFexTauRoIContainer jTauRoIs 
)
static

Definition at line 212 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.

212  {
213 
214  // Return the index of the matched jTau if existent (otherwise return std::numeric_limits<size_t>::max())
215  size_t i_matched{std::numeric_limits<size_t>::max()};
216  size_t i_jTau{0};
217 
218  int eTauEtaTower;
219  if(eTau.iEtaTopo()%4 >= 0 ) eTauEtaTower = eTau.iEtaTopo() - eTau.iEtaTopo()%4;
220  else eTauEtaTower = eTau.iEtaTopo() - eTau.iEtaTopo()%4 - 4;
221 
222  for(const xAOD::jFexTauRoI* jTau : jTauRoIs) {
223 
224  // eFEX: etaTower = iEta, phiTower = iPhi
225  // jFEX: etaTower = globalEta, phiTower = globalPhi
226 
227  int jTauEtaTopo = TSU::toTopoEta(jTau->eta());
228  int jTauEtaTower;
229  if(jTauEtaTopo%4 >= 0 ) jTauEtaTower = jTauEtaTopo - jTauEtaTopo%4;
230  else jTauEtaTower = jTauEtaTopo - jTauEtaTopo%4 - 4;
231 
232  unsigned int jTauPhiTower = TSU::toTopoPhi(jTau->phi()) >> 1; //ignore lowest bit as jTau coordinates are taken at tower center
233  unsigned int eTauPhiTower = static_cast<unsigned int>(eTau.iPhiTopo()) >> 1; //shift eTau location in the same way to stay consistent
234  bool matching = ( eTauEtaTower == jTauEtaTower ) && ( eTauPhiTower == jTauPhiTower );
235 
236  if(matching) {
237  i_matched = i_jTau;
238  break; // Break the loop when a match is found
239  }
240  ++i_jTau;
241  }
242 
243  return i_matched;
244 
245 }

◆ defineParameter() [1/3]

void ConfigurableAlg::defineParameter ( const Parameter parameter)
privateinherited

Definition at line 213 of file ConfigurableAlg.cxx.

213  {
215  TCS_EXCEPTION("Duplicate parameter definition '" << parameter.name() << "' for algorithm '" << name() << "'");
216  }
218 }

◆ defineParameter() [2/3]

void ConfigurableAlg::defineParameter ( const std::string &  name,
TCS::parType_t  value 
)
protectedinherited

Definition at line 201 of file ConfigurableAlg.cxx.

201  {
203 }

◆ defineParameter() [3/3]

void ConfigurableAlg::defineParameter ( const std::string &  name,
TCS::parType_t  value,
unsigned int  selection 
)
protectedinherited

Definition at line 207 of file ConfigurableAlg.cxx.

207  {
209 }

◆ doReset()

TCS::StatusCode TCS::CountingAlg::doReset ( )
privatevirtualinherited

Implements TCS::ConfigurableAlg.

Definition at line 11 of file CountingAlg.cxx.

11  {
12  return StatusCode::SUCCESS;
13 }

◆ fillHist1D()

void ConfigurableAlg::fillHist1D ( const std::string &  histName,
double  x 
)
protectedinherited

Definition at line 467 of file ConfigurableAlg.cxx.

467  {
468  m_impl->fillHist1D(histName,x);
469 }

◆ fillHist2D()

void ConfigurableAlg::fillHist2D ( const std::string &  histName,
double  x,
double  y 
)
protectedinherited

Definition at line 471 of file ConfigurableAlg.cxx.

471  {
472  m_impl->fillHist2D(histName,x,y);
473 }

◆ fullname()

std::string TCS::ConfigurableAlg::fullname ( ) const
inlineinherited

Definition at line 50 of file ConfigurableAlg.h.

50 { return m_className + "/" + m_name; }

◆ getThreshold()

const TrigConf::L1Threshold* TCS::CountingAlg::getThreshold ( )
inlineinherited

Definition at line 47 of file CountingAlg.h.

47 { return m_threshold; }

◆ initialize()

TCS::StatusCode TCS::cTauMultiplicity::initialize ( )
overridevirtual

Reimplemented from TCS::ConfigurableAlg.

Definition at line 31 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.

31  {
32  m_threshold = dynamic_cast<const TrigConf::L1Threshold_cTAU*>(getThreshold());
33  if (not m_threshold){
34  TRG_MSG_ERROR("Dynamic cast failed in TCS::cTauMultiplicity::initialize");
35  return StatusCode::FAILURE;
36  }
37 
39 
40  // book histograms
41  std::string hname_accept = "cTauMultiplicity_accept_EtaPt_"+m_threshold->name();
42  bookHistMult(m_histAccept, hname_accept, "Mult_"+m_threshold->name(), "#eta#times40", "E_{t} [GeV]", 200, -200, 200, 100, 0, 100);
43 
44  hname_accept = "cTauMultiplicity_accept_counts_"+m_threshold->name();
45  bookHistMult(m_histAccept, hname_accept, "Mult_"+m_threshold->name(), "counts", 15, 0, 15);
46 
47  // cTau TOB monitoring histograms
48  bookHistMult(m_histcTauEt, "cTauTOBEt", "Matched cTau TOB Et", "E_{t} [GeV]", 200, 0, 400);
49  bookHistMult(m_histcTauPhiEta, "cTauTOBPhiEta", "Matched cTau TOB location", "#eta#times40", "#phi#times20", 200, -200, 200, 128, 0, 128);
50  bookHistMult(m_histcTauEtEta, "cTauTOBEtEta", "Matched cTau TOB Et vs eta", "#eta#times40", "E_{t} [GeV]", 200, -200, 200, 200, 0, 400);
51  bookHistMult(m_histcTauPartialIsoLoose, "cTauTOBPartialIsoLoose", "Matched cTau Loose partial isolation", "Loose isolation", 200, 0, 10);
52  bookHistMult(m_histcTauPartialIsoMedium, "cTauTOBPartialIsoMedium", "Matched cTau Medium partial isolation", "Medium isolation", 200, 0, 10);
53  bookHistMult(m_histcTauPartialIsoMedium12, "cTauTOBPartialIsoMedium12", "Matched cTau Medium12 partial isolation", "Medium12 isolation", 200, 0, 10);
54  bookHistMult(m_histcTauPartialIsoMedium20, "cTauTOBPartialIsoMedium20", "Matched cTau Medium20 partial isolation", "Medium20 isolation", 200, 0, 10);
55  bookHistMult(m_histcTauPartialIsoMedium30, "cTauTOBPartialIsoMedium30", "Matched cTau Medium30 partial isolation", "Medium30 isolation", 200, 0, 10);
56  bookHistMult(m_histcTauPartialIsoMedium35, "cTauTOBPartialIsoMedium35", "Matched cTau Medium35 partial isolation", "Medium35 isolation", 200, 0, 10);
57  bookHistMult(m_histcTauPartialIsoTight, "cTauTOBPartialIsoTight", "Matched cTau Tight partial isolation", "Tight isolation", 200, 0, 10);
58  bookHistMult(m_histcTauIsoMatchedPass, "cTauTOBIsoMatchedPass", "Matched cTau isolation pass", "isolation pass", 2, 0, 2);
59 
60  return StatusCode::SUCCESS;
61 }

◆ isCountingAlg()

bool TCS::ConfigurableAlg::isCountingAlg ( ) const
inlineinherited

Definition at line 64 of file ConfigurableAlg.h.

64 { return m_algType == COUNT; }

◆ isDecisionAlg()

bool TCS::ConfigurableAlg::isDecisionAlg ( ) const
inlineinherited

Definition at line 62 of file ConfigurableAlg.h.

62 { return m_algType == DECISION; }

◆ isLegacyTopo()

bool TCS::ConfigurableAlg::isLegacyTopo ( ) const
inlineinherited

Definition at line 66 of file ConfigurableAlg.h.

66 { return m_isLegacyTopo; }

◆ isocut() [1/2]

bool ConfigurableAlg::isocut ( const std::string &  threshold,
const unsigned int  bit 
) const
protectedinherited

Definition at line 484 of file ConfigurableAlg.cxx.

484  {
485  unsigned int value = 0;
486  if (threshold == "None") {value = 0;}
487  else if (threshold == "Loose") {value = 1;}
488  else if (threshold == "Medium") {value = 2;}
489  else if (threshold == "HadMedium") {value = 2;}
490  else if (threshold == "Tight") {value = 3;}
491  else {
492  TRG_MSG_WARNING("No isolation defined as " << threshold);
493  }
494 
495  if (bit >= value) {return true;}
496  else {return false;}
497 }

◆ isocut() [2/2]

bool ConfigurableAlg::isocut ( const unsigned int  threshold,
const unsigned int  bit 
) const
protectedinherited

Definition at line 500 of file ConfigurableAlg.cxx.

500  {
501  if (bit >= threshold) {return true;}
502  else {return false;}
503 }

◆ isSortingAlg()

bool TCS::ConfigurableAlg::isSortingAlg ( ) const
inlineinherited

Definition at line 60 of file ConfigurableAlg.h.

60 { return m_algType == SORT; }

◆ msg() [1/2]

MsgStreamTC & TrigConf::TrigConfMessaging::msg ( ) const
inlineinherited

The standard message stream.

Returns a reference to the message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 81 of file TrigConfMessaging.h.

82  {
83  MsgStreamTC* ms = m_msg_tls.get();
84  if (!ms) {
85  ms = new MsgStreamTC(m_name);
86  m_msg_tls.reset(ms);
87  }
88  return *ms;
89  }

◆ msg() [2/2]

MsgStreamTC & TrigConf::TrigConfMessaging::msg ( const MSGTC::Level  lvl) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 91 of file TrigConfMessaging.h.

92  {
93  return msg() << lvl;
94  }

◆ msgLvl()

bool TrigConf::TrigConfMessaging::msgLvl ( const MSGTC::Level  lvl) const
inlineinherited

Test the output level.

Parameters
lvlThe message level to test against
Returns
boolean Indicting if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 70 of file TrigConfMessaging.h.

71  {
72  if (msg().level() <= lvl) {
73  msg() << lvl;
74  return true;
75  }
76  else {
77  return false;
78  }
79  }

◆ name()

const std::string& TCS::ConfigurableAlg::name ( ) const
inlineinherited

Definition at line 48 of file ConfigurableAlg.h.

48 { return m_name; }

◆ numberOutputBits()

unsigned int TCS::CountingAlg::numberOutputBits ( ) const
inlineinherited

Definition at line 40 of file CountingAlg.h.

40 { return m_numberOutputBits; }

◆ parameter() [1/2]

const TCS::Parameter & ConfigurableAlg::parameter ( const std::string &  parameterName) const
inherited

Definition at line 243 of file ConfigurableAlg.cxx.

243  {
244  return parameters().parameter(parameterName);
245 }

◆ parameter() [2/2]

const TCS::Parameter & ConfigurableAlg::parameter ( const std::string &  parameterName,
unsigned int  selection 
) const
inherited

Definition at line 249 of file ConfigurableAlg.cxx.

249  {
250  return parameters().parameter(parameterName, selection);
251 }

◆ parameters()

const ParameterSpace& TCS::ConfigurableAlg::parameters ( ) const
inlineinherited

Definition at line 87 of file ConfigurableAlg.h.

87 { return m_parameters; }

◆ process()

TCS::StatusCode TCS::cTauMultiplicity::process ( const TCS::InputTOBArray input,
Count count 
)
finaloverridevirtual

Implements TCS::CountingAlg.

Definition at line 72 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.

73 {
74  const cTauTOBArray& cTaus = dynamic_cast<const cTauTOBArray&>(input);
75 
76  int counting = 0;
77  // Loop over eTau candidates
78  for(cTauTOBArray::const_iterator etauCand = cTaus.begin(); etauCand != cTaus.end(); ++etauCand ) {
79 
80  if((*etauCand)->tobType() != TCS::ETAU) continue;
81 
82  bool accept = false; // accept = true if (isMatched==true && isIsolated==true) || (isMatched==false)
83  bool isMatched = false; // Is the eTau matched to a jTau?
84  bool isIsolated = false; // If matched: does the resulting cTau pass the isolation cut?
85  float isolation_partial_loose = 0; // cTau Loose partial isolation (0 if no match is found)
86  float isolation_partial_medium = 0; // cTau Medium partial isolation (0 if no match is found)
87  float isolation_partial_medium12 = 0; // cTau Medium12 partial isolation (0 if no match is found)
88  float isolation_partial_medium20 = 0; // cTau Medium20 partial isolation (0 if no match is found)
89  float isolation_partial_medium30 = 0; // cTau Medium30 partial isolation (0 if no match is found)
90  float isolation_partial_medium35 = 0; // cTau Medium35 partial isolation (0 if no match is found)
91  float isolation_partial_tight = 0; // cTau Tight partial isolation (0 if no match is found)
92 
93  // Loop over jTau candidates
94  for(cTauTOBArray::const_iterator jtauCand = cTaus.begin(); jtauCand != cTaus.end(); ++jtauCand) {
95 
96  if((*jtauCand)->tobType() != TCS::JTAU) continue;
97 
98  isMatched = cTauMatching(*etauCand, *jtauCand);
99 
100  if(isMatched) {
101  float etauCand_et = static_cast<float>((*etauCand)->Et());
102  float etauCand_eta = static_cast<float>((*etauCand)->etaDouble());
103  float jtauCand_et = static_cast<float>((*jtauCand)->Et());
104  float jtauCand_etIso = static_cast<float>((*jtauCand)->EtIso());
105  // Updated isolation condition, WP-dependent (ATR-28641)
106  // "Partial" isolation formula: I = (E_T^{jTAU Iso} + jTAUCoreScale * E_T^{jTAU Core}) / E_T^{eTAU}
107  // This formula is missing the eTAU Core substraction from the numerator, grouped with the isolation cut value
108  isolation_partial_loose = (jtauCand_etIso + m_extraInfo->isolation(WP::LOOSE, etauCand_eta).isolation_jTAUCoreScale_fw()/1024.0 * jtauCand_et) / etauCand_et; // Internal variable for monitoring
109  isolation_partial_loose = (jtauCand_etIso + m_extraInfo->isolation(WP::MEDIUM, etauCand_eta).isolation_jTAUCoreScale_fw()/1024.0 * jtauCand_et) / etauCand_et; // Internal variable for monitoring
110  isolation_partial_medium12 = (jtauCand_etIso + m_extraInfo->isolation(WP::MEDIUM12, etauCand_eta).isolation_jTAUCoreScale_fw()/1024.0 * jtauCand_et) / etauCand_et; // Internal variable for monitoring
111  isolation_partial_medium20 = (jtauCand_etIso + m_extraInfo->isolation(WP::MEDIUM20, etauCand_eta).isolation_jTAUCoreScale_fw()/1024.0 * jtauCand_et) / etauCand_et; // Internal variable for monitoring
112  isolation_partial_medium30 = (jtauCand_etIso + m_extraInfo->isolation(WP::MEDIUM30, etauCand_eta).isolation_jTAUCoreScale_fw()/1024.0 * jtauCand_et) / etauCand_et; // Internal variable for monitoring
113  isolation_partial_medium35 = (jtauCand_etIso + m_extraInfo->isolation(WP::MEDIUM35, etauCand_eta).isolation_jTAUCoreScale_fw()/1024.0 * jtauCand_et) / etauCand_et; // Internal variable for monitoring
114  isolation_partial_tight = (jtauCand_etIso + m_extraInfo->isolation(WP::TIGHT, etauCand_eta).isolation_jTAUCoreScale_fw()/1024.0 * jtauCand_et) / etauCand_et; // Internal variable for monitoring
115  // Old isolation condition coded as in firmware: https://indico.cern.ch/event/1079697/contributions/4541419/attachments/2315137/3940824/cTAU_FirmwareAlgoProposal.pdf page 8
116 
117  isIsolated = checkIsolationWP(*etauCand, *jtauCand);
118 
119  break; // Break loop when a match is found
120  }
121 
122  } // End of jTau loop
123 
124  // Fill cTau TOB histograms before threshold cuts (matched cTaus only)
125  if(isMatched) {
126  fillHist1D(m_histcTauEt[0], (*etauCand)->EtDouble());
127  fillHist2D(m_histcTauPhiEta[0], (*etauCand)->eta(), (*etauCand)->phi());
128  fillHist2D(m_histcTauEtEta[0], (*etauCand)->eta(), (*etauCand)->EtDouble());
129  fillHist1D(m_histcTauPartialIsoLoose[0], isolation_partial_loose);
130  fillHist1D(m_histcTauPartialIsoMedium[0], isolation_partial_medium);
131  fillHist1D(m_histcTauPartialIsoMedium12[0], isolation_partial_medium12);
132  fillHist1D(m_histcTauPartialIsoMedium20[0], isolation_partial_medium20);
133  fillHist1D(m_histcTauPartialIsoMedium30[0], isolation_partial_medium30);
134  fillHist1D(m_histcTauPartialIsoMedium35[0], isolation_partial_medium35);
135  fillHist1D(m_histcTauPartialIsoTight[0], isolation_partial_tight);
136  fillHist1D(m_histcTauIsoMatchedPass[0], isMatched && isIsolated);
137  }
138 
139  if(isMatched && isIsolated) accept = true; // This is a good matched cTau
140  if(!isMatched) accept = true; // This is a non-matched eTau
141 
142  if(!checkeTAUWP(*etauCand)) accept = false; // Check eTAU rCore/BDT and rHad WP
143 
144  // Menu threshold uses 0.1 eta granularity but eFex objects have 0.025 eta granularity
145  // eFex eta is calculated as 4*eta_tower (0.1 gran.) + seed (0.025 gran.), eta from -25 to 24
146  int eta_thr;
147  if((*etauCand)->eta()%4 >= 0) eta_thr = (*etauCand)->eta() - (*etauCand)->eta()%4;
148  else eta_thr = (*etauCand)->eta() - (*etauCand)->eta()%4 - 4;
149 
150  accept = accept && (*etauCand)->Et() > m_threshold->thrValue100MeV(eta_thr/4); // Convert eta_thr to units of 0.1 to pass as an argument
151 
152  if(accept) {
153  counting++;
154  fillHist2D(m_histAccept[0], (*etauCand)->eta(), (*etauCand)->EtDouble());
155  }
156 
157  } // End of eTau loop
158 
159  fillHist1D(m_histAccept[1], counting);
160 
161  // Pass counting to TCS::Count object - output bits are composed there
162 
163  count.setSizeCount(counting);
164 
166 
167 }

◆ processBitCorrect()

TCS::StatusCode TCS::cTauMultiplicity::processBitCorrect ( const TCS::InputTOBArray input,
Count count 
)
finaloverridevirtual

Implements TCS::CountingAlg.

Definition at line 65 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.

66 {
67  return process(input, count);
68 }

◆ quadraticSumBW()

unsigned long ConfigurableAlg::quadraticSumBW ( int  i1,
int  i2 
)
inherited

Definition at line 160 of file ConfigurableAlg.cxx.

160  {
161  return TSU::Kinematics::quadraticSumBW(i1, i2);
162 }

◆ registerHist() [1/2]

void ConfigurableAlg::registerHist ( TH1 *  h)
protectedinherited

Definition at line 262 of file ConfigurableAlg.cxx.

262  {
263  m_impl->registerHist(h);
264 }

◆ registerHist() [2/2]

void ConfigurableAlg::registerHist ( TH2 *  h)
protectedinherited

Definition at line 266 of file ConfigurableAlg.cxx.

266  {
267  m_impl->registerHist(h);
268 }

◆ reset()

StatusCode TCS::ConfigurableAlg::reset ( )
inlineinherited

Definition at line 58 of file ConfigurableAlg.h.

58 { return doReset(); }

◆ setAlgoId()

void TCS::ConfigurableAlg::setAlgoId ( unsigned int  algoId)
inlineinherited

Definition at line 93 of file ConfigurableAlg.h.

93 { m_algoId = algoId; }

◆ setClassName()

void TCS::ConfigurableAlg::setClassName ( const std::string &  className)
inlineinherited

Definition at line 43 of file ConfigurableAlg.h.

◆ setL1TopoHistSvc()

void ConfigurableAlg::setL1TopoHistSvc ( std::shared_ptr< IL1TopoHistSvc histSvc)
inherited

sets the external hist service

forwarding public interface

Definition at line 258 of file ConfigurableAlg.cxx.

258  {
259  m_impl->setL1TopoHistSvc(histSvc);
260 }

◆ setLegacyMode()

void TCS::ConfigurableAlg::setLegacyMode ( bool  isLegacyTopo)
inlineinherited

Definition at line 45 of file ConfigurableAlg.h.

◆ setNumberOutputBits()

void TCS::CountingAlg::setNumberOutputBits ( unsigned int  numberOutputBits)
inlineinherited

Definition at line 41 of file CountingAlg.h.

◆ setParameters()

void ConfigurableAlg::setParameters ( const ParameterSpace parameters)
inherited

Definition at line 222 of file ConfigurableAlg.cxx.

222  {
223 
224  // check if parameterspace is for this algorithm
225  if(name() != parameters.algName()) {
226  TCS_EXCEPTION("Name of parameter set (" << parameters.algName() << ") do not match configurable name (" << name() << ")" );
227  }
228 
229  // copy parameters
230  for(const Parameter & p : parameters) {
231  try {
233  }
234  catch(const TCS::Exception& e) {
235  TCS_EXCEPTION("Algorithm configuration failed for " << name() << "! Caught exception: " << e.what());
236  }
237  }
238 }

◆ setThreshold()

void TCS::CountingAlg::setThreshold ( const TrigConf::L1Threshold thr)
inlineinherited

Definition at line 44 of file CountingAlg.h.

44 { m_threshold = &thr; }

◆ ToString()

std::string ConfigurableAlg::ToString ( const int  val)
privateinherited

Definition at line 475 of file ConfigurableAlg.cxx.

476 {
477  const int val_int = static_cast<int>(val);
478  std::ostringstream temp;
479  temp << val_int;
480  return temp.str();
481 }

Member Data Documentation

◆ m_algoId

unsigned int TCS::ConfigurableAlg::m_algoId {0}
privateinherited

Definition at line 138 of file ConfigurableAlg.h.

◆ m_algType

AlgType TCS::ConfigurableAlg::m_algType
privateinherited

Definition at line 142 of file ConfigurableAlg.h.

◆ m_className

std::string TCS::ConfigurableAlg::m_className {""}
privateinherited

Definition at line 135 of file ConfigurableAlg.h.

◆ m_extraInfo

std::shared_ptr<TrigConf::L1ThrExtraInfo_cTAU> TCS::cTauMultiplicity::m_extraInfo
private

◆ m_histAccept

std::vector<std::string> TCS::CountingAlg::m_histAccept
protectedinherited

Definition at line 51 of file CountingAlg.h.

◆ m_histcTauEt

std::vector<std::string> TCS::cTauMultiplicity::m_histcTauEt
private

◆ m_histcTauEtEta

std::vector<std::string> TCS::cTauMultiplicity::m_histcTauEtEta
private

◆ m_histcTauIsoMatchedPass

std::vector<std::string> TCS::cTauMultiplicity::m_histcTauIsoMatchedPass
private

◆ m_histcTauPartialIsoLoose

std::vector<std::string> TCS::cTauMultiplicity::m_histcTauPartialIsoLoose
private

◆ m_histcTauPartialIsoMedium

std::vector<std::string> TCS::cTauMultiplicity::m_histcTauPartialIsoMedium
private

◆ m_histcTauPartialIsoMedium12

std::vector<std::string> TCS::cTauMultiplicity::m_histcTauPartialIsoMedium12
private

◆ m_histcTauPartialIsoMedium20

std::vector<std::string> TCS::cTauMultiplicity::m_histcTauPartialIsoMedium20
private

◆ m_histcTauPartialIsoMedium30

std::vector<std::string> TCS::cTauMultiplicity::m_histcTauPartialIsoMedium30
private

◆ m_histcTauPartialIsoMedium35

std::vector<std::string> TCS::cTauMultiplicity::m_histcTauPartialIsoMedium35
private

◆ m_histcTauPartialIsoTight

std::vector<std::string> TCS::cTauMultiplicity::m_histcTauPartialIsoTight
private

◆ m_histcTauPhiEta

std::vector<std::string> TCS::cTauMultiplicity::m_histcTauPhiEta
private

◆ m_impl

std::unique_ptr<ConfigurableAlgImpl> TCS::ConfigurableAlg::m_impl
privateinherited

Definition at line 129 of file ConfigurableAlg.h.

◆ m_isLegacyTopo

bool TCS::ConfigurableAlg::m_isLegacyTopo
privateinherited

Definition at line 144 of file ConfigurableAlg.h.

◆ m_msg_tls

boost::thread_specific_ptr<MsgStreamTC> TrigConf::TrigConfMessaging::m_msg_tls
mutableprivateinherited

MsgStreamTC instance (a std::cout like with print-out levels)

Definition at line 66 of file TrigConfMessaging.h.

◆ m_name

std::string TCS::ConfigurableAlg::m_name {""}
privateinherited

Definition at line 134 of file ConfigurableAlg.h.

◆ m_numberOutputBits

unsigned int TCS::CountingAlg::m_numberOutputBits {1}
privateinherited

Definition at line 60 of file CountingAlg.h.

◆ m_parameters

ParameterSpace TCS::ConfigurableAlg::m_parameters {""}
privateinherited

Definition at line 140 of file ConfigurableAlg.h.

◆ m_threshold

const TrigConf::L1Threshold_cTAU* TCS::cTauMultiplicity::m_threshold {nullptr}
private

The documentation for this class was generated from the following files:
TCS::ConfigurableAlg::SORT
@ SORT
Definition: ConfigurableAlg.h:32
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
TCS::cTauMultiplicity::m_histcTauPhiEta
std::vector< std::string > m_histcTauPhiEta
Definition: L1Topo/L1TopoAlgorithms/L1TopoAlgorithms/cTauMultiplicity.h:63
TRG_MSG_ERROR
#define TRG_MSG_ERROR(x)
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStreamMacros.h:29
replace
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Definition: hcg.cxx:307
TrigConf::Selection::WP::LOOSE
@ LOOSE
xAOD::jFexTauRoI_v1
Class describing properties of a LVL1 jFEX global Trigger Object (TOB) in the xAOD format.
Definition: jFexTauRoI_v1.h:22
TrigConf::L1Threshold_cTAU
Definition: L1Threshold.h:255
temp
Definition: JetEventDict.h:21
xAOD::eFexTauRoI_v1::iEtaTopo
int iEtaTopo() const
Getter for integer phi index (0-63)
Definition: eFexTauRoI_v1.cxx:280
TSU::Kinematics::calcTMassBW
static unsigned int calcTMassBW(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:122
TCS::ConfigurableAlg::className
const std::string & className() const
Definition: ConfigurableAlg.h:49
TCS::Parameter
Definition: Parameter.h:24
TSU::Kinematics::calcDeltaR2BWLegacy
static unsigned int calcDeltaR2BWLegacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:62
ymin
double ymin
Definition: listroot.cxx:63
TCS::cTauMultiplicity::m_histcTauPartialIsoMedium30
std::vector< std::string > m_histcTauPartialIsoMedium30
Definition: L1Topo/L1TopoAlgorithms/L1TopoAlgorithms/cTauMultiplicity.h:69
TCS::cTauTOB::EtIso
unsigned int EtIso() const
Definition: cTauTOB.h:44
TSU::Kinematics::calcInvMass
static unsigned int calcInvMass(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:244
TSU::Kinematics::calcTMass
static unsigned int calcTMass(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:256
TCS::StatusCode::SUCCESS
@ SUCCESS
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/StatusCode.h:17
TCS::ParameterSpace::parameter
const Parameter & parameter(const std::string &parameterName) const
Definition: ParameterSpace.cxx:101
TSU::Kinematics::calcDeltaPhiBW
static unsigned int calcDeltaPhiBW(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:82
max
#define max(a, b)
Definition: cfImp.cxx:41
TCS::ConfigurableAlg::m_name
std::string m_name
Definition: ConfigurableAlg.h:134
xAOD::jFexTauRoI_v1::eta
float eta() const
AddEmptyComponent.histName
string histName
Definition: AddEmptyComponent.py:64
TCS::DataArrayImpl< cTauTOB >::const_iterator
data_t::const_iterator const_iterator
Definition: DataArrayImpl.h:18
TrigConf::Selection::WP::MEDIUM12
@ MEDIUM12
TCS::ConfigurableAlg::parameters
const ParameterSpace & parameters() const
Definition: ConfigurableAlg.h:87
TCS::ParameterSpace::addParameter
ParameterSpace & addParameter(const Parameter &p)
Definition: ParameterSpace.cxx:29
TrigConf::TrigConfMessaging::m_msg_tls
boost::thread_specific_ptr< MsgStreamTC > m_msg_tls
MsgStreamTC instance (a std::cout like with print-out levels)
Definition: TrigConfMessaging.h:66
TCS::StatusCode::FAILURE
@ FAILURE
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/StatusCode.h:17
TCS::ConfigurableAlg::m_impl
std::unique_ptr< ConfigurableAlgImpl > m_impl
Definition: ConfigurableAlg.h:128
xAOD::eFexTauRoI_v1::eta
float eta() const
setter for the above
TCS::cTauMultiplicity::m_histcTauIsoMatchedPass
std::vector< std::string > m_histcTauIsoMatchedPass
Definition: L1Topo/L1TopoAlgorithms/L1TopoAlgorithms/cTauMultiplicity.h:72
TCS::Parameter::name
const std::string & name() const
Definition: Parameter.h:33
TCS::cTauTOB::RCore
unsigned int RCore() const
Definition: cTauTOB.h:41
CutsMETMaker::accept
StatusCode accept(const xAOD::Muon *mu)
Definition: CutsMETMaker.cxx:18
xAOD::eFexTauRoI_v1::tauTwoThresholds
unsigned int tauTwoThresholds() const
Tau Condition 2 (generic) results.
Definition: eFexTauRoI_v1.cxx:205
TSU::toTopoEta
int toTopoEta(float eta)
Definition: Conversions.cxx:27
TCS::ConfigurableAlg::ToString
std::string ToString(const int val)
Definition: ConfigurableAlg.cxx:475
TCS::ConfigurableAlg::isLegacyTopo
bool isLegacyTopo() const
Definition: ConfigurableAlg.h:66
TCS::ConfigurableAlg::fillHist2D
void fillHist2D(const std::string &histName, double x, double y)
Definition: ConfigurableAlg.cxx:471
xAOD::jFexTauRoI_v1::tobIso
uint16_t tobIso() const
TCS::CountingAlg::numberOutputBits
unsigned int numberOutputBits() const
Definition: CountingAlg.h:40
TCS::cTauMultiplicity::m_histcTauPartialIsoMedium35
std::vector< std::string > m_histcTauPartialIsoMedium35
Definition: L1Topo/L1TopoAlgorithms/L1TopoAlgorithms/cTauMultiplicity.h:70
TSU::Kinematics::calcDeltaPhi
static unsigned int calcDeltaPhi(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:231
athena.value
value
Definition: athena.py:124
InDetSecVtxTruthMatchUtils::isMatched
bool isMatched(int matchInfo)
Definition: InDetSecVtxTruthMatchTool.h:48
TSU::Kinematics::calcInvMassBWLegacy
static unsigned int calcInvMassBWLegacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:34
TSU::Kinematics::calcDeltaEtaBWLegacy
static unsigned int calcDeltaEtaBWLegacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:29
TCS::cTauTOB::etaDouble
double etaDouble() const
Definition: cTauTOB.h:38
TSU::Kinematics::calcDeltaR2BW
static unsigned int calcDeltaR2BW(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:131
TrigConf::DataStructure::name
virtual const std::string & name() const final
Definition: DataStructure.cxx:109
python.TrigEgammaMonitorHelper.TH2F
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:45
x
#define x
python.SystemOfUnits.ms
int ms
Definition: SystemOfUnits.py:132
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
TCS::ConfigurableAlg::parameter
const Parameter & parameter(const std::string &parameterName) const
Definition: ConfigurableAlg.cxx:243
TrigConf::Selection::WP::NONE
@ NONE
TSU::Kinematics::calcDeltaEtaBW
static unsigned int calcDeltaEtaBW(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:92
TCS::cTauMultiplicity::m_histcTauPartialIsoMedium12
std::vector< std::string > m_histcTauPartialIsoMedium12
Definition: L1Topo/L1TopoAlgorithms/L1TopoAlgorithms/cTauMultiplicity.h:67
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
TSU::Kinematics::calcDeltaR2Legacy
static unsigned int calcDeltaR2Legacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:222
TCS::CountingAlg::setNumberOutputBits
void setNumberOutputBits(unsigned int numberOutputBits)
Definition: CountingAlg.h:41
TCS::Parameter::selection
unsigned int selection() const
Definition: Parameter.h:34
TrigConf::L1Threshold_Calo::thrValue100MeV
virtual unsigned int thrValue100MeV(int eta=0) const
as above above but in 100 MeV
Definition: L1ThresholdBase.cxx:284
TCS::cTauMultiplicity::m_histcTauPartialIsoTight
std::vector< std::string > m_histcTauPartialIsoTight
Definition: L1Topo/L1TopoAlgorithms/L1TopoAlgorithms/cTauMultiplicity.h:71
TSU::Kinematics::calcDeltaR2
static unsigned int calcDeltaR2(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:266
xAOD::eFexTauRoI_v1::tauOneThresholds
unsigned int tauOneThresholds() const
Tau Condition 1 (generic) results.
Definition: eFexTauRoI_v1.cxx:201
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
TCS::ConfigurableAlg::m_isLegacyTopo
bool m_isLegacyTopo
Definition: ConfigurableAlg.h:144
TCS::cTauMultiplicity::m_histcTauPartialIsoMedium
std::vector< std::string > m_histcTauPartialIsoMedium
Definition: L1Topo/L1TopoAlgorithms/L1TopoAlgorithms/cTauMultiplicity.h:66
TSU::Kinematics::calcDeltaPhiBWLegacy
static unsigned int calcDeltaPhiBWLegacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:19
TCS::cTauMultiplicity::m_histcTauPartialIsoMedium20
std::vector< std::string > m_histcTauPartialIsoMedium20
Definition: L1Topo/L1TopoAlgorithms/L1TopoAlgorithms/cTauMultiplicity.h:68
TCS::cTauMultiplicity::m_histcTauEt
std::vector< std::string > m_histcTauEt
Definition: L1Topo/L1TopoAlgorithms/L1TopoAlgorithms/cTauMultiplicity.h:62
TCS::ConfigurableAlg::doReset
virtual StatusCode doReset()=0
xAOD::eFexTauRoI_v1::iPhiTopo
int iPhiTopo() const
Return phi index in the range used by L1Topo (0->127)
Definition: eFexTauRoI_v1.cxx:272
TCS::Exception
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Exception.h:21
TrigConf::TrigConfMessaging::m_name
std::string m_name
Definition: TrigConfMessaging.h:67
TCS::ConfigurableAlg::name
const std::string & name() const
Definition: ConfigurableAlg.h:48
xAOD::jFexTauRoI_v1::tobEt
uint16_t tobEt() const
TCS::ConfigurableAlg::m_algType
AlgType m_algType
Definition: ConfigurableAlg.h:142
xmin
double xmin
Definition: listroot.cxx:60
h
TCS::ConfigurableAlg::NONE
@ NONE
Definition: ConfigurableAlg.h:32
TCS::ParameterSpace::setParameter
ParameterSpace & setParameter(const Parameter &p)
Definition: ParameterSpace.cxx:49
TrigConf::TrigConfMessaging::msg
MsgStreamTC & msg() const
The standard message stream.
Definition: TrigConfMessaging.h:81
TSU::Kinematics::calcDeltaEtaLegacy
static unsigned int calcDeltaEtaLegacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:217
TCS::ConfigurableAlg::defineParameter
void defineParameter(const std::string &name, TCS::parType_t value)
Definition: ConfigurableAlg.cxx:201
TrigConf::L1Threshold_cTAU::getExtraInfo
const std::shared_ptr< L1ThrExtraInfo_cTAU > getExtraInfo() const
Definition: L1Threshold.cxx:188
covarianceTool.title
title
Definition: covarianceTool.py:542
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
contains
bool contains(const std::string &s, const std::string &regx)
does a string contain the substring
Definition: hcg.cxx:111
TCS::cTauMultiplicity::checkIsolationWP
static bool checkIsolationWP(const xAOD::eFexTauRoI &eTau, const xAOD::jFexTauRoI &jTau, const TrigConf::L1Threshold_cTAU &thr)
Definition: L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx:271
MuonSegmentReaderConfig.histSvc
histSvc
Definition: MuonSegmentReaderConfig.py:96
TSU::Kinematics::calcInvMassBW
static unsigned int calcInvMassBW(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:97
TCS::cTauTOB::phi
unsigned int phi() const
Definition: cTauTOB.h:35
xAOD::jFexTauRoI_v1::phi
float phi() const
TCS::CountingAlg::CountingAlg
CountingAlg(const std::string &name)
Definition: CountingAlg.h:28
TrigConf::Selection::WP::MEDIUM20
@ MEDIUM20
TCS::cTauMultiplicity::checkeTAUWP
static bool checkeTAUWP(const xAOD::eFexTauRoI &eTau, const TrigConf::L1Threshold_cTAU &thr)
Definition: L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx:278
TCS_EXCEPTION
#define TCS_EXCEPTION(MSG)
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Exception.h:14
TCS::cTauMultiplicity::m_extraInfo
std::shared_ptr< TrigConf::L1ThrExtraInfo_cTAU > m_extraInfo
Definition: L1Topo/L1TopoAlgorithms/L1TopoAlgorithms/cTauMultiplicity.h:53
selection
std::string selection
Definition: fbtTestBasics.cxx:75
TCS::cTauTOB::eta
int eta() const
Definition: cTauTOB.h:34
TRG_MSG_WARNING
#define TRG_MSG_WARNING(x)
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStreamMacros.h:28
TSU::Kinematics::quadraticSumBW
static unsigned long quadraticSumBW(int i1, int i2)
compute the sum in quadrature of two ints
Definition: Kinematics.cxx:146
TCS::ConfigurableAlg::m_algoId
unsigned int m_algoId
Definition: ConfigurableAlg.h:138
TSU::Kinematics::calcDeltaPhiLegacy
static unsigned int calcDeltaPhiLegacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:209
TCS::cTauMultiplicity::cTauMatching
static size_t cTauMatching(const xAOD::eFexTauRoI &eTau, const xAOD::jFexTauRoIContainer &jTauRoIs)
Definition: L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx:212
threshold
Definition: chainparser.cxx:74
MakeNewFileFromOldAndSubstitution.newName
dictionary newName
Definition: ICHEP2016/MakeNewFileFromOldAndSubstitution.py:95
TCS::ConfigurableAlg::m_className
std::string m_className
Definition: ConfigurableAlg.h:135
TCS::CountingAlg::m_histAccept
std::vector< std::string > m_histAccept
Definition: CountingAlg.h:51
TCS::cTauMultiplicity::m_threshold
const TrigConf::L1Threshold_cTAU * m_threshold
Definition: L1Topo/L1TopoAlgorithms/L1TopoAlgorithms/cTauMultiplicity.h:52
TCS::cTauTOB::Et
unsigned int Et() const
Definition: cTauTOB.h:33
TrigConf::Selection::WP::MEDIUM30
@ MEDIUM30
TCS::ConfigurableAlg::bookHistMult
void bookHistMult(std::vector< std::string > &regName, const std::string &name, const std::string &title, const std::string &xtitle, const int binx, const int xmin, const int xmax)
Definition: ConfigurableAlg.cxx:338
TrigConf::Selection::WP::MEDIUM
@ MEDIUM
TSU::Kinematics::calcTMassBWLegacy
static unsigned int calcTMassBWLegacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:53
xAOD::eFexTauRoI_v1::etTOB
unsigned int etTOB() const
Cluster ET (TOB ET scale, 100 MeV/count)
Definition: eFexTauRoI_v1.cxx:155
TCS::ConfigurableAlg::COUNT
@ COUNT
Definition: ConfigurableAlg.h:32
TrigConf::Selection::WP::TIGHT
@ TIGHT
TrigConf::Selection::WP::MEDIUM35
@ MEDIUM35
y
#define y
TCS::cTauMultiplicity::m_histcTauEtEta
std::vector< std::string > m_histcTauEtEta
Definition: L1Topo/L1TopoAlgorithms/L1TopoAlgorithms/cTauMultiplicity.h:64
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
plotting.yearwise_efficiency.xtitle
string xtitle
Definition: yearwise_efficiency.py:32
TSU::Kinematics::calcDeltaEta
static unsigned int calcDeltaEta(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
Definition: Kinematics.cxx:239
TCS::CountingAlg::getThreshold
const TrigConf::L1Threshold * getThreshold()
Definition: CountingAlg.h:47
xmax
double xmax
Definition: listroot.cxx:61
TCS::ParameterSpace::algName
const std::string & algName() const
Definition: ParameterSpace.h:36
TCS::cTauTOB::RHad
unsigned int RHad() const
Definition: cTauTOB.h:42
TCS::ETAU
@ ETAU
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Types.h:22
TCS::JTAU
@ JTAU
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/Types.h:13
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:24
TCS::ConfigurableAlg::fillHist1D
void fillHist1D(const std::string &histName, double x)
Definition: ConfigurableAlg.cxx:467
TCS::CountingAlg::m_threshold
TrigConf::L1Threshold const * m_threshold
Definition: CountingAlg.h:63
TrigConf::L1Threshold_cTAU::isolation
Selection::WP isolation() const
Definition: L1Threshold.h:262
TCS::cTauMultiplicity::process
virtual StatusCode process(const TCS::InputTOBArray &input, Count &count) override final
Definition: L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx:72
TCS::cTauMultiplicity::m_histcTauPartialIsoLoose
std::vector< std::string > m_histcTauPartialIsoLoose
Definition: L1Topo/L1TopoAlgorithms/L1TopoAlgorithms/cTauMultiplicity.h:65
TCS::ConfigurableAlg::DECISION
@ DECISION
Definition: ConfigurableAlg.h:32
TCS::CountingAlg::m_numberOutputBits
unsigned int m_numberOutputBits
Definition: CountingAlg.h:60
TCS::ConfigurableAlg::m_parameters
ParameterSpace m_parameters
Definition: ConfigurableAlg.h:140
ymax
double ymax
Definition: listroot.cxx:64
TCS::ConfigurableAlg::algoId
unsigned int algoId() const
Definition: ConfigurableAlg.h:53
TSU::toTopoPhi
unsigned int toTopoPhi(float phi)
Definition: Conversions.cxx:20