 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRTMONITORINGRUN3RAW_ALG_H
6 #define TRTMONITORINGRUN3RAW_ALG_H
11 #include "GaudiKernel/StatusCode.h"
33 #include "CLHEP/Units/SystemOfUnits.h"
41 class TRT_DetectorManager;
62 std::vector<std::vector<unsigned char>>
m_mat_chip_E{64, std::vector<unsigned char>(3840)};
63 std::vector<std::vector<unsigned char>>
m_mat_chip_B{64, std::vector<unsigned char>(1642)};
73 BooleanProperty
m_doChips{
this,
"doChips",
true,
""};
76 BooleanProperty
m_doShift{
this,
"doShift",
true,
""};
87 Gaudi::Property<std::vector<int>>
m_strawMax {
this,
"strawMax", {-1, -1}};
88 Gaudi::Property<std::vector<int>>
m_iChipMax {
this,
"iChipMax", {-1, -1}};
114 std::vector<std::vector<std::vector<int>>>
initScaleVectors(
const EventContext& ctx)
const;
124 ToolHandle<ITRT_StrawStatusSummaryTool>
m_sumTool{
this,
"InDetTRTStrawStatusSummaryTool",
"TRT_StrawStatusSummaryTool",
""};
127 ToolHandle<InDet::IInDetTrackSelectionTool>
m_trackSelTool{
this,
"TrackSelectionTool",
"InDet::InDetTrackSelectionTool/TrackSelectionTool",
""};
138 ToolHandle<Trk::ITrackHoleSearchTool>
m_trt_hole_finder{
this,
"trt_hole_search",
"TRTTrackHoleSearchTool",
"Track hole search tool name"};
139 ToolHandle<Trk::ITrackSummaryTool>
m_TrackSummaryTool{
this,
"TrackSummaryTool",
"InDetTrackSummaryTool",
"Track summary tool name"};
151 else if (
stat==5 ) { Gas =
Kr; }
152 else if (
stat==6 ) { Gas =
Xe; }
153 else if (
stat==7 ) { Gas =
Xe; }
154 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!");
int strawLayerNumber(int strawLayerNumber, int LayerNumber) const
Property holding a SG store/key/clid from which a ReadHandle is made.
IntegerProperty m_EventBurstCut
FloatProperty m_max_abs_eta
BooleanProperty m_doHitsMon
ServiceHandle< ITRT_ByteStream_ConditionsSvc > m_BSSvc
StatusCode fillTRTEfficiency(const EventContext &ctx, const TrackCollection &combTrackCollection) const
SG::ReadHandleKey< TrackCollection > m_trackCollectionKey
const AtlasDetectorID * m_idHelper
SG::ReadHandleKey< InDetTimeCollection > m_TRT_BCIDCollectionKey
int strawNumber_reverse(int inp_strawnumber, int *strawNumber, int *strawlayerNumber, int *LayerNumber) const
int chipToBoard_EndCap(int chip) const
BooleanProperty m_ArgonXenonSplitter
BooleanProperty m_doMaskStraws
ToolHandle< Trk::ITrackSummaryTool > m_TrackSummaryTool
FloatProperty m_usedEvents
SG::ReadHandleKey< TRT_RDO_Container > m_rdoContainerKey
BooleanProperty m_isCosmics
int chipToBoard(int chip) const
Property holding a SG store/key/clid from which a ReadHandle is made.
ServiceHandle< ITRT_StrawNeighbourSvc > m_TRTStrawNeighbourSvc
BooleanProperty m_doStraws
TRTMonitoringRun3RAW_Alg(const std::string &name, ISvcLocator *pSvcLocator)
Service for accessing TRT ByteStream conditions information.
int strawLayerNumber_reverse(int strawLayerNumInp, int *strawLayerNumber, int *LayerNumber) const
IntegerProperty m_every_xth_track
BooleanProperty m_doTracksMon
Base class for Athena Monitoring Algorithms.
int strawNumber(int strawNumber, int strawlayerNumber, int LayerNumber) const
GasType Straw_Gastype(int stat) const
FloatProperty m_max_abs_z0
StatusCode fillTRTHits(const EventContext &ctx, const TrackCollection &trackCollection) const
float radToDegrees(float radValue) const
static const int s_Straw_max[2]
Gaudi::Property< std::vector< int > > m_iChipMax
static const int s_numberOfBarrelStacks
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< TRT_BSErrContainer > m_bsErrContKey
SG::ReadHandleKey< TrackCollection > m_combTrackCollectionKey
virtual ~TRTMonitoringRun3RAW_Alg()
Header file to be included by clients of the Monitored infrastructure.
static const int s_numberOfEndCapStacks
std::vector< std::vector< unsigned char > > m_mat_chip_B
virtual StatusCode initialize() override
initialize
std::vector< std::pair< uint32_t, unsigned int > > InDetTimeCollection
BooleanProperty m_useHoleFinder
BooleanProperty m_doChips
FloatProperty m_longToTCut
IntegerProperty m_min_si_hits
BooleanProperty m_doShift
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Class describing the basic event information.
BooleanProperty m_doRDOsMon
Abstract interface to information on straws electronic grouping.
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...
ToolHandle< Trk::ITrackHoleSearchTool > m_trt_hole_finder
Gaudi::Property< std::vector< int > > m_strawMax
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelTool
int strawNumberEndCap(int strawNumber, int strawLayerNumber, int LayerNumber, int phi_stack, int side) const
ToolHandle< ITRT_StrawStatusSummaryTool > m_sumTool
static const int s_iChip_max[2]
FloatProperty m_max_abs_d0
Handle class for reading from StoreGate.
std::vector< std::vector< std::vector< int > > > initScaleVectors(const EventContext &ctx) const
const TRT_ID * m_pTRTHelper
StatusCode fillTRTRDOs(const EventContext &ctx, const TRT_RDO_Container &rdoContainer, const xAOD::EventInfo &eventInfo, const InDetTimeCollection *trtBCIDCollection) const
FloatProperty m_DistToStraw
BooleanProperty m_doExpert
IntegerProperty m_minTRThits
bool checkEventBurst(const TRT_RDO_Container &rdoContainer) const
IntegerProperty m_min_pixel_hits
IntegerProperty m_min_trt_hits
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
StatusCode checkTRTReadoutIntegrity(const xAOD::EventInfo &eventInfo) const
IntegerProperty m_min_sct_hits
const InDetDD::TRT_DetectorManager * m_mgr