ATLAS Offline Software
Loading...
Searching...
No Matches
LArAffectedRegionsAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
10
11#ifndef LARAFFECTEDREGIONSALG_H
12#define LARAFFECTEDREGIONSALG_H
13
16
19
20#include <string>
21
22
23
24
26{
27 public:
28 LArAffectedRegionsAlg(const std::string& name,ISvcLocator* pSvcLocator );
29
31 virtual ~LArAffectedRegionsAlg();
32
34 virtual StatusCode initialize() override;
35
36
38 virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
39
40 private:
41
42 //affected regions handle
43 SG::ReadCondHandleKey<CaloAffectedRegionInfoVec> m_affKey {this,"LArAffectedRegionKey", "LArAffectedRegionInfo", "SG key for affected regions cond object"};
44
45 // Properties
46 //MonGroup(s) name
47 Gaudi::Property<std::string> m_MonGroupName {this,"AffectedRegionsGroupName","LArAffectedRegionsMonGroup"};
48 Gaudi::Property<std::string> m_embpsName {this,"EMBPSname","EMBPS"};
49 Gaudi::Property<std::string> m_embName {this,"EMBname","EMB"};
50 Gaudi::Property<std::string> m_emecpsName {this,"EMECPSname","EMECPS"};
51 Gaudi::Property<std::string> m_emecName {this,"EMECname","EMEC"};
52 Gaudi::Property<std::string> m_hec0Name {this,"HEC0name","HEC0"};
53 Gaudi::Property<std::string> m_hec1Name {this,"HEC1name","HEC1"};
54 Gaudi::Property<std::string> m_hec2Name {this,"HEC2name","HEC2"};
55 Gaudi::Property<std::string> m_hec3Name {this,"HEC3name","HEC3"};
56 Gaudi::Property<std::string> m_fcal0Name {this,"FCal0name","FCAL0"};
57 Gaudi::Property<std::string> m_fcal1Name {this,"FCal1name","FCAL1"};
58 Gaudi::Property<std::string> m_fcal2Name {this,"FCal2name","FCAL2"};
59
60 //Other properties
61 Gaudi::Property<bool> m_IsOnline {this,"IsOnline",false};
62 Gaudi::Property<float> m_delta_phi {this,"PhiGranularity",0.01};
63 Gaudi::Property<float> m_delta_eta {this,"EtaGranularity",0.01};
64
65};
66
67#endif
68
Header file to be included by clients of the Monitored infrastructure.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Gaudi::Property< std::string > m_fcal0Name
Gaudi::Property< float > m_delta_eta
Gaudi::Property< std::string > m_hec1Name
Gaudi::Property< std::string > m_fcal2Name
Gaudi::Property< std::string > m_hec3Name
Gaudi::Property< std::string > m_fcal1Name
Gaudi::Property< std::string > m_MonGroupName
Gaudi::Property< std::string > m_hec0Name
virtual StatusCode fillHistograms(const EventContext &ctx) const override
Called each event.
Gaudi::Property< bool > m_IsOnline
Gaudi::Property< std::string > m_emecName
Gaudi::Property< std::string > m_embpsName
Gaudi::Property< std::string > m_embName
Gaudi::Property< float > m_delta_phi
SG::ReadCondHandleKey< CaloAffectedRegionInfoVec > m_affKey
Gaudi::Property< std::string > m_emecpsName
Gaudi::Property< std::string > m_hec2Name
void initialize()