ATLAS Offline Software
Loading...
Searching...
No Matches
TrigTRTHTHCounter.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGTRTHTHCOUNTER_H
6#define TRIGTRTHTHCOUNTER_H
7
14
15// standard stuff
16#include <string>
17#include <vector>
18
19//Gaudi
20#include "GaudiKernel/ToolHandle.h"
21
22// Base class
26
28
29#include "CxxUtils/phihelper.h"
33
37
39
40
42 public:
43
44 TrigTRTHTHCounter(const std::string& name, ISvcLocator* pSvcLocator);
45
46 virtual StatusCode initialize() override;
47 virtual StatusCode execute(const EventContext& ctx) const override;
48
49 private:
50
51 const TRT_ID *m_trtHelper{nullptr};
52
53 float m_maxCaloEta{1.7};
54
55 //Gaudi::Property<std::string> m_trtDCContainerName {this, "TRT_DC_ContainerName", "TRT_TrigDriftCircles" , " "};
56 Gaudi::Property<float> m_etaHalfWidth {this, "EtaHalfWidth", 0.1 , "subsection of RoI to retrieve fewer TRT hits"};
57 Gaudi::Property<float> m_phiHalfWidth {this, "PhiHalfWidth", 0.1 , "subsection of RoI to retrieve fewer TRT hits"};
58 Gaudi::Property<bool> m_doFullScan {this, "doFullScan", false , "Whether to use all RoI"};
59 Gaudi::Property<float> m_roadWidth {this, "RoadWidth", 4. , "Width of road in mm"};
60 Gaudi::Property<int> m_nBinCoarse {this, "nBinCoarse", 14 , "Number of coarse bins used while phi centering"};
61 Gaudi::Property<int> m_nBinFine {this, "nBinFine", 14 , "Number of fine bins used while phi centering"};
62 Gaudi::Property<float> m_wedgeMinEta {this, "WedgeMinEta", 0 , "Min eta for wedge algorithm"};
63 Gaudi::Property<float> m_roadMaxEta {this, "RoadMaxEta", 1.06 , "Max eta for road algorithm (barrel only)"};
64 Gaudi::Property<int> m_wedgeNBin {this, "WedgeNBin", 5 , "Number of fine bins to consider in the wedge algorithm"};
65
67 "RoIs", // property name
68 "rois", // default value of StoreGate key
69 "input RoI Collection name"};
70
72 "TRT_DC_ContainerName",
73 "TRT_DriftCircleContainer",
74 "TRT DriftCircle Container"};
75
76
78 "RNNOutputName", // property name
79 "RNNOutput", // default value of StoreGate key
80 "output RNN container name "};
81
82 ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "", "Monitoring tool" };
83
84};
85
86#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:82
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.