ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoAlgorithms
L1TopoAlgorithms
cTauMultiplicity.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
// cTauMultiplicity.h
5
// TopoCore
6
7
#ifndef __TopoCore__cTauMultiplicity__
8
#define __TopoCore__cTauMultiplicity__
9
10
11
#include "
L1TopoInterfaces/CountingAlg.h
"
12
#include "
L1TopoEvent/TOBArray.h
"
13
#include "
TrigConfData/L1Threshold.h
"
14
15
// Include xAOD headers here
16
#ifndef TRIGCONF_STANDALONE
17
#include "
xAODTrigger/eFexTauRoIContainer.h
"
18
#include "
xAODTrigger/jFexTauRoIContainer.h
"
19
#endif
20
21
#include <vector>
22
#include <map>
23
24
class
TH2;
25
26
namespace
TCS
{
27
28
class
cTauMultiplicity
:
public
CountingAlg
{
29
public
:
30
cTauMultiplicity
(
const
std::string &
name
);
31
virtual
~cTauMultiplicity
() =
default
;
32
33
virtual
StatusCode
initialize
()
override
;
34
35
virtual
StatusCode
processBitCorrect
(
const
TCS::InputTOBArray
& input,
Count
&
count
)
override
final
;
36
37
virtual
StatusCode
process
(
const
TCS::InputTOBArray
& input,
Count
&
count
)
override
final
;
38
39
#ifndef TRIGCONF_STANDALONE
40
// Functions for HLT seeding
41
// Returns index of jtau matched to etau
42
static
size_t
cTauMatching
(
const
xAOD::eFexTauRoI
& eTau,
const
xAOD::jFexTauRoIContainer
& jTauRoIs);
43
// Returns true when a matching is found
44
static
bool
cTauMatching
(
const
xAOD::eFexTauRoI
& eTau,
const
xAOD::jFexTauRoI
& jTau);
45
// Check cTAU isolation
46
static
bool
checkIsolationWP
(
const
xAOD::eFexTauRoI
& eTau,
const
xAOD::jFexTauRoI
& jTau,
const
TrigConf::L1Threshold_cTAU
& thr);
47
// Check eTAU rCore/BDT and rHad WPs
48
static
bool
checkeTAUWP
(
const
xAOD::eFexTauRoI
& eTau,
const
TrigConf::L1Threshold_cTAU
& thr);
49
#endif
50
51
private
:
52
const
TrigConf::L1Threshold_cTAU
*
m_threshold
{
nullptr
};
53
std::shared_ptr<TrigConf::L1ThrExtraInfo_cTAU>
m_extraInfo
;
54
55
bool
checkIsolationWP
(
const
TCS::cTauTOB
* etauCand,
const
TCS::cTauTOB
* jtauCand)
const
;
56
bool
checkeTAUWP
(
const
TCS::cTauTOB
* etauCand)
const
;
57
58
// Matching function for L1Topo
59
bool
cTauMatching
(
const
TCS::cTauTOB
* etauCand,
const
TCS::cTauTOB
* jtauCand)
const
;
60
61
// cTau monitoring histograms
62
std::vector<std::string>
m_histcTauEt
;
63
std::vector<std::string>
m_histcTauPhiEta
;
64
std::vector<std::string>
m_histcTauEtEta
;
65
std::vector<std::string>
m_histcTauIsoFraction
;
66
std::vector<std::string>
m_histcTauIsoMatchedPass
;
67
68
using
WP
=
TrigConf::Selection::WP
;
69
};
70
71
}
72
73
#endif
CountingAlg.h
L1Threshold.h
TOBArray.h
TCS::ConfigurableAlg::name
const std::string & name() const
Definition
ConfigurableAlg.h:49
TCS::Count
Definition
Count.h:20
TCS::CountingAlg::CountingAlg
CountingAlg(const std::string &name)
Definition
CountingAlg.h:28
TCS::InputTOBArray
Definition
InputTOBArray.h:15
TCS::StatusCode
Definition
Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/StatusCode.h:15
TCS::cTauMultiplicity::~cTauMultiplicity
virtual ~cTauMultiplicity()=default
TCS::cTauMultiplicity::cTauMatching
static size_t cTauMatching(const xAOD::eFexTauRoI &eTau, const xAOD::jFexTauRoIContainer &jTauRoIs)
Definition
cTauMultiplicity.cxx:183
TCS::cTauMultiplicity::checkeTAUWP
static bool checkeTAUWP(const xAOD::eFexTauRoI &eTau, const TrigConf::L1Threshold_cTAU &thr)
Definition
cTauMultiplicity.cxx:249
TCS::cTauMultiplicity::checkIsolationWP
static bool checkIsolationWP(const xAOD::eFexTauRoI &eTau, const xAOD::jFexTauRoI &jTau, const TrigConf::L1Threshold_cTAU &thr)
Definition
cTauMultiplicity.cxx:242
TCS::cTauMultiplicity::m_histcTauPhiEta
std::vector< std::string > m_histcTauPhiEta
Definition
cTauMultiplicity.h:63
TCS::cTauMultiplicity::cTauMultiplicity
cTauMultiplicity(const std::string &name)
Definition
cTauMultiplicity.cxx:23
TCS::cTauMultiplicity::m_extraInfo
std::shared_ptr< TrigConf::L1ThrExtraInfo_cTAU > m_extraInfo
Definition
cTauMultiplicity.h:53
TCS::cTauMultiplicity::m_histcTauEtEta
std::vector< std::string > m_histcTauEtEta
Definition
cTauMultiplicity.h:64
TCS::cTauMultiplicity::m_histcTauEt
std::vector< std::string > m_histcTauEt
Definition
cTauMultiplicity.h:62
TCS::cTauMultiplicity::processBitCorrect
virtual StatusCode processBitCorrect(const TCS::InputTOBArray &input, Count &count) override final
Definition
cTauMultiplicity.cxx:56
TCS::cTauMultiplicity::m_histcTauIsoMatchedPass
std::vector< std::string > m_histcTauIsoMatchedPass
Definition
cTauMultiplicity.h:66
TCS::cTauMultiplicity::m_histcTauIsoFraction
std::vector< std::string > m_histcTauIsoFraction
Definition
cTauMultiplicity.h:65
TCS::cTauMultiplicity::WP
TrigConf::Selection::WP WP
Definition
cTauMultiplicity.h:68
TCS::cTauMultiplicity::m_threshold
const TrigConf::L1Threshold_cTAU * m_threshold
Definition
cTauMultiplicity.h:52
TCS::cTauMultiplicity::initialize
virtual StatusCode initialize() override
Definition
cTauMultiplicity.cxx:28
TCS::cTauTOB
Definition
cTauTOB.h:13
TrigConf::L1Threshold_cTAU
Definition
L1Threshold.h:260
TrigConf::Selection::WP
WP
Definition
L1ThresholdBase.h:296
eFexTauRoIContainer.h
process
const std::string process
Definition
fbtTestBasics.cxx:76
count
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string
Definition
hcg.cxx:148
jFexTauRoIContainer.h
TCS
Definition
AnomalyDetectionBDT.h:18
xAOD::jFexTauRoIContainer
jFexTauRoIContainer_v1 jFexTauRoIContainer
Definition
jFexTauRoIContainer.h:13
xAOD::jFexTauRoI
jFexTauRoI_v1 jFexTauRoI
Define the latest version of the jFexSRJetRoI class.
Definition
jFexTauRoI.h:13
xAOD::eFexTauRoI
eFexTauRoI_v1 eFexTauRoI
Define the latest version of the eFexTauRoI class.
Definition
eFexTauRoI.h:16
Generated on
for ATLAS Offline Software by
1.17.0