ATLAS Offline Software
ReadLArRaw.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
11 #ifndef ReadLArRaw_H
12 #define ReadLArRaw_H
13 
17 
18 #include <fstream>
19 
21 
22 class LArOnlineID;
23 class LArEM_ID;
24 
25 class ReadLArRaw:public AthAlgorithm {
26 
27  public:
28  ReadLArRaw (const std::string& name, ISvcLocator* pSvcLocator);
29  virtual StatusCode initialize();
30  virtual StatusCode execute();
31  virtual StatusCode finalize();
32 
33  private:
34 
35  std::string m_ChannelContainerName ;
36  std::string m_dumpFile;
37  std::ofstream m_outFile;
38 
39  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
40 
43 
44 
45 };
46 
47 #endif
ReadLArRaw
CTB: code to read raw channels.
Definition: ReadLArRaw.h:25
ReadLArRaw::m_outFile
std::ofstream m_outFile
Definition: ReadLArRaw.h:37
ReadLArRaw::initialize
virtual StatusCode initialize()
Definition: ReadLArRaw.cxx:60
ReadLArRaw::m_larem_id
const LArEM_ID * m_larem_id
Definition: ReadLArRaw.h:42
AthAlgorithm.h
LArOnOffIdMapping.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadLArRaw::m_ChannelContainerName
std::string m_ChannelContainerName
Definition: ReadLArRaw.h:35
ReadLArRaw::m_onlineID
const LArOnlineID * m_onlineID
Definition: ReadLArRaw.h:41
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LArOnlineID
Definition: LArOnlineID.h:20
ReadLArRaw::finalize
virtual StatusCode finalize()
Definition: ReadLArRaw.cxx:136
ReadLArRaw::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: ReadLArRaw.h:39
SG::ReadCondHandleKey< LArOnOffIdMapping >
ReadLArRaw::ReadLArRaw
ReadLArRaw(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ReadLArRaw.cxx:47
LArEM_ID
Helper class for LArEM offline identifiers.
Definition: LArEM_ID.h:118
ReadLArRaw::m_dumpFile
std::string m_dumpFile
Definition: ReadLArRaw.h:36
ReadLArRaw::execute
virtual StatusCode execute()
Definition: ReadLArRaw.cxx:86