ATLAS Offline Software
xAODTestTypelessRead.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 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
16 #ifndef DATAMODELTESTDATAREAD_XAODTESTTYPELESSREAD_H
17 #define DATAMODELTESTDATAREAD_XAODTESTTYPELESSREAD_H
18 
19 
21 
22 
23 namespace DMTest {
24 
25 
30  : public AthAlgorithm
31 {
32 public:
38  xAODTestTypelessRead (const std::string &name, ISvcLocator *pSvcLocator);
39 
40 
44  virtual StatusCode initialize();
45 
46 
50  virtual StatusCode execute();
51 
52 
56  virtual StatusCode finalize();
57 
58 
59 private:
60  template <class OBJ, class AUX>
61  StatusCode testit (const char* key);
62 
63  template <class OBJ>
64  StatusCode testit_view (const char* key);
65 
67  std::string m_writePrefix;
68 
70  int m_count;
71 };
72 
73 
74 } // namespace DMTest
75 
76 
77 #endif // not DATAMODELTESTDATAREAD_XAODTESTTYPELESSREAD_H
DMTest::xAODTestTypelessRead::testit
StatusCode testit(const char *key)
Definition: xAODTestTypelessRead.cxx:229
DMTest::xAODTestTypelessRead::finalize
virtual StatusCode finalize()
Algorithm finalization; called at the end of the job.
Definition: xAODTestTypelessRead.cxx:309
DMTest::xAODTestTypelessRead::execute
virtual StatusCode execute()
Algorithm event processing.
Definition: xAODTestTypelessRead.cxx:289
AthAlgorithm.h
DMTest::xAODTestTypelessRead::xAODTestTypelessRead
xAODTestTypelessRead(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: xAODTestTypelessRead.cxx:45
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DMTest::xAODTestTypelessRead::m_writePrefix
std::string m_writePrefix
Parameter: Prefix for names written to SG. Null for no write.
Definition: xAODTestTypelessRead.h:67
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
DMTest::xAODTestTypelessRead::initialize
virtual StatusCode initialize()
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestTypelessRead.cxx:57
DMTest::xAODTestTypelessRead::m_count
int m_count
Event counter.
Definition: xAODTestTypelessRead.h:70
DMTest::xAODTestTypelessRead::testit_view
StatusCode testit_view(const char *key)
Definition: xAODTestTypelessRead.cxx:265
DMTest::xAODTestTypelessRead
Algorithm for reading test xAOD data.
Definition: xAODTestTypelessRead.h:31
DMTest
Definition: B.h:23
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37