ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigLongLivedParticlesHypo
src
MuonClusterHypoTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef TRIGLONGLIVEDPARTICLESHYPO_TRIGMUONHYPOTOOL_H
5
#define TRIGLONGLIVEDPARTICLESHYPO_TRIGMUONHYPOTOOL_H
6
7
#include <string>
8
#include <vector>
9
#include <set>
10
#include <map>
11
12
#include "GaudiKernel/ToolHandle.h"
13
#include "GaudiKernel/Algorithm.h"
14
#include "GaudiKernel/ServiceHandle.h"
15
#include "GaudiKernel/StatusCode.h"
16
17
#include "Gaudi/Property.h"
18
19
#include "
AthenaBaseComps/AthAlgTool.h
"
20
#include "
AthenaMonitoringKernel/GenericMonitoringTool.h
"
21
#include "
StoreGate/ReadHandleKey.h
"
22
#include "
StoreGate/WriteHandleKey.h
"
23
24
#include "
xAODTrigger/TrigComposite.h
"
25
#include "
xAODTrigger/TrigCompositeContainer.h
"
26
#include "
xAODTrigger/TrigCompositeAuxContainer.h
"
27
28
#include "
TrigSteeringEvent/TrigRoiDescriptorCollection.h
"
29
#include "
TrigCompositeUtils/TrigCompositeUtils.h
"
30
31
class
MuonClusterHypoTool
:
public
AthAlgTool
32
{
33
34
public
:
35
36
MuonClusterHypoTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent );
37
~MuonClusterHypoTool
();
38
StatusCode
initialize
();
39
40
struct
DecisionInfo
{
41
TrigCompositeUtils::Decision
*
decision
=
nullptr
;
42
const
xAOD::TrigCompositeContainer
*
Composites
=
nullptr
;
43
const
TrigCompositeUtils::DecisionIDContainer
activeChainIDs
;
44
};
45
46
StatusCode
decide
(
DecisionInfo
& input )
const
;
47
48
private
:
49
50
HLT::Identifier
m_decisionId
;
51
ToolHandle<GenericMonitoringTool>
m_monTool
{
this
,
"MonTool"
,
""
,
"Monitoring tool"
};
52
Gaudi::Property<bool>
m_acceptAll
{
this
,
"acceptAll"
,
false
,
"Whether we are to accept all MuonRoIClusters or only those that pass selection"
};
53
Gaudi::Property<int>
m_nRoIEndCap
{
this
,
"nRoIEndCap"
, 4,
"Number of RoI required to reconstruct a cluster in the Endcap"
};
54
Gaudi::Property<int>
m_nRoIBarrel
{
this
,
"nRoIBarrel"
, 3,
"Number of RoI required to reconstruct a cluster in the Barrel"
};
55
Gaudi::Property<float>
m_etaMax
{
this
,
"maxEta"
, 2.5,
"Maximum eta value below which muonRoIClusters can reliably be reconstructed"
};
56
Gaudi::Property<float>
m_etaMid
{
this
,
"midEta"
, 1.0,
"Eta value used to define the boundary between the Barrel and Endcap"
};
57
58
};
59
60
#endif
//> !TRIGLONGLIVEDPARTICLESHYPO_TRIGMUONHYPOTOOL_H
AthAlgTool.h
GenericMonitoringTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrigCompositeAuxContainer.h
TrigCompositeContainer.h
TrigCompositeUtils.h
TrigComposite.h
TrigRoiDescriptorCollection.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
HLT::Identifier
Definition
TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:19
MuonClusterHypoTool::decide
StatusCode decide(DecisionInfo &input) const
Definition
MuonClusterHypoTool.cxx:51
MuonClusterHypoTool::m_nRoIEndCap
Gaudi::Property< int > m_nRoIEndCap
Definition
MuonClusterHypoTool.h:53
MuonClusterHypoTool::initialize
StatusCode initialize()
Definition
MuonClusterHypoTool.cxx:39
MuonClusterHypoTool::~MuonClusterHypoTool
~MuonClusterHypoTool()
Definition
MuonClusterHypoTool.cxx:49
MuonClusterHypoTool::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
MuonClusterHypoTool.h:51
MuonClusterHypoTool::m_etaMax
Gaudi::Property< float > m_etaMax
Definition
MuonClusterHypoTool.h:55
MuonClusterHypoTool::m_etaMid
Gaudi::Property< float > m_etaMid
Definition
MuonClusterHypoTool.h:56
MuonClusterHypoTool::m_acceptAll
Gaudi::Property< bool > m_acceptAll
Definition
MuonClusterHypoTool.h:52
MuonClusterHypoTool::MuonClusterHypoTool
MuonClusterHypoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
MuonClusterHypoTool.cxx:33
MuonClusterHypoTool::m_decisionId
HLT::Identifier m_decisionId
Definition
MuonClusterHypoTool.h:50
MuonClusterHypoTool::m_nRoIBarrel
Gaudi::Property< int > m_nRoIBarrel
Definition
MuonClusterHypoTool.h:54
TrigCompositeUtils::Decision
xAOD::TrigComposite Decision
Definition
TrigComposite.h:20
TrigCompositeUtils::DecisionIDContainer
std::set< DecisionID > DecisionIDContainer
Definition
TrigComposite_v1.h:28
xAOD::TrigCompositeContainer
TrigCompositeContainer_v1 TrigCompositeContainer
Declare the latest version of the container.
Definition
TrigCompositeContainer.h:17
type
MuonClusterHypoTool::DecisionInfo
Definition
MuonClusterHypoTool.h:40
MuonClusterHypoTool::DecisionInfo::activeChainIDs
const TrigCompositeUtils::DecisionIDContainer activeChainIDs
Definition
MuonClusterHypoTool.h:43
MuonClusterHypoTool::DecisionInfo::decision
TrigCompositeUtils::Decision * decision
Definition
MuonClusterHypoTool.h:41
MuonClusterHypoTool::DecisionInfo::Composites
const xAOD::TrigCompositeContainer * Composites
Definition
MuonClusterHypoTool.h:42
Generated on
for ATLAS Offline Software by
1.17.0