ATLAS Offline Software
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 
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 
CaloAffectedRegionInfoVec.h
LArAffectedRegionsAlg::m_hec1Name
Gaudi::Property< std::string > m_hec1Name
Definition: LArAffectedRegionsAlg.h:53
LArAffectedRegionsAlg::~LArAffectedRegionsAlg
virtual ~LArAffectedRegionsAlg()
Default destructor.
Definition: LArAffectedRegionsAlg.cxx:34
LArAffectedRegionsAlg::m_embpsName
Gaudi::Property< std::string > m_embpsName
Definition: LArAffectedRegionsAlg.h:48
LArAffectedRegionsAlg::m_affKey
SG::ReadCondHandleKey< CaloAffectedRegionInfoVec > m_affKey
Definition: LArAffectedRegionsAlg.h:43
LArAffectedRegionsAlg::m_fcal0Name
Gaudi::Property< std::string > m_fcal0Name
Definition: LArAffectedRegionsAlg.h:56
LArAffectedRegionsAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
Called each event.
Definition: LArAffectedRegionsAlg.cxx:51
LArAffectedRegionsAlg::initialize
virtual StatusCode initialize() override
Overwrite dummy method from AlgTool.
Definition: LArAffectedRegionsAlg.cxx:39
LArAffectedRegionsAlg::m_MonGroupName
Gaudi::Property< std::string > m_MonGroupName
Definition: LArAffectedRegionsAlg.h:47
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
LArAffectedRegionsAlg
Definition: LArAffectedRegionsAlg.py:1
LArAffectedRegionsAlg::m_hec0Name
Gaudi::Property< std::string > m_hec0Name
Definition: LArAffectedRegionsAlg.h:52
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArAffectedRegionsAlg::m_IsOnline
Gaudi::Property< bool > m_IsOnline
Definition: LArAffectedRegionsAlg.h:61
AthMonitorAlgorithm.h
LArAffectedRegionsAlg::LArAffectedRegionsAlg
LArAffectedRegionsAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArAffectedRegionsAlg.cxx:29
LArAffectedRegionsAlg::m_fcal2Name
Gaudi::Property< std::string > m_fcal2Name
Definition: LArAffectedRegionsAlg.h:58
LArAffectedRegionsAlg::m_hec2Name
Gaudi::Property< std::string > m_hec2Name
Definition: LArAffectedRegionsAlg.h:54
LArAffectedRegionsAlg::m_delta_phi
Gaudi::Property< float > m_delta_phi
Definition: LArAffectedRegionsAlg.h:62
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
ReadCondHandleKey.h
LArAffectedRegionsAlg::m_delta_eta
Gaudi::Property< float > m_delta_eta
Definition: LArAffectedRegionsAlg.h:63
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
LArAffectedRegionsAlg::m_emecpsName
Gaudi::Property< std::string > m_emecpsName
Definition: LArAffectedRegionsAlg.h:50
SG::ReadCondHandleKey< CaloAffectedRegionInfoVec >
LArAffectedRegionsAlg::m_hec3Name
Gaudi::Property< std::string > m_hec3Name
Definition: LArAffectedRegionsAlg.h:55
LArAffectedRegionsAlg::m_emecName
Gaudi::Property< std::string > m_emecName
Definition: LArAffectedRegionsAlg.h:51
LArAffectedRegionsAlg::m_fcal1Name
Gaudi::Property< std::string > m_fcal1Name
Definition: LArAffectedRegionsAlg.h:57
LArAffectedRegionsAlg::m_embName
Gaudi::Property< std::string > m_embName
Definition: LArAffectedRegionsAlg.h:49