ATLAS Offline Software
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 
24 public:
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 
30 private:
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CscStripPrepDataContainer.h
CscClusterValMonAlg::CscClusterValMonAlg
CscClusterValMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CscClusterValMonAlg.cxx:32
CscClusterValMonAlg::m_doEvtSel
Gaudi::Property< bool > m_doEvtSel
Definition: CscClusterValMonAlg.h:47
CscClusterValMonAlg::m_sampSelTriggers
Gaudi::Property< std::vector< std::string > > m_sampSelTriggers
Definition: CscClusterValMonAlg.h:46
CscClusterValMonAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: CscClusterValMonAlg.cxx:58
TrigDecisionTool.h
ICscCalibTool.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
CscClusterValMonAlg::m_qmaxADCCut
Gaudi::Property< double > m_qmaxADCCut
Definition: CscClusterValMonAlg.h:48
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
CscClusterValMonAlg::~CscClusterValMonAlg
virtual ~CscClusterValMonAlg()=default
CscClusterValMonAlg::m_stripFitter
ToolHandle< ICscStripFitter > m_stripFitter
Definition: CscClusterValMonAlg.h:37
CscClusterValMonAlg::m_cscCalibTool
ToolHandle< ICscCalibTool > m_cscCalibTool
Definition: CscClusterValMonAlg.h:40
CscClusterValMonAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: CscClusterValMonAlg.cxx:36
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
CscPrepDataContainer.h
CscClusterValMonAlg::m_cscPRDKey
SG::ReadHandleKey< Muon::CscStripPrepDataContainer > m_cscPRDKey
Definition: CscClusterValMonAlg.h:44
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CscClusterValMonAlg
Definition: CscClusterValMonAlg.h:22
CscClusterValMonAlg::evtSelTriggersPassed
bool evtSelTriggersPassed() const
Definition: CscClusterValMonAlg.cxx:452
CscClusterValMonAlg::m_cscClusterKey
SG::ReadHandleKey< Muon::CscPrepDataContainer > m_cscClusterKey
Definition: CscClusterValMonAlg.h:43
ICscStripFitter.h
CscClusterValMonAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: CscClusterValMonAlg.h:35
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >