ATLAS Offline Software
TileDigitsDumper.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_TILEDIGITSDUMPER_H
16 #define TILERECUTILS_TILEDIGITSDUMPER_H
17 
18 
22 
23 
31  : public AthReentrantAlgorithm
32 {
33 public:
39  TileDigitsDumper (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, "TileDigitsContainer", "TileDigitsCnt", "Handle for input tile digits." };
59 
63  { this, "AltTileDigitsContainer", "", "Alternate handle for input tile digits." };
64 
66  Gaudi::Property<std::string> m_prefix
67  { this, "Prefix", "", "Prefix for output file name." };
68 };
69 
70 
71 #endif // not TILERECUTILS_TILEDIGITSDUMPER_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileDigitsDumper::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: TileDigitsDumper.cxx:34
TileDigitsDumper::m_altContKey
SG::ReadHandleKey< TileDigitsContainer > m_altContKey
Optional additional input dependency — used when we access the object produced on the side by the con...
Definition: TileDigitsDumper.h:63
TileDigitsDumper
Dump a TileDigitsContainer to a text file.
Definition: TileDigitsDumper.h:32
SG::ReadHandleKey< TileDigitsContainer >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
TileDigitsContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileDigitsDumper::m_contKey
SG::ReadHandleKey< TileDigitsContainer > m_contKey
Handle to access input tile digits.
Definition: TileDigitsDumper.h:58
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TileDigitsDumper::m_prefix
Gaudi::Property< std::string > m_prefix
Output file name prefix.
Definition: TileDigitsDumper.h:67
TileDigitsDumper::TileDigitsDumper
TileDigitsDumper(const std::string &name, ISvcLocator *svcloc)
Constructor.
Definition: TileDigitsDumper.cxx:25
TileDigitsDumper::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: TileDigitsDumper.cxx:48