|
ATLAS Offline Software
|
#include <cTauMultiplicity.h>
|
| 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::L1Threshold * | getThreshold () |
|
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 Parameter & | parameter (const std::string ¶meterName) const |
|
const Parameter & | parameter (const std::string ¶meterName, unsigned int selection) const |
|
const ParameterSpace & | parameters () 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 > ®Name, 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 > ®Name, 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 > ®Name, const std::string &name, const std::string &title, const int binx, const int xmin, const int xmax) |
|
void | bookHist (std::vector< std::string > ®Name, 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...
|
|
◆ WP
◆ AlgType
◆ cTauMultiplicity()
TCS::cTauMultiplicity::cTauMultiplicity |
( |
const std::string & |
name | ) |
|
◆ ~cTauMultiplicity()
TCS::cTauMultiplicity::~cTauMultiplicity |
( |
| ) |
|
|
virtual |
◆ algoId()
unsigned int TCS::ConfigurableAlg::algoId |
( |
| ) |
const |
|
inlineinherited |
◆ 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.
273 std::string newTitle =
title;
276 newTitle = xmin_str+
title+xmax_str;
284 std::string xTitle =
title;
295 int xmin_new,xmax_new,binx_new=binx;
299 { xmin_new=1.5*
xmin; }
308 else {xmax_new = 1.5*
xmax;}
320 if (
title.find(
"ETA") != std::string::npos ){
324 if (
title.find(
"PHI") != std::string::npos ||
title.find(
"DPHI") != std::string::npos ){
328 if (
title.find(
"DETA") != std::string::npos ||
title.find(
"DR") != std::string::npos ){
333 TH1 *
h =
new TH1F(
newName.c_str(), newTitle.c_str(), binx_new, xmin_new, xmax_new);
334 h->GetXaxis()->SetTitle(xTitle.c_str());
◆ 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.
348 auto usPos =
title.find(
" vs ");
349 std::string xName =
title.substr(0,usPos);
350 std::string yName =
title.substr(usPos+4);
355 std::string newTitle =
title;
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;
366 std::string xTitle = xName;
367 std::string yTitle = yName;
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]"; }
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]"; }
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]"; }
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]"; }
385 int xmin_new,xmax_new,binx_new=binx;
389 { xmin_new=1.5*
xmin; }
398 else {xmax_new = 1.5*
xmax;}
400 int ymin_new,ymax_new,biny_new=biny;
404 { ymin_new=1.5*
ymin; }
413 else {ymax_new = 1.5*
ymax;}
426 if ( xName.find(
"ETA") != std::string::npos ){
430 if ( yName.find(
"ETA") != std::string::npos ){
434 if ( xName.find(
"PHI") != std::string::npos || xName.find(
"DPHI") != std::string::npos ){
438 if ( yName.find(
"PHI") != std::string::npos || yName.find(
"DPHI") != std::string::npos ){
442 if ( xName.find(
"DETA") != std::string::npos || xName.find(
"DR") != std::string::npos ){
446 if ( yName.find(
"DETA") != std::string::npos || yName.find(
"DR") != std::string::npos ){
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());
◆ 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 |
◆ 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 |
◆ calcDeltaEta()
◆ calcDeltaEtaBW()
◆ calcDeltaPhi()
◆ calcDeltaPhiBW()
◆ calcDeltaR2()
◆ calcDeltaR2BW()
◆ calcInvMass()
◆ calcInvMassBW()
◆ calcTMass()
◆ calcTMassBW()
◆ checkeTAUWP() [1/2]
◆ checkeTAUWP() [2/2]
◆ checkIsolationWP() [1/2]
◆ checkIsolationWP() [2/2]
◆ className()
const std::string& TCS::ConfigurableAlg::className |
( |
| ) |
const |
|
inlineinherited |
◆ cTauMatching() [1/3]
Definition at line 184 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.
186 bool matching =
false;
193 if(etauCand->
eta()%4 >= 0 ) eTauEtaTower = etauCand->
eta() - etauCand->
eta()%4;
194 else eTauEtaTower = etauCand->
eta() - etauCand->
eta()%4 - 4;
196 if (jtauCand->
eta()%4 >= 0 ) jTauEtaTower = jtauCand->
eta() - jtauCand->
eta()%4;
197 else jTauEtaTower = jtauCand->
eta() - jtauCand->
eta()%4 - 4;
200 unsigned int eTauPhiTower = etauCand->
phi() >> 1;
201 unsigned int jTauPhiTower = jtauCand->
phi() >> 1;
203 matching = (eTauEtaTower == jTauEtaTower) && (eTauPhiTower == jTauPhiTower);
◆ cTauMatching() [2/3]
Definition at line 248 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.
259 if(jTauEtaTopo%4 >= 0 ) jTauEtaTower = jTauEtaTopo - jTauEtaTopo%4;
260 else jTauEtaTower = jTauEtaTopo - jTauEtaTopo%4 - 4;
263 unsigned int eTauPhiTower =
static_cast<unsigned int>(eTau.
iPhiTopo()) >> 1;
265 bool matching = ( eTauEtaTower == jTauEtaTower ) && ( eTauPhiTower == jTauPhiTower );
◆ cTauMatching() [3/3]
Definition at line 212 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.
229 if(jTauEtaTopo%4 >= 0 ) jTauEtaTower = jTauEtaTopo - jTauEtaTopo%4;
230 else jTauEtaTower = jTauEtaTopo - jTauEtaTopo%4 - 4;
233 unsigned int eTauPhiTower =
static_cast<unsigned int>(eTau.
iPhiTopo()) >> 1;
234 bool matching = ( eTauEtaTower == jTauEtaTower ) && ( eTauPhiTower == jTauPhiTower );
◆ defineParameter() [1/3]
◆ defineParameter() [2/3]
◆ defineParameter() [3/3]
void ConfigurableAlg::defineParameter |
( |
const std::string & |
name, |
|
|
TCS::parType_t |
value, |
|
|
unsigned int |
selection |
|
) |
| |
|
protectedinherited |
◆ doReset()
◆ fillHist1D()
void ConfigurableAlg::fillHist1D |
( |
const std::string & |
histName, |
|
|
double |
x |
|
) |
| |
|
protectedinherited |
◆ fillHist2D()
void ConfigurableAlg::fillHist2D |
( |
const std::string & |
histName, |
|
|
double |
x, |
|
|
double |
y |
|
) |
| |
|
protectedinherited |
◆ fullname()
std::string TCS::ConfigurableAlg::fullname |
( |
| ) |
const |
|
inlineinherited |
◆ getThreshold()
◆ initialize()
Reimplemented from TCS::ConfigurableAlg.
Definition at line 31 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.
34 TRG_MSG_ERROR(
"Dynamic cast failed in TCS::cTauMultiplicity::initialize");
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);
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);
◆ isCountingAlg()
bool TCS::ConfigurableAlg::isCountingAlg |
( |
| ) |
const |
|
inlineinherited |
◆ isDecisionAlg()
bool TCS::ConfigurableAlg::isDecisionAlg |
( |
| ) |
const |
|
inlineinherited |
◆ isLegacyTopo()
bool TCS::ConfigurableAlg::isLegacyTopo |
( |
| ) |
const |
|
inlineinherited |
◆ isocut() [1/2]
bool ConfigurableAlg::isocut |
( |
const std::string & |
threshold, |
|
|
const unsigned int |
bit |
|
) |
| const |
|
protectedinherited |
◆ isocut() [2/2]
bool ConfigurableAlg::isocut |
( |
const unsigned int |
threshold, |
|
|
const unsigned int |
bit |
|
) |
| const |
|
protectedinherited |
◆ isSortingAlg()
bool TCS::ConfigurableAlg::isSortingAlg |
( |
| ) |
const |
|
inlineinherited |
◆ 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.
◆ msg() [2/2]
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.
◆ msgLvl()
Test the output level.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicting if messages at given level will be printed
- Return values
-
true | Messages at level "lvl" will be printed |
Definition at line 70 of file TrigConfMessaging.h.
◆ name()
const std::string& TCS::ConfigurableAlg::name |
( |
| ) |
const |
|
inlineinherited |
◆ numberOutputBits()
unsigned int TCS::CountingAlg::numberOutputBits |
( |
| ) |
const |
|
inlineinherited |
◆ parameter() [1/2]
◆ parameter() [2/2]
◆ parameters()
◆ process()
Implements TCS::CountingAlg.
Definition at line 72 of file L1Topo/L1TopoAlgorithms/Root/cTauMultiplicity.cxx.
74 const cTauTOBArray& cTaus =
dynamic_cast<const cTauTOBArray&
>(
input);
80 if((*etauCand)->tobType() !=
TCS::ETAU)
continue;
84 bool isIsolated =
false;
85 float isolation_partial_loose = 0;
86 float isolation_partial_medium = 0;
87 float isolation_partial_medium12 = 0;
88 float isolation_partial_medium20 = 0;
89 float isolation_partial_medium30 = 0;
90 float isolation_partial_medium35 = 0;
91 float isolation_partial_tight = 0;
96 if((*jtauCand)->tobType() !=
TCS::JTAU)
continue;
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());
108 isolation_partial_loose = (jtauCand_etIso +
m_extraInfo->isolation(
WP::LOOSE, etauCand_eta).isolation_jTAUCoreScale_fw()/1024.0 * jtauCand_et) / etauCand_et;
109 isolation_partial_loose = (jtauCand_etIso +
m_extraInfo->isolation(
WP::MEDIUM, etauCand_eta).isolation_jTAUCoreScale_fw()/1024.0 * jtauCand_et) / etauCand_et;
110 isolation_partial_medium12 = (jtauCand_etIso +
m_extraInfo->isolation(
WP::MEDIUM12, etauCand_eta).isolation_jTAUCoreScale_fw()/1024.0 * jtauCand_et) / etauCand_et;
111 isolation_partial_medium20 = (jtauCand_etIso +
m_extraInfo->isolation(
WP::MEDIUM20, etauCand_eta).isolation_jTAUCoreScale_fw()/1024.0 * jtauCand_et) / etauCand_et;
112 isolation_partial_medium30 = (jtauCand_etIso +
m_extraInfo->isolation(
WP::MEDIUM30, etauCand_eta).isolation_jTAUCoreScale_fw()/1024.0 * jtauCand_et) / etauCand_et;
113 isolation_partial_medium35 = (jtauCand_etIso +
m_extraInfo->isolation(
WP::MEDIUM35, etauCand_eta).isolation_jTAUCoreScale_fw()/1024.0 * jtauCand_et) / etauCand_et;
114 isolation_partial_tight = (jtauCand_etIso +
m_extraInfo->isolation(
WP::TIGHT, etauCand_eta).isolation_jTAUCoreScale_fw()/1024.0 * jtauCand_et) / etauCand_et;
147 if((*etauCand)->eta()%4 >= 0) eta_thr = (*etauCand)->eta() - (*etauCand)->eta()%4;
148 else eta_thr = (*etauCand)->eta() - (*etauCand)->eta()%4 - 4;
163 count.setSizeCount(counting);
◆ processBitCorrect()
◆ quadraticSumBW()
unsigned long ConfigurableAlg::quadraticSumBW |
( |
int |
i1, |
|
|
int |
i2 |
|
) |
| |
|
inherited |
◆ registerHist() [1/2]
void ConfigurableAlg::registerHist |
( |
TH1 * |
h | ) |
|
|
protectedinherited |
◆ registerHist() [2/2]
void ConfigurableAlg::registerHist |
( |
TH2 * |
h | ) |
|
|
protectedinherited |
◆ reset()
◆ setAlgoId()
void TCS::ConfigurableAlg::setAlgoId |
( |
unsigned int |
algoId | ) |
|
|
inlineinherited |
◆ setClassName()
void TCS::ConfigurableAlg::setClassName |
( |
const std::string & |
className | ) |
|
|
inlineinherited |
◆ 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.
◆ setLegacyMode()
void TCS::ConfigurableAlg::setLegacyMode |
( |
bool |
isLegacyTopo | ) |
|
|
inlineinherited |
◆ setNumberOutputBits()
void TCS::CountingAlg::setNumberOutputBits |
( |
unsigned int |
numberOutputBits | ) |
|
|
inlineinherited |
◆ setParameters()
◆ setThreshold()
◆ ToString()
std::string ConfigurableAlg::ToString |
( |
const int |
val | ) |
|
|
privateinherited |
◆ m_algoId
unsigned int TCS::ConfigurableAlg::m_algoId {0} |
|
privateinherited |
◆ m_algType
AlgType TCS::ConfigurableAlg::m_algType |
|
privateinherited |
◆ m_className
std::string TCS::ConfigurableAlg::m_className {""} |
|
privateinherited |
◆ m_extraInfo
◆ m_histAccept
std::vector<std::string> TCS::CountingAlg::m_histAccept |
|
protectedinherited |
◆ 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
◆ m_isLegacyTopo
bool TCS::ConfigurableAlg::m_isLegacyTopo |
|
privateinherited |
◆ 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 |
◆ m_numberOutputBits
unsigned int TCS::CountingAlg::m_numberOutputBits {1} |
|
privateinherited |
◆ m_parameters
◆ m_threshold
The documentation for this class was generated from the following files:
std::vector< std::string > m_histcTauPhiEta
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Class describing properties of a LVL1 jFEX global Trigger Object (TOB) in the xAOD format.
int iEtaTopo() const
Getter for integer phi index (0-63)
static unsigned int calcTMassBW(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
const std::string & className() const
static unsigned int calcDeltaR2BWLegacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
std::vector< std::string > m_histcTauPartialIsoMedium30
unsigned int EtIso() const
static unsigned int calcInvMass(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
static unsigned int calcTMass(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
const Parameter & parameter(const std::string ¶meterName) const
static unsigned int calcDeltaPhiBW(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
data_t::const_iterator const_iterator
const ParameterSpace & parameters() const
ParameterSpace & addParameter(const Parameter &p)
boost::thread_specific_ptr< MsgStreamTC > m_msg_tls
MsgStreamTC instance (a std::cout like with print-out levels)
std::unique_ptr< ConfigurableAlgImpl > m_impl
float eta() const
setter for the above
std::vector< std::string > m_histcTauIsoMatchedPass
const std::string & name() const
unsigned int RCore() const
StatusCode accept(const xAOD::Muon *mu)
unsigned int tauTwoThresholds() const
Tau Condition 2 (generic) results.
std::string ToString(const int val)
bool isLegacyTopo() const
void fillHist2D(const std::string &histName, double x, double y)
unsigned int numberOutputBits() const
std::vector< std::string > m_histcTauPartialIsoMedium35
static unsigned int calcDeltaPhi(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
bool isMatched(int matchInfo)
static unsigned int calcInvMassBWLegacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
static unsigned int calcDeltaEtaBWLegacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
static unsigned int calcDeltaR2BW(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
virtual const std::string & name() const final
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
const Parameter & parameter(const std::string ¶meterName) const
static unsigned int calcDeltaEtaBW(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
std::vector< std::string > m_histcTauPartialIsoMedium12
static unsigned int calcDeltaR2Legacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
void setNumberOutputBits(unsigned int numberOutputBits)
unsigned int selection() const
virtual unsigned int thrValue100MeV(int eta=0) const
as above above but in 100 MeV
std::vector< std::string > m_histcTauPartialIsoTight
static unsigned int calcDeltaR2(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
unsigned int tauOneThresholds() const
Tau Condition 1 (generic) results.
std::vector< std::string > m_histcTauPartialIsoMedium
static unsigned int calcDeltaPhiBWLegacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
std::vector< std::string > m_histcTauPartialIsoMedium20
std::vector< std::string > m_histcTauEt
virtual StatusCode doReset()=0
int iPhiTopo() const
Return phi index in the range used by L1Topo (0->127)
const std::string & name() const
ParameterSpace & setParameter(const Parameter &p)
MsgStreamTC & msg() const
The standard message stream.
static unsigned int calcDeltaEtaLegacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
void defineParameter(const std::string &name, TCS::parType_t value)
const std::shared_ptr< L1ThrExtraInfo_cTAU > getExtraInfo() const
bool contains(const std::string &s, const std::string ®x)
does a string contain the substring
static bool checkIsolationWP(const xAOD::eFexTauRoI &eTau, const xAOD::jFexTauRoI &jTau, const TrigConf::L1Threshold_cTAU &thr)
static unsigned int calcInvMassBW(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
CountingAlg(const std::string &name)
static bool checkeTAUWP(const xAOD::eFexTauRoI &eTau, const TrigConf::L1Threshold_cTAU &thr)
#define TCS_EXCEPTION(MSG)
std::shared_ptr< TrigConf::L1ThrExtraInfo_cTAU > m_extraInfo
#define TRG_MSG_WARNING(x)
static unsigned long quadraticSumBW(int i1, int i2)
compute the sum in quadrature of two ints
static unsigned int calcDeltaPhiLegacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
static size_t cTauMatching(const xAOD::eFexTauRoI &eTau, const xAOD::jFexTauRoIContainer &jTauRoIs)
std::vector< std::string > m_histAccept
const TrigConf::L1Threshold_cTAU * m_threshold
void bookHistMult(std::vector< std::string > ®Name, const std::string &name, const std::string &title, const std::string &xtitle, const int binx, const int xmin, const int xmax)
static unsigned int calcTMassBWLegacy(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
unsigned int etTOB() const
Cluster ET (TOB ET scale, 100 MeV/count)
std::vector< std::string > m_histcTauEtEta
static unsigned int calcDeltaEta(const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2)
const TrigConf::L1Threshold * getThreshold()
const std::string & algName() const
unsigned int RHad() const
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
void fillHist1D(const std::string &histName, double x)
TrigConf::L1Threshold const * m_threshold
Selection::WP isolation() const
virtual StatusCode process(const TCS::InputTOBArray &input, Count &count) override final
std::vector< std::string > m_histcTauPartialIsoLoose
unsigned int m_numberOutputBits
ParameterSpace m_parameters
unsigned int algoId() const
unsigned int toTopoPhi(float phi)