| The Gaudi Framework v27r1

- 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 {
17 class RRWNTupleCnv : public RNTupleCnv {
18 public:
20 static const CLID& classID() { return CLID_RowWiseTuple; }
22 RRWNTupleCnv( ISvcLocator* svc ) : RNTupleCnv(svc, classID()) { }
24 virtual ~RRWNTupleCnv() = default;
25 protected:
27 virtual StatusCode load(TTree* tree, INTuple*& refpObject);
28
30 virtual StatusCode book(const std::string& desc, INTuple* pObject, TTree*& tree);
32 virtual StatusCode writeData(TTree* rtree, INTuple* pObject);
34 virtual StatusCode readData(TTree* rtree, INTuple* pObject, long ievt);
35 };
36 } // namespace RootHistCnv
37
38 #endif // RootHistCnv_RRWNTUPLECNV_H
RootHistCnv::RNTupleCnv
NTuple converter class definition.
Definition: RNTupleCnv.h:24
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
RootHistCnv::RRWNTupleCnv::readData
virtual StatusCode readData(TTree *rtree, INTuple *pObject, long ievt)
Read N tuple data.
Definition: RRWNTupleCnv.cpp:56
RootHistCnv::RRWNTupleCnv::book
virtual StatusCode book(const std::string &desc, INTuple *pObject, TTree *&tree)
Book the N tuple.
Definition: RRWNTupleCnv.cpp:16
RootHistCnv::RRWNTupleCnv::writeData
virtual StatusCode writeData(TTree *rtree, INTuple *pObject)
Write N tuple data.
Definition: RRWNTupleCnv.cpp:38
RootHistCnv::RRWNTupleCnv
Row wise NTuple converter class definition.
Definition: RRWNTupleCnv.h:17
std::string
STL class.
INTuple
NTuple interface class definition.
Definition: INTuple.h:79
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
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:20
RootHistCnv::RRWNTupleCnv::load
virtual StatusCode load(TTree *tree, INTuple *&refpObject)
Create the transient representation of an object.
Definition: RRWNTupleCnv.cpp:65
RNTupleCnv.h
RootHistCnv::RRWNTupleCnv::RRWNTupleCnv
RRWNTupleCnv(ISvcLocator *svc)
Standard constructor.
Definition: RRWNTupleCnv.h:22
RootHistCnv::RRWNTupleCnv::~RRWNTupleCnv
virtual ~RRWNTupleCnv()=default
Standard destructor.