The Gaudi Framework
master (37c0b60a)
RRWNTupleCnv.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#ifndef ROOTHISTCNV_RRWNTUPLECNV_H
12
#define ROOTHISTCNV_RRWNTUPLECNV_H 1
13
14
// Include files
15
#include "
RNTupleCnv.h
"
16
17
// Forward declarations
18
class
TTree;
19
20
namespace
RootHistCnv
{
27
class
RRWNTupleCnv
:
public
RNTupleCnv
{
28
public
:
30
static
const
CLID
&
classID
() {
return
CLID_RowWiseTuple; }
32
RRWNTupleCnv
(
ISvcLocator
* svc ) :
RNTupleCnv
( svc,
classID
() ) {}
33
34
protected
:
36
StatusCode
load
( TTree* tree,
INTuple
*& refpObject )
override
;
37
39
StatusCode
book
(
const
std::string
& desc,
INTuple
* pObject, TTree*& tree )
override
;
41
StatusCode
writeData
( TTree* rtree,
INTuple
* pObject )
override
;
43
StatusCode
readData
( TTree* rtree,
INTuple
* pObject,
long
ievt )
override
;
44
};
45
}
// namespace RootHistCnv
46
47
#endif // RootHistCnv_RRWNTUPLECNV_H
RootHistCnv::RRWNTupleCnv::writeData
StatusCode writeData(TTree *rtree, INTuple *pObject) override
Write N tuple data.
Definition:
RRWNTupleCnv.cpp:57
std::string
STL class.
ISvcLocator
Definition:
ISvcLocator.h:46
RootHistCnv::RRWNTupleCnv::book
StatusCode book(const std::string &desc, INTuple *pObject, TTree *&tree) override
Book the N tuple.
Definition:
RRWNTupleCnv.cpp:39
RootHistCnv::RRWNTupleCnv::readData
StatusCode readData(TTree *rtree, INTuple *pObject, long ievt) override
Read N tuple data.
Definition:
RRWNTupleCnv.cpp:75
RootHistCnv
Definition:
DirectoryCnv.h:27
StatusCode
Definition:
StatusCode.h:65
RootHistCnv::RRWNTupleCnv::RRWNTupleCnv
RRWNTupleCnv(ISvcLocator *svc)
Standard constructor.
Definition:
RRWNTupleCnv.h:32
INTuple
Definition:
INTuple.h:91
RootHistCnv::RRWNTupleCnv::classID
static const CLID & classID()
Inquire class type.
Definition:
RRWNTupleCnv.h:30
CLID
unsigned int CLID
Class ID definition.
Definition:
ClassID.h:18
RootHistCnv::RRWNTupleCnv
Definition:
RRWNTupleCnv.h:27
RNTupleCnv.h
RootHistCnv::RNTupleCnv
Definition:
RNTupleCnv.h:33
RootHistCnv::RRWNTupleCnv::load
StatusCode load(TTree *tree, INTuple *&refpObject) override
Create the transient representation of an object.
Definition:
RRWNTupleCnv.cpp:82
RootHistCnv
src
RRWNTupleCnv.h
Generated on Thu Dec 19 2024 15:35:09 for The Gaudi Framework by
1.8.18