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