ATLAS Offline Software
Loading...
Searching...
No Matches
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
24
26
27#include "CxxUtils/phihelper.h"
31
35
37
38// standard stuff
39#include <string>
40#include <vector>
41
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
68 "RoIs", // property name
69 "rois", // default value of StoreGate key
70 "input RoI Collection name"};
71
73 "TRT_DC_ContainerName",
74 "TRT_DriftCircleContainer",
75 "TRT DriftCircle Container"};
76
77
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
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
This is an Identifier helper class for the TRT subdetector.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:84
virtual StatusCode initialize() override
Gaudi::Property< bool > m_doFullScan
Gaudi::Property< int > m_wedgeNBin
Gaudi::Property< float > m_etaHalfWidth
Gaudi::Property< int > m_nBinCoarse
Gaudi::Property< float > m_roadWidth
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
const TRT_ID * m_trtHelper
TRT ID helper.
Gaudi::Property< float > m_phiHalfWidth
SG::WriteHandleKey< xAOD::TrigRNNOutputContainer > m_trigRNNOutputKey
Gaudi::Property< float > m_roadMaxEta
Gaudi::Property< float > m_wedgeMinEta
SG::ReadHandleKey< InDet::TRT_DriftCircleContainer > m_trtDCContainerKey
Gaudi::Property< int > m_nBinFine
ToolHandle< GenericMonitoringTool > m_monTool
TrigTRTHTHCounter(const std::string &name, ISvcLocator *pSvcLocator)
Helper for azimuthal angle calculations.