ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigTRTHighTHitCounter
src
TrigTRTHTHCounter.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGTRTHTHCOUNTER_H
6
#define TRIGTRTHTHCOUNTER_H
7
14
15
16
17
//Gaudi
18
#include "GaudiKernel/ToolHandle.h"
19
20
// Base class
21
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
22
#include "
StoreGate/ReadHandleKey.h
"
23
#include "
StoreGate/WriteHandleKey.h
"
24
25
#include "
TrigSteeringEvent/TrigRoiDescriptorCollection.h
"
26
27
#include "
CxxUtils/phihelper.h
"
28
#include "
InDetIdentifier/TRT_ID.h
"
29
#include "
Identifier/IdentifierHash.h
"
30
#include "
InDetPrepRawData/TRT_DriftCircleContainer.h
"
31
32
#include "
xAODTrigRinger/TrigRNNOutput.h
"
33
#include "
xAODTrigRinger/TrigRNNOutputContainer.h
"
34
#include "
xAODTrigRinger/TrigRNNOutputAuxContainer.h
"
35
36
#include "
AthenaMonitoringKernel/GenericMonitoringTool.h
"
37
38
// standard stuff
39
#include <string>
40
#include <vector>
41
42
class
TrigTRTHTHCounter
:
public
AthReentrantAlgorithm
{
43
public
:
44
45
TrigTRTHTHCounter
(
const
std::string& name, ISvcLocator* pSvcLocator);
46
47
virtual
StatusCode
initialize
()
override
;
48
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
49
50
private
:
51
52
const
TRT_ID
*
m_trtHelper
{
nullptr
};
53
54
float
m_maxCaloEta
{1.7};
55
56
//Gaudi::Property<std::string> m_trtDCContainerName {this, "TRT_DC_ContainerName", "TRT_TrigDriftCircles" , " "};
57
Gaudi::Property<float>
m_etaHalfWidth
{
this
,
"EtaHalfWidth"
, 0.1 ,
"subsection of RoI to retrieve fewer TRT hits"
};
58
Gaudi::Property<float>
m_phiHalfWidth
{
this
,
"PhiHalfWidth"
, 0.1 ,
"subsection of RoI to retrieve fewer TRT hits"
};
59
Gaudi::Property<bool>
m_doFullScan
{
this
,
"doFullScan"
, false ,
"Whether to use all RoI"
};
60
Gaudi::Property<float>
m_roadWidth
{
this
,
"RoadWidth"
, 4. ,
"Width of road in mm"
};
61
Gaudi::Property<int>
m_nBinCoarse
{
this
,
"nBinCoarse"
, 14 ,
"Number of coarse bins used while phi centering"
};
62
Gaudi::Property<int>
m_nBinFine
{
this
,
"nBinFine"
, 14 ,
"Number of fine bins used while phi centering"
};
63
Gaudi::Property<float>
m_wedgeMinEta
{
this
,
"WedgeMinEta"
, 0 ,
"Min eta for wedge algorithm"
};
64
Gaudi::Property<float>
m_roadMaxEta
{
this
,
"RoadMaxEta"
, 1.06 ,
"Max eta for road algorithm (barrel only)"
};
65
Gaudi::Property<int>
m_wedgeNBin
{
this
,
"WedgeNBin"
, 5 ,
"Number of fine bins to consider in the wedge algorithm"
};
66
67
SG::ReadHandleKey<TrigRoiDescriptorCollection>
m_roiCollectionKey
{
this
,
68
"RoIs"
,
// property name
69
"rois"
,
// default value of StoreGate key
70
"input RoI Collection name"
};
71
72
SG::ReadHandleKey<InDet::TRT_DriftCircleContainer>
m_trtDCContainerKey
{
this
,
73
"TRT_DC_ContainerName"
,
74
"TRT_DriftCircleContainer"
,
75
"TRT DriftCircle Container"
};
76
77
78
SG::WriteHandleKey<xAOD::TrigRNNOutputContainer>
m_trigRNNOutputKey
{
this
,
79
"RNNOutputName"
,
// property name
80
"RNNOutput"
,
// default value of StoreGate key
81
"output RNN container name "
};
82
83
ToolHandle< GenericMonitoringTool >
m_monTool
{
this
,
"MonTool"
,
""
,
"Monitoring tool"
};
84
85
};
86
87
#endif
AthReentrantAlgorithm.h
TrigRNNOutputContainer.h
TrigRNNOutput.h
GenericMonitoringTool.h
IdentifierHash.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.
TRT_DriftCircleContainer.h
TRT_ID.h
This is an Identifier helper class for the TRT subdetector.
TrigRNNOutputAuxContainer.h
TrigRoiDescriptorCollection.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
TRT_ID
This is an Identifier helper class for the TRT subdetector.
Definition
TRT_ID.h:84
TrigTRTHTHCounter::initialize
virtual StatusCode initialize() override
Definition
TrigTRTHTHCounter.cxx:42
TrigTRTHTHCounter::m_doFullScan
Gaudi::Property< bool > m_doFullScan
Definition
TrigTRTHTHCounter.h:59
TrigTRTHTHCounter::m_wedgeNBin
Gaudi::Property< int > m_wedgeNBin
Definition
TrigTRTHTHCounter.h:65
TrigTRTHTHCounter::m_etaHalfWidth
Gaudi::Property< float > m_etaHalfWidth
Definition
TrigTRTHTHCounter.h:57
TrigTRTHTHCounter::m_nBinCoarse
Gaudi::Property< int > m_nBinCoarse
Definition
TrigTRTHTHCounter.h:61
TrigTRTHTHCounter::m_roadWidth
Gaudi::Property< float > m_roadWidth
Definition
TrigTRTHTHCounter.h:60
TrigTRTHTHCounter::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
TrigTRTHTHCounter.cxx:63
TrigTRTHTHCounter::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
Definition
TrigTRTHTHCounter.h:67
TrigTRTHTHCounter::m_maxCaloEta
float m_maxCaloEta
Definition
TrigTRTHTHCounter.h:54
TrigTRTHTHCounter::m_trtHelper
const TRT_ID * m_trtHelper
TRT ID helper.
Definition
TrigTRTHTHCounter.h:52
TrigTRTHTHCounter::m_phiHalfWidth
Gaudi::Property< float > m_phiHalfWidth
Definition
TrigTRTHTHCounter.h:58
TrigTRTHTHCounter::m_trigRNNOutputKey
SG::WriteHandleKey< xAOD::TrigRNNOutputContainer > m_trigRNNOutputKey
Definition
TrigTRTHTHCounter.h:78
TrigTRTHTHCounter::m_roadMaxEta
Gaudi::Property< float > m_roadMaxEta
Definition
TrigTRTHTHCounter.h:64
TrigTRTHTHCounter::m_wedgeMinEta
Gaudi::Property< float > m_wedgeMinEta
Definition
TrigTRTHTHCounter.h:63
TrigTRTHTHCounter::m_trtDCContainerKey
SG::ReadHandleKey< InDet::TRT_DriftCircleContainer > m_trtDCContainerKey
Definition
TrigTRTHTHCounter.h:72
TrigTRTHTHCounter::m_nBinFine
Gaudi::Property< int > m_nBinFine
Definition
TrigTRTHTHCounter.h:62
TrigTRTHTHCounter::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
TrigTRTHTHCounter.h:83
TrigTRTHTHCounter::TrigTRTHTHCounter
TrigTRTHTHCounter(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TrigTRTHTHCounter.cxx:38
phihelper.h
Helper for azimuthal angle calculations.
Generated on
for ATLAS Offline Software by
1.17.0