| The Gaudi Framework v29r0 (ff2e7097)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

RRWNTupleCnv.h
Go to the documentation of this file.
1 #ifndef ROOTHISTCNV_RRWNTUPLECNV_H
2 #define ROOTHISTCNV_RRWNTUPLECNV_H 1
3
4 // Include files
5 #include "RNTupleCnv.h"
6
7 // Forward declarations
8 class TTree;
9
10 namespace RootHistCnv
11 {
18 class RRWNTupleCnv : public RNTupleCnv
19 {
20 public:
22 static const CLID& classID() { return CLID_RowWiseTuple; }
24 RRWNTupleCnv( ISvcLocator* svc ) : RNTupleCnv( svc, classID() ) {}
26 ~RRWNTupleCnv() override = default;
27
28 protected:
30 StatusCode load( TTree* tree, INTuple*& refpObject ) override;
31
33 StatusCode book( const std::string& desc, INTuple* pObject, TTree*& tree ) override;
35 StatusCode writeData( TTree* rtree, INTuple* pObject ) override;
37 StatusCode readData( TTree* rtree, INTuple* pObject, long ievt ) override;
38 };
39 } // namespace RootHistCnv
40
41 #endif // RootHistCnv_RRWNTUPLECNV_H
RootHistCnv::RNTupleCnv
NTuple converter class definition.
Definition: RNTupleCnv.h:25
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
RootHistCnv::RRWNTupleCnv::book
StatusCode book(const std::string &desc, INTuple *pObject, TTree *&tree) override
Book the N tuple.
Definition: RRWNTupleCnv.cpp:16
RootHistCnv::RRWNTupleCnv
Row wise NTuple converter class definition.
Definition: RRWNTupleCnv.h:18
RootHistCnv::RRWNTupleCnv::load
StatusCode load(TTree *tree, INTuple *&refpObject) override
Create the transient representation of an object.
Definition: RRWNTupleCnv.cpp:59
std::string
STL class.
INTuple
NTuple interface class definition.
Definition: INTuple.h:82
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
RootHistCnv::RRWNTupleCnv::readData
StatusCode readData(TTree *rtree, INTuple *pObject, long ievt) override
Read N tuple data.
Definition: RRWNTupleCnv.cpp:52
RootHistCnv
Definition: DirectoryCnv.h:17
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
RootHistCnv::RRWNTupleCnv::classID
static const CLID & classID()
Inquire class type.
Definition: RRWNTupleCnv.h:22
RNTupleCnv.h
RootHistCnv::RRWNTupleCnv::RRWNTupleCnv
RRWNTupleCnv(ISvcLocator *svc)
Standard constructor.
Definition: RRWNTupleCnv.h:24
RootHistCnv::RRWNTupleCnv::~RRWNTupleCnv
~RRWNTupleCnv() override=default
Standard destructor.
RootHistCnv::RRWNTupleCnv::writeData
StatusCode writeData(TTree *rtree, INTuple *pObject) override
Write N tuple data.
Definition: RRWNTupleCnv.cpp:34