ATLAS Offline Software
ZdcRecChannelToolLucrod.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 /*
6  * ZdcRecChannelToolLucrod.h
7  *
8  * Author: Peter Steinberg (steinberg@bnl.gov)
9  */
10 
11 #ifndef ZDCRECCHANNELTOOLLucrod_H_
12 #define ZDCRECCHANNELTOOLLucrod_H_
13 
14 
15 #include <string>
16 #include <map>
17 
18 #include "AsgTools/AsgTool.h"
19 #include "GaudiKernel/ToolHandle.h"
20 #include "GaudiKernel/ServiceHandle.h"
21 
25 
26 class StatusCode;
27 class Identifier;
28 class ZdcID ;
29 
30 class ZdcRecChannelToolLucrod: public asg::AsgTool, virtual public IIncidentListener
31 {
34  public:
35  ZdcRecChannelToolLucrod(const std::string& name);
37 
38  virtual StatusCode initialize() override;
39  virtual StatusCode finalize() override;
40  virtual void handle( const Incident& ) override;
41 
42  int convertLucrod2ZM(const ZdcLucrodDataContainer* lucrodContainer, xAOD::ZdcModuleContainer* zdcModules, xAOD::ZdcModuleContainer* zdcSums) const;
43 
44 private:
45 
46  const ZdcID* m_zdcId{};
47 
48 };
49 
50 
51 #endif /* ZDCRECCHANNELTOOLLucrod_H_ */
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
ZdcLucrodDataContainer.h
ZdcLucrodDataContainer
Definition: ZdcLucrodDataContainer.h:12
ZdcModuleAuxContainer.h
ZdcRecChannelToolLucrod::~ZdcRecChannelToolLucrod
virtual ~ZdcRecChannelToolLucrod()
Definition: ZdcRecChannelToolLucrod.h:36
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ZdcRecChannelToolLucrod::convertLucrod2ZM
int convertLucrod2ZM(const ZdcLucrodDataContainer *lucrodContainer, xAOD::ZdcModuleContainer *zdcModules, xAOD::ZdcModuleContainer *zdcSums) const
Definition: ZdcRecChannelToolLucrod.cxx:77
ASG_TOOL_CLASS0
#define ASG_TOOL_CLASS0(CLASSNAME)
Definition: AsgToolMacros.h:62
ZdcRecChannelToolLucrod
Definition: ZdcRecChannelToolLucrod.h:31
ZdcRecChannelToolLucrod::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: ZdcRecChannelToolLucrod.cxx:44
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
ZdcRecChannelToolLucrod::finalize
virtual StatusCode finalize() override
Definition: ZdcRecChannelToolLucrod.cxx:70
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
ZdcRecChannelToolLucrod::m_zdcId
const ZdcID * m_zdcId
Definition: ZdcRecChannelToolLucrod.h:46
ZdcRecChannelToolLucrod::handle
virtual void handle(const Incident &) override
Definition: ZdcRecChannelToolLucrod.cxx:35
AsgTool.h
ZdcRecChannelToolLucrod::ZdcRecChannelToolLucrod
ZdcRecChannelToolLucrod(const std::string &name)
Definition: ZdcRecChannelToolLucrod.cxx:25
ZdcID
Definition: ZdcID.h:25
ZdcModuleContainer.h