Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 {
17  class RRWNTupleCnv : public RNTupleCnv {
18  public:
20  static const CLID& classID() { return CLID_RowWiseTuple; }
22  RRWNTupleCnv( ISvcLocator* svc ) : RNTupleCnv( svc, classID() ) {}
23 
24  protected:
26  StatusCode load( TTree* tree, INTuple*& refpObject ) override;
27 
29  StatusCode book( const std::string& desc, INTuple* pObject, TTree*& tree ) override;
31  StatusCode writeData( TTree* rtree, INTuple* pObject ) override;
33  StatusCode readData( TTree* rtree, INTuple* pObject, long ievt ) override;
34  };
35 } // namespace RootHistCnv
36 
37 #endif // RootHistCnv_RRWNTUPLECNV_H
NTuple converter class definition.
Definition: RNTupleCnv.h:23
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
StatusCode book(const std::string &desc, INTuple *pObject, TTree *&tree) override
Book the N tuple.
Row wise NTuple converter class definition.
Definition: RRWNTupleCnv.h:17
StatusCode load(TTree *tree, INTuple *&refpObject) override
Create the transient representation of an object.
STL class.
NTuple interface class definition.
Definition: INTuple.h:81
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
StatusCode readData(TTree *rtree, INTuple *pObject, long ievt) override
Read N tuple data.
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
static const CLID & classID()
Inquire class type.
Definition: RRWNTupleCnv.h:20
RRWNTupleCnv(ISvcLocator *svc)
Standard constructor.
Definition: RRWNTupleCnv.h:22
StatusCode writeData(TTree *rtree, INTuple *pObject) override
Write N tuple data.