 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRTMONITORINGRUN3ESD_ALG_H
6 #define TRTMONITORINGRUN3ESD_ALG_H
11 #include "GaudiKernel/StatusCode.h"
32 #include "CLHEP/Units/SystemOfUnits.h"
40 class TrackStateOnSurface;
44 class TRT_DetectorManager;
48 class IInDetTrackSelectionTool;
105 ToolHandle<ITRT_StrawStatusSummaryTool>
m_sumTool{
this,
"InDetTRTStrawStatusSummaryTool",
"TRT_StrawStatusSummaryTool",
""};
107 ToolHandle<ITRT_CalDbTool>
m_TRTCalDbTool{
this,
"ITRT_CalDbTool",
"TRT_CalDbTool",
""};
117 ToolHandle<Trk::ITrackSummaryTool>
m_TrackSummaryTool{
this,
"TrackSummaryTool",
"InDetTrackSummaryTool",
"Track summary tool name"};
118 ToolHandle<ITRT_DriftFunctionTool>
m_drifttool{
this,
"DriftFunctionTool",
"TRT_DriftFunctionTool",
""};
124 Gaudi::Property<bool>
m_doStraws{
this,
"doStraws",
true,
""};
125 Gaudi::Property<bool>
m_doChips{
this,
"doChips",
true,
""};
126 Gaudi::Property<bool>
m_doShift{
this,
"doShift",
true,
""};
127 Gaudi::Property<bool>
m_doExpert{
this,
"doExpert",
false,
""};
129 std::vector<std::vector<unsigned char>>
m_mat_chip_B{64, std::vector<unsigned char>(1642)};
130 std::vector<std::vector<unsigned char>>
m_mat_chip_E{64, std::vector<unsigned char>(3840)};
153 else if (
stat==5 ) { Gas =
Kr; }
154 else if (
stat==6 ) { Gas =
Xe; }
155 else if (
stat==7 ) { Gas =
Xe; }
156 else {
ATH_MSG_FATAL (
"getStatusHT = " <<
stat <<
", must be 'Good(2)||Xenon(3)' or 'Dead(1)||Argon(4)' or 'Krypton(5)!' or 6 or 7 for emulated types!");
164 ToolHandle<InDet::IInDetTrackSelectionTool>
m_trackSelTool{
this,
"TrackSelectionTool",
"InDet::InDetTrackSelectionTool/TrackSelectionTool",
""};
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< int > m_minTRThits
virtual StatusCode initialize() override
initialize
Gaudi::Property< float > m_min_pT
int strawNumberEndCap(int strawNumber, int strawLayerNumber, int LayerNumber, int phi_stack, int side) const
SG::ReadHandleKey< InDetTimeCollection > m_TRT_BCIDCollectionKey
Gaudi::Property< int > m_min_pixel_hits
static const int s_iStack_max[2]
static const int s_numberOfStacks[2]
Gaudi::Property< int > m_min_sct_hits
float radToDegrees(float radValue) const
ToolHandle< ITRT_StrawStatusSummaryTool > m_sumTool
Gaudi::Property< bool > m_doExpert
Gaudi::Property< bool > m_doTracksMon
const TRT_ID * m_pTRTHelper
static const int s_numberOfBarrelStacks
Base class for Athena Monitoring Algorithms.
BooleanProperty m_ArgonXenonSplitter
int chipToBoard_EndCap(int chip) const
const InDetDD::TRT_DetectorManager * m_mgr
GasType Straw_Gastype(int stat) const
Gaudi::Property< bool > m_doStraws
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< xAOD::EventInfo > m_xAODEventInfoKey
ServiceHandle< ITRT_StrawNeighbourSvc > m_TRTStrawNeighbourSvc
int chipToBoard(int chip) const
static const int s_numberOfEndCapStacks
int strawNumber(int strawNumber, int strawlayerNumber, int LayerNumber) const
TRTMonitoringRun3ESD_Alg(const std::string &name, ISvcLocator *pSvcLocator)
Header file to be included by clients of the Monitored infrastructure.
Ensure that the ATLAS eigen extensions are properly loaded.
const AtlasDetectorID * m_idHelper
static const int s_moduleNum[2]
Gaudi::Property< float > m_minP
StatusCode fillTRTHighThreshold(const xAOD::TrackParticleContainer &trackCollection, const xAOD::EventInfo &eventInfo, const EventContext &ctx) const
Gaudi::Property< bool > m_doChips
SG::ReadHandleKey< xAOD::TrigDecision > m_trigDecisionKey
Gaudi::Property< int > m_min_trt_hits
Class describing the basic event information.
Gaudi::Property< float > m_DistToStraw
int strawNumber_reverse(int inp_strawnumber, int *strawNumber, int *strawlayerNumber, int *LayerNumber) const
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelTool
std::vector< std::vector< unsigned char > > m_mat_chip_E
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
virtual ~TRTMonitoringRun3ESD_Alg()
ToolHandle< ITRT_DriftFunctionTool > m_drifttool
Gaudi::Property< int > m_min_si_hits
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
std::vector< std::vector< unsigned char > > m_mat_chip_B
ToolHandle< ITRT_CalDbTool > m_TRTCalDbTool
int strawLayerNumber(int strawLayerNumber, int LayerNumber) const
Handle class for reading from StoreGate.
Gaudi::Property< bool > m_doShift
bool checkEventBurst(const TRT_RDO_Container &rdoContainer) const
static const int s_iChip_max[2]
Interface to the raw trigger decision information of the event.
StatusCode fillTRTTracks(const EventContext &ctx, const xAOD::TrackParticleContainer &trackCollection, const xAOD::TrigDecision *trigDecision, const ComTime *comTimeObject, const xAOD::EventInfo &eventInfo) const
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
static const int s_Straw_max[2]
ToolHandle< Trk::ITrackSummaryTool > m_TrackSummaryTool
SG::ReadHandleKey< ComTime > m_comTimeObjectKey
int strawLayerNumber_reverse(int strawLayerNumInp, int *strawLayerNumber, int *LayerNumber) const
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackCollectionKey