ATLAS Offline Software
TileLaserObjectDumper.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  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
4 */
5 /*
6  */
15 #ifndef TILERECUTILS_TILELASEROBJECTDUMPER_H
16 #define TILERECUTILS_TILELASEROBJECTDUMPER_H
17 
18 
22 
23 
31  : public AthReentrantAlgorithm
32 {
33 public:
39  TileLaserObjectDumper (const std::string& name, ISvcLocator* svcloc);
40 
41 
45  virtual StatusCode initialize() override;
46 
47 
52  virtual StatusCode execute (const EventContext& ctx) const override;
53 
54 
55 private:
58  { this, "TileLaserObject", "TileLaserObj", "Handle for input laser objects." };
59 
61  Gaudi::Property<std::string> m_prefix
62  { this, "Prefix", "", "Prefix for output file name." };
63 };
64 
65 
66 #endif // not TILERECUTILS_TILELASEROBJECTDUMPER_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileLaserObject.h
SG::ReadHandleKey< TileLaserObject >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
TileLaserObjectDumper::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: TileLaserObjectDumper.cxx:46
TileLaserObjectDumper
Dump a TileLaserObject to a text file.
Definition: TileLaserObjectDumper.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileLaserObjectDumper::m_contKey
SG::ReadHandleKey< TileLaserObject > m_contKey
Handle to access input object.
Definition: TileLaserObjectDumper.h:58
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
TileLaserObjectDumper::TileLaserObjectDumper
TileLaserObjectDumper(const std::string &name, ISvcLocator *svcloc)
Constructor.
Definition: TileLaserObjectDumper.cxx:25
TileLaserObjectDumper::m_prefix
Gaudi::Property< std::string > m_prefix
Output file name prefix.
Definition: TileLaserObjectDumper.h:62
TileLaserObjectDumper::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: TileLaserObjectDumper.cxx:35