ATLAS Offline Software
Loading...
Searching...
No Matches
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
20class 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
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
std::vector< std::map< std::string, int > > m_histoGroups
unsigned int returnPartition(int be, int pn, int ft, int sl) const
Gaudi::Property< std::vector< std::string > > m_partitions
Gaudi::Property< std::string > m_MonGroupName
SG::ReadHandleKey< LArAccumulatedCalibDigitContainer > m_accCalibDigitContainerKey
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Gaudi::Property< std::vector< std::string > > m_SubDetNames
const LArOnlineID * m_onlineHelper
virtual ~LArCalibDelayMonAlg()=default
Default destructor.
Property holding a SG store/key/clid from which a ReadHandle is made.
void initialize()