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() {
21  return CLID_RowWiseTuple;
22  }
23 
26  }
28  virtual ~RRWNTupleCnv() {
29  }
30  protected:
32  virtual StatusCode load(TTree* tree, INTuple*& refpObject);
33 
35  virtual StatusCode book(const std::string& desc, INTuple* pObject, TTree*& tree);
37  virtual StatusCode writeData(TTree* rtree, INTuple* pObject);
39  virtual StatusCode readData(TTree* rtree, INTuple* pObject, long ievt);
40  };
41 } // namespace RootHistCnv
42 
43 #endif // RootHistCnv_RRWNTUPLECNV_H
NTuple converter class definition.
Definition: RNTupleCnv.h:24
virtual ~RRWNTupleCnv()
Standard destructor.
Definition: RRWNTupleCnv.h:28
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
virtual StatusCode readData(TTree *rtree, INTuple *pObject, long ievt)
Read N tuple data.
virtual StatusCode book(const std::string &desc, INTuple *pObject, TTree *&tree)
Book the N tuple.
virtual StatusCode writeData(TTree *rtree, INTuple *pObject)
Write N tuple data.
Row wise NTuple converter class definition.
Definition: RRWNTupleCnv.h:17
NTuple interface class definition.
Definition: INTuple.h:79
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
static const CLID & classID()
Inquire class type.
Definition: RRWNTupleCnv.h:20
virtual StatusCode load(TTree *tree, INTuple *&refpObject)
Create the transient representation of an object.
RRWNTupleCnv(ISvcLocator *svc)
Standard constructor.
Definition: RRWNTupleCnv.h:25