7#ifndef SCTTRACKSMONALG_H
8#define SCTTRACKSMONALG_H
21#include "GaudiKernel/ToolHandle.h"
34 virtual StatusCode
initialize() override final;
76 ToolHandle<Trk::ITrackSummaryTool>
m_trackSummaryTool{
this,
"TrackSummaryTool",
"InDetTrackSummaryTool"};
79 ToolHandle<Trk::IResidualPullCalculator>
m_residualPullCalculator{
this,
"ResPullCalc",
"Trk::ResidualPullCalculator/ResidualPullCalculator"};
80 ToolHandle<Trk::IUpdator>
m_updator{
this,
"KalmanUpdator",
"Trk::KalmanUpdator/TrkKalmanUpdator",
""};
89 StatusCode checkTriggers(std::bitset<N_TRIGGER_TYPES>& firedTriggers)
const;
91 bool hasTriggerFired(
const unsigned int trigger,
const std::bitset<N_TRIGGER_TYPES>& firedTriggers)
const;
97 float calculatePull(
const float,
const float,
const float)
const;
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
IntegerProperty m_evtsbins
Tracks vs evt.
IntegerProperty m_checkrate
CheckHists() frequency.
static const std::string s_triggerNames[N_TRIGGER_TYPES]
Abbreviations for level 1 trigger types.
virtual ~SCTTracksMonAlg()=default
SG::ReadHandleKey< TrackCollection > m_tracksName
Name of the Track collection to use.
const std::string m_regionNames[3]
ToolHandle< Trk::IUpdator > m_updator
BooleanProperty m_doTrigger
ToolHandle< Trk::ITrackSummaryTool > m_trackSummaryTool
BooleanProperty m_useIDGlobal
ToolHandle< Trk::IResidualPullCalculator > m_residualPullCalculator
Kalman Updator for SCT Unbiased states in Residual calculation.
IntegerProperty m_trackHitCut
Cut on number of SCT hits on track.
BooleanProperty m_doNegativeEndcap
BooleanProperty m_doUnbiasedCalc
std::atomic_int m_numberOfEvents
BooleanProperty m_doPositiveEndcap
virtual StatusCode fillHistograms(const EventContext &ctx) const override final
adds event to the monitoring histograms
const SCT_ID * m_pSCTHelper
SCT Helper class.
TriggerTypes
enumerated constant for the types of level 1 triggers, corresponds to the string m_triggerNames
This is an Identifier helper class for the SCT subdetector.
Property holding a SG store/key/clid from which a ReadHandle is made.