ATLAS Offline Software
Loading...
Searching...
No Matches
CscPrdValMonAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CscPrdValMonAlg_H
6#define CscPrdValMonAlg_H
7
10
14#include "GaudiKernel/ServiceHandle.h"
15#include "GaudiKernel/ToolHandle.h"
17
19
20
22
23public:
24 CscPrdValMonAlg( const std::string& name, ISvcLocator* pSvcLocator );
25 virtual ~CscPrdValMonAlg() = default;
26 virtual StatusCode initialize() override;
27 virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
28
29 private:
30
31 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
32
33 SG::ReadHandleKey<Muon::CscStripPrepDataContainer> m_cscPrdKey{this,"CSCPrepRawDataKey","CSC_Measurements","CSC PRDs"};
34
35 // Strip fitter
36 ToolHandle<ICscStripFitter> m_stripFitter{this, "CSCStripFitter", "CSCStripFitter", "Strip fitter Tool"};
37
38 Gaudi::Property<bool> m_mapxyrz{this,"MapYXandRZ",false};
39 Gaudi::Property<size_t> m_cscNoiseCut{this,"NoiseCutADC",50};
40
41};
42
43#endif
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.
ToolHandle< ICscStripFitter > m_stripFitter
Gaudi::Property< size_t > m_cscNoiseCut
SG::ReadHandleKey< Muon::CscStripPrepDataContainer > m_cscPrdKey
CscPrdValMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
initialize
virtual ~CscPrdValMonAlg()=default
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Gaudi::Property< bool > m_mapxyrz
Property holding a SG store/key/clid from which a ReadHandle is made.