ATLAS Offline Software
CodeGenerator_v2.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: CodeGenerator_v2.h 516932 2012-09-10 09:29:08Z krasznaa $
8 #ifndef D3PDMAKERREADER_CODEGENERATOR_V2_H
9 #define D3PDMAKERREADER_CODEGENERATOR_V2_H
10 
11 // STL include(s):
12 #include <string>
13 #include <vector>
14 #include <set>
15 
16 // Gaudi/Athena include(s):
17 #include "GaudiKernel/StatusCode.h"
18 
19 namespace D3PD {
20 
21  // Forward declaration(s):
22  class ObjectMetadata;
23 
36  namespace Version2 {
37 
39  StatusCode writeD3PDObjectBase( const std::string& dir );
41  StatusCode writeVarHandle( const std::string& dir );
43  StatusCode writeVarProxy( const std::string& dir );
45  StatusCode writeUserD3PDObject( const std::string& dir );
47  StatusCode writeD3PDReadStats( const std::string& dir );
49  StatusCode writeD3PDPerfStats( const std::string& dir );
51  StatusCode writeUtils( const std::string& dir );
52 
54  StatusCode writeHeader( const std::string& classname, const std::string& dir,
55  const ObjectMetadata& metadata );
57  StatusCode writeSource( const std::string& classname, const std::string& dir,
58  const ObjectMetadata& metadata );
59 
61  StatusCode writeEventHeader( const std::string& classname, const std::string& dir,
62  const std::set< ObjectMetadata >& metadata );
64  StatusCode writeEventSource( const std::string& classname, const std::string& dir,
65  const std::set< ObjectMetadata >& metadata );
66 
67  } // namespace Version2
68 
69 } // namespace D3PD
70 
71 #endif // D3PDMAKERREADER_CODEGENERATOR_V2_H
D3PD::Version2::writeD3PDPerfStats
StatusCode writeD3PDPerfStats(const std::string &dir)
This function can be used to create the D3PDReader::D3PDPerfStats class's source files.
Definition: CodeGenerator_v2.cxx:528
D3PD::Version2::writeUserD3PDObject
StatusCode writeUserD3PDObject(const std::string &dir)
This function can be used to create the D3PDReader::UserD3PDObject class's source files.
Definition: CodeGenerator_v2.cxx:411
D3PD::Version2::writeSource
StatusCode writeSource(const std::string &classname, const std::string &dir, const ObjectMetadata &metadata)
This function is used to generate the source file of a D3PDReader class.
Definition: CodeGenerator_v2.cxx:967
D3PD::Version2::writeD3PDObjectBase
StatusCode writeD3PDObjectBase(const std::string &dir)
This function can be used to create the D3PDReader::D3PDObjectBase class's source files.
Definition: CodeGenerator_v2.cxx:265
D3PD::Version2::writeVarHandle
StatusCode writeVarHandle(const std::string &dir)
This function can be used to create the D3PDReader::VarHandle class's source files.
Definition: CodeGenerator_v2.cxx:298
D3PD::Version2::writeUtils
StatusCode writeUtils(const std::string &dir)
This function can be used to create source files containing some utility functions.
Definition: CodeGenerator_v2.cxx:577
D3PD::Version2::writeEventSource
StatusCode writeEventSource(const std::string &classname, const std::string &dir, const std::set< ObjectMetadata > &metadata)
Write the source of the main event class describing a D3PD tree.
Definition: CodeGenerator_v2.cxx:2037
python.checkMetadata.metadata
metadata
Definition: checkMetadata.py:175
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
beamspotman.dir
string dir
Definition: beamspotman.py:623
D3PD::Version2::writeD3PDReadStats
StatusCode writeD3PDReadStats(const std::string &dir)
This function can be used to create the D3PDReader::D3PDReadStats class's source files.
Definition: CodeGenerator_v2.cxx:478
D3PD::Version2::writeEventHeader
StatusCode writeEventHeader(const std::string &classname, const std::string &dir, const std::set< ObjectMetadata > &metadata)
Write the header of the main event class describing a D3PD tree.
Definition: CodeGenerator_v2.cxx:1913
D3PD::Version2::writeHeader
StatusCode writeHeader(const std::string &classname, const std::string &dir, const ObjectMetadata &metadata)
This function is used to create the header of the class describing a set of D3PD variables.
Definition: CodeGenerator_v2.cxx:632
D3PD::Version2::writeVarProxy
StatusCode writeVarProxy(const std::string &dir)
This function can be used to create the D3PDReader::VarProxy class's source files.
Definition: CodeGenerator_v2.cxx:363