ATLAS Offline Software
Loading...
Searching...
No Matches
CscClusterValMonAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CscClusterValMonAlg_H
6#define CscClusterValMonAlg_H
7
8//Core Include
11#include "GaudiKernel/ServiceHandle.h"
12#include "GaudiKernel/ToolHandle.h"
13
21
23
24public:
25 CscClusterValMonAlg( const std::string& name, ISvcLocator* pSvcLocator );
26 virtual ~CscClusterValMonAlg() = default;
27 virtual StatusCode initialize() override;
28 virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
29
30private:
31
32 //Trigger aware monitoring
33 bool evtSelTriggersPassed() const;
34
35 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
36 // Strip fitter.
37 ToolHandle<ICscStripFitter> m_stripFitter{this, "CSCStripFitter", "CSCStripFitter", "Strip fitter Tool"};
38
39 // calibration tool
40 ToolHandle<ICscCalibTool> m_cscCalibTool{this, "CscCalibTool", "CscCalib", "Calib Tool"};
41
42 // Properties.
43 SG::ReadHandleKey<Muon::CscPrepDataContainer> m_cscClusterKey{this,"CSCClusterKey","CSC_Clusters","CSC clusters"};
44 SG::ReadHandleKey<Muon::CscStripPrepDataContainer> m_cscPRDKey{this,"CSCPrepRawDataKey", "CSC_Measurements","CSC PRDs"};
45
46 Gaudi::Property<std::vector<std::string>> m_sampSelTriggers{this,"CSCEventSelTriggers",{}};
47 Gaudi::Property<bool> m_doEvtSel{this,"CSCDoEventSelection",false};
48 Gaudi::Property<double> m_qmaxADCCut{this,"CSCQmaxCutADC",100};
49
50};
51#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.
SG::ReadHandleKey< Muon::CscPrepDataContainer > m_cscClusterKey
virtual StatusCode initialize() override
initialize
ToolHandle< ICscCalibTool > m_cscCalibTool
CscClusterValMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< bool > m_doEvtSel
Gaudi::Property< std::vector< std::string > > m_sampSelTriggers
Gaudi::Property< double > m_qmaxADCCut
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
virtual ~CscClusterValMonAlg()=default
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
ToolHandle< ICscStripFitter > m_stripFitter
SG::ReadHandleKey< Muon::CscStripPrepDataContainer > m_cscPRDKey
Property holding a SG store/key/clid from which a ReadHandle is made.