ATLAS Offline Software
TileL2Dumper.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_TILEL2DUMPER_H
16 #define TILERECUTILS_TILEL2DUMPER_H
17 
18 
22 
23 
31  : public AthReentrantAlgorithm
32 {
33 public:
39  TileL2Dumper (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, "TileL2Container", "TileL2Cnt", "Handle for input tile L2 objects." };
59 
61  Gaudi::Property<std::string> m_prefix
62  { this, "Prefix", "", "Prefix for output file name." };
63 };
64 
65 
66 #endif // not TILERECUTILS_TILEL2DUMPER_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileL2Dumper::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: TileL2Dumper.cxx:34
TileL2Dumper::TileL2Dumper
TileL2Dumper(const std::string &name, ISvcLocator *svcloc)
Constructor.
Definition: TileL2Dumper.cxx:25
TileL2Dumper::m_prefix
Gaudi::Property< std::string > m_prefix
Output file name prefix.
Definition: TileL2Dumper.h:62
TileL2Dumper::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: TileL2Dumper.cxx:45
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TileL2Dumper
Dump a TileL2Container to a text file.
Definition: TileL2Dumper.h:32
TileL2Container.h
TileL2Dumper::m_contKey
SG::ReadHandleKey< TileL2Container > m_contKey
Handle to access input tile digits.
Definition: TileL2Dumper.h:58