ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCalibUtils
LArCalibUtils
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 $
30
31
#ifndef LARDUMPSHAPES_H
32
#define LARDUMPSHAPES_H
33
34
#include "
AthenaBaseComps/AthAlgorithm.h
"
35
#include "
StoreGate/ReadCondHandleKey.h
"
36
#include "
LArCabling/LArOnOffIdMapping.h
"
37
38
#include <string>
39
49
class
LArDumpShapes
50
:
public
AthAlgorithm
51
{
52
public
:
58
LArDumpShapes
(
const
std::string& name, ISvcLocator* svcloc);
59
61
StatusCode
initialize
();
62
StatusCode
execute
(
const
EventContext& ctx);
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
AthAlgorithm.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
LArDumpShapes::m_filename
std::string m_filename
JO property: The nmae of the ROOT file to create.
Definition
LArDumpShapes.h:70
LArDumpShapes::LArDumpShapes
LArDumpShapes(const std::string &name, ISvcLocator *svcloc)
Standard Algorithm constructor.
Definition
LArDumpShapes.cxx:30
LArDumpShapes::m_first
bool m_first
True for the first event.
Definition
LArDumpShapes.h:76
LArDumpShapes::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArDumpShapes.h:67
LArDumpShapes::m_gain
int m_gain
JO property: The desired gain.
Definition
LArDumpShapes.h:73
LArDumpShapes::finalize
StatusCode finalize()
Definition
LArDumpShapes.h:63
LArDumpShapes::execute
StatusCode execute(const EventContext &ctx)
Standard Gaudi execute method.
Definition
LArDumpShapes.cxx:54
LArDumpShapes::initialize
StatusCode initialize()
Standard algorithm methods.
Definition
LArDumpShapes.cxx:43
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
Generated on
for ATLAS Offline Software by
1.17.0