ATLAS Offline Software
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 
23 public:
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CscStripPrepDataContainer.h
CscPrdValMonAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: CscPrdValMonAlg.h:31
CscPrdValMonAlg::m_cscPrdKey
SG::ReadHandleKey< Muon::CscStripPrepDataContainer > m_cscPrdKey
Definition: CscPrdValMonAlg.h:33
CscPrdValMonAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: CscPrdValMonAlg.cxx:62
CscPrdValMonAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: CscPrdValMonAlg.cxx:48
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
CscPrdValMonAlg::m_cscNoiseCut
Gaudi::Property< size_t > m_cscNoiseCut
Definition: CscPrdValMonAlg.h:39
CscPrdValMonAlg
Definition: CscPrdValMonAlg.h:21
CscPrdValMonAlg::m_mapxyrz
Gaudi::Property< bool > m_mapxyrz
Definition: CscPrdValMonAlg.h:38
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
CscPrdValMonAlg::m_stripFitter
ToolHandle< ICscStripFitter > m_stripFitter
Definition: CscPrdValMonAlg.h:36
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
EventInfo.h
CscPrdValMonAlg::CscPrdValMonAlg
CscPrdValMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CscPrdValMonAlg.cxx:44
ICscStripFitter.h
CscPrdValMonAlg::~CscPrdValMonAlg
virtual ~CscPrdValMonAlg()=default
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >