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