All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RRWNTupleCnv.h
Go to the documentation of this file.
1 // $Id: RRWNTupleCnv.h,v 1.6 2006/11/30 15:04:07 mato Exp $
2 #ifndef ROOTHISTCNV_RRWNTUPLECNV_H
3 #define ROOTHISTCNV_RRWNTUPLECNV_H 1
4 
5 // Include files
6 #include "RNTupleCnv.h"
7 
8 // Forward declarations
9 class TTree;
10 
11 namespace RootHistCnv {
18  class RRWNTupleCnv : public RNTupleCnv {
19  public:
21  static const CLID& classID() {
22  return CLID_RowWiseTuple;
23  }
24 
27  }
29  virtual ~RRWNTupleCnv() {
30  }
31  protected:
33  virtual StatusCode load(TTree* tree, INTuple*& refpObject);
34 
36  virtual StatusCode book(const std::string& desc, INTuple* pObject, TTree*& tree);
38  virtual StatusCode writeData(TTree* rtree, INTuple* pObject);
40  virtual StatusCode readData(TTree* rtree, INTuple* pObject, long ievt);
41  };
42 } // namespace RootHistCnv
43 
44 #endif // RootHistCnv_RRWNTUPLECNV_H
NTuple converter class definition.
Definition: RNTupleCnv.h:24
virtual ~RRWNTupleCnv()
Standard destructor.
Definition: RRWNTupleCnv.h:29
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:26
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:18
NTuple interface class definition.
Definition: INTuple.h:80
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
unsigned int CLID
Class ID definition.
Definition: ClassID.h:9
static const CLID & classID()
Inquire class type.
Definition: RRWNTupleCnv.h:21
virtual StatusCode load(TTree *tree, INTuple *&refpObject)
Create the transient representation of an object.
RRWNTupleCnv(ISvcLocator *svc)
Standard constructor.
Definition: RRWNTupleCnv.h:26