5#ifndef CSCSegmValMonAlg_H
6#define CSCSegmValMonAlg_H
11#include "GaudiKernel/ServiceHandle.h"
12#include "GaudiKernel/ToolHandle.h"
38 virtual StatusCode
fillHistograms(
const EventContext& ctx )
const override;
46 typedef std::vector<const Trk::MeasurementBase*>::const_iterator
TrkSegmIter;
52 bool segmSlopeCut(
const float csc_x,
const float csc_ax,
const float cut )
const;
57 "Muon::MuonEDMHelperSvc/MuonEDMHelperSvc",
58 "Handle to the service providing the IMuonEDMHelperSvc interface" };
63 Gaudi::Property<bool>
m_doEvtSel{
this,
"DoEventSelection",
false};
64 Gaudi::Property<double>
m_segmSlope{
this,
"SegmentSlopeCut",0};
Header file to be included by clients of the Monitored infrastructure.
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
bool evtSelTriggersPassed() const
virtual ~CSCSegmValMonAlg()=default
Destructor.
virtual StatusCode initialize() override
initialize
std::vector< constTrk::MeasurementBase * >::const_iterator TrkSegmIter
enum CSCSegmValMonAlg::EndCaps EndCapType
bool isCscSegment(const Muon::MuonSegment *seg) const
CSCSegmValMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Gaudi::Property< std::vector< std::string > > m_sampSelTriggers
std::vector< TH1 * > SegmHistType
std::vector< TH1 * >::const_iterator SegmHistIter
unsigned int cscHits(const Muon::MuonSegment *seg) const
Gaudi::Property< double > m_segmSlope
bool segmSlopeCut(const float csc_x, const float csc_ax, const float cut) const
std::vector< const Trk::MeasurementBase * > TrkSegmType
Gaudi::Property< bool > m_doEvtSel
ServiceHandle< Muon::IMuonEDMHelperSvc > m_edmHelperSvc
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
SG::ReadHandleKeyArray< Trk::SegmentCollection > m_segmKey
This is the common class for 3D segments used in the muon spectrometer.
This class is the pure abstract base class for all fittable tracking measurements.
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Ensure that the ATLAS eigen extensions are properly loaded.