ATLAS Offline Software
LArDumpShapes.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: LArDumpShapes.h,v 1.1 2006-06-27 18:31:59 ssnyder Exp $
31 #ifndef LARDUMPSHAPES_H
32 #define LARDUMPSHAPES_H
33 
37 
38 #include <string>
39 
50  : public AthAlgorithm
51 {
52 public:
58  LArDumpShapes (const std::string& name, ISvcLocator* svcloc);
59 
63  StatusCode finalize(){return StatusCode::SUCCESS;}
64 
65 
66 private:
67  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
68 
70  std::string m_filename;
71 
73  int m_gain;
74 
76  bool m_first;
77 };
78 
79 #endif // not LARDUMPSHAPES_H
LArDumpShapes::LArDumpShapes
LArDumpShapes(const std::string &name, ISvcLocator *svcloc)
Standard Algorithm constructor.
Definition: LArDumpShapes.cxx:30
LArDumpShapes::m_filename
std::string m_filename
JO property: The nmae of the ROOT file to create.
Definition: LArDumpShapes.h:70
LArDumpShapes::m_gain
int m_gain
JO property: The desired gain.
Definition: LArDumpShapes.h:73
LArDumpShapes::finalize
StatusCode finalize()
Definition: LArDumpShapes.h:63
LArDumpShapes::initialize
StatusCode initialize()
Standard algorithm methods.
Definition: LArDumpShapes.cxx:43
AthAlgorithm.h
LArDumpShapes::execute
StatusCode execute()
Standard Gaudi execute method.
Definition: LArDumpShapes.cxx:54
LArOnOffIdMapping.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArDumpShapes::m_first
bool m_first
True for the first event.
Definition: LArDumpShapes.h:76
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SG::ReadCondHandleKey< LArOnOffIdMapping >
LArDumpShapes::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArDumpShapes.h:67
LArDumpShapes
Dump out shape information to a ROOT file.
Definition: LArDumpShapes.h:51