ATLAS Offline Software
Loading...
Searching...
No Matches
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
19namespace 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 variable metadata handling class.
Private namespace for version 2 of the code generator code.
StatusCode writeUtils(const std::string &dir)
This function can be used to create source files containing some utility functions.
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.
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.
StatusCode writeD3PDReadStats(const std::string &dir)
This function can be used to create the D3PDReader::D3PDReadStats class's source files.
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.
StatusCode writeVarHandle(const std::string &dir)
This function can be used to create the D3PDReader::VarHandle class's source files.
StatusCode writeVarProxy(const std::string &dir)
This function can be used to create the D3PDReader::VarProxy class's source files.
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.
StatusCode writeD3PDObjectBase(const std::string &dir)
This function can be used to create the D3PDReader::D3PDObjectBase class's source files.
StatusCode writeUserD3PDObject(const std::string &dir)
This function can be used to create the D3PDReader::UserD3PDObject class's source files.
StatusCode writeD3PDPerfStats(const std::string &dir)
This function can be used to create the D3PDReader::D3PDPerfStats class's source files.
Block filler tool for noisy FEB information.
::StatusCode StatusCode
StatusCode definition for legacy code.