ATLAS Offline Software
LArCalibDelayMonAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LArCalibDelayMonAlg_H
6 #define LArCalibDelayMonAlg_H
7 
9 
10 
13 
16 #include <string>
17 #include <vector>
18 #include <map>
19 
20 class LArOnlineID;
21 
22 
24 {
25  public:
26  LArCalibDelayMonAlg(const std::string& name,ISvcLocator* pSvcLocator );
27 
29  virtual ~LArCalibDelayMonAlg() = default;
30 
32  virtual StatusCode initialize() override;
33 
34 
35  // Called each event
36  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
37 
38  private:
39 
40  // Handle to digits
41  SG::ReadHandleKey<LArAccumulatedCalibDigitContainer> m_accCalibDigitContainerKey{this,"LArAccumulatedCalibDigitContainerKey","","SG key of LArAccumulatedCalibDigitContainer read from Bytestream"};
42 
43  // MonGroup(s) name
44  Gaudi::Property<std::string> m_MonGroupName {this,"LArDelayGroupName","LArDelayMonGroup"};
45 
46  // Properties
47  Gaudi::Property<std::vector<std::string> > m_partitions {this, "PartitionNames", {} };
48  Gaudi::Property<std::vector<std::string> > m_SubDetNames{this, "SubDetNames", {} };
49 
50 //Histogram grouping (part)
51  std::vector<std::map<std::string,int> > m_histoGroups;
52 
53  unsigned int returnPartition(int be,int pn,int ft,int sl) const;
54 
55  // Id helper
57 };
58 
59 #endif
60 
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
LArCalibDigitContainer.h
LArCalibDelayMonAlg::m_accCalibDigitContainerKey
SG::ReadHandleKey< LArAccumulatedCalibDigitContainer > m_accCalibDigitContainerKey
Definition: LArCalibDelayMonAlg.h:41
LArCalibDelayMonAlg::m_partitions
Gaudi::Property< std::vector< std::string > > m_partitions
Definition: LArCalibDelayMonAlg.h:47
PlotCalibFromCool.ft
ft
Definition: PlotCalibFromCool.py:329
LArCalibDelayMonAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: LArCalibDelayMonAlg.cxx:49
LArAccumulatedDigitContainer.h
SG::ReadHandleKey< LArAccumulatedCalibDigitContainer >
LArCalibDelayMonAlg::~LArCalibDelayMonAlg
virtual ~LArCalibDelayMonAlg()=default
Default destructor.
LArCalibDelayMonAlg::m_onlineHelper
const LArOnlineID * m_onlineHelper
Definition: LArCalibDelayMonAlg.h:56
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
python.ZdcRecConfig.pn
pn
Definition: ZdcRecConfig.py:524
LArCalibDelayMonAlg::LArCalibDelayMonAlg
LArCalibDelayMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArCalibDelayMonAlg.cxx:13
LArCalibDelayMonAlg::initialize
virtual StatusCode initialize() override
Overwrite dummy method from AlgTool.
Definition: LArCalibDelayMonAlg.cxx:19
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
LArAccumulatedCalibDigitContainer.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArOnlineID
Definition: LArOnlineID.h:20
LArCalibDelayMonAlg::m_histoGroups
std::vector< std::map< std::string, int > > m_histoGroups
Definition: LArCalibDelayMonAlg.h:51
LArCalibDelayMonAlg
Definition: LArCalibDelayMonAlg.py:1
LArCalibDelayMonAlg::returnPartition
unsigned int returnPartition(int be, int pn, int ft, int sl) const
Definition: LArCalibDelayMonAlg.cxx:138
LArCalibDelayMonAlg::m_SubDetNames
Gaudi::Property< std::vector< std::string > > m_SubDetNames
Definition: LArCalibDelayMonAlg.h:48
PlotCalibFromCool.be
be
Definition: PlotCalibFromCool.py:398
LArCalibDelayMonAlg::m_MonGroupName
Gaudi::Property< std::string > m_MonGroupName
Definition: LArCalibDelayMonAlg.h:44