The Gaudi Framework
master (37c0b60a)
RCWNTupleCnv.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 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_RCWNTCNV_H
12
#define ROOTHISTCNV_RCWNTCNV_H 1
13
14
// Include files
15
#include "
RNTupleCnv.h
"
16
#include <
GaudiKernel/Converter.h
>
17
#include <string>
18
19
#include <TFile.h>
20
#include <TTree.h>
21
22
namespace
RootHistCnv
{
23
30
class
RCWNTupleCnv
:
public
RNTupleCnv
{
31
public
:
33
static
const
CLID
&
classID
() {
return
CLID_ColumnWiseTuple; }
35
RCWNTupleCnv
(
ISvcLocator
* svc ) :
RNTupleCnv
( svc,
classID
() ) {}
36
37
protected
:
39
StatusCode
load
( TTree* tree,
INTuple
*& refpObject )
override
;
41
StatusCode
book
(
const
std::string
& desc,
INTuple
* pObject, TTree*& tree )
override
;
43
StatusCode
writeData
( TTree* rtree,
INTuple
* pObject )
override
;
45
StatusCode
readData
( TTree* rtree,
INTuple
* pObject,
long
ievt )
override
;
46
};
47
}
// namespace RootHistCnv
48
49
#endif // ROOTHISTCNV_RCWNTCNV_H
std::string
STL class.
RootHistCnv::RCWNTupleCnv::RCWNTupleCnv
RCWNTupleCnv(ISvcLocator *svc)
Standard constructor.
Definition:
RCWNTupleCnv.h:35
ISvcLocator
Definition:
ISvcLocator.h:46
RootHistCnv::RCWNTupleCnv::writeData
StatusCode writeData(TTree *rtree, INTuple *pObject) override
Write N tuple data.
Definition:
RCWNTupleCnv.cpp:262
Converter.h
RootHistCnv
Definition:
DirectoryCnv.h:27
StatusCode
Definition:
StatusCode.h:65
RootHistCnv::RCWNTupleCnv
Definition:
RCWNTupleCnv.h:30
INTuple
Definition:
INTuple.h:91
CLID
unsigned int CLID
Class ID definition.
Definition:
ClassID.h:18
RNTupleCnv.h
RootHistCnv::RCWNTupleCnv::classID
static const CLID & classID()
Inquire class type.
Definition:
RCWNTupleCnv.h:33
RootHistCnv::RCWNTupleCnv::readData
StatusCode readData(TTree *rtree, INTuple *pObject, long ievt) override
Read N tuple data.
Definition:
RCWNTupleCnv.cpp:277
RootHistCnv::RNTupleCnv
Definition:
RNTupleCnv.h:33
RootHistCnv::RCWNTupleCnv::load
StatusCode load(TTree *tree, INTuple *&refpObject) override
Create the transient representation of an object.
Definition:
RCWNTupleCnv.cpp:301
RootHistCnv::RCWNTupleCnv::book
StatusCode book(const std::string &desc, INTuple *pObject, TTree *&tree) override
Book the N tuple.
Definition:
RCWNTupleCnv.cpp:143
RootHistCnv
src
RCWNTupleCnv.h
Generated on Thu Dec 19 2024 15:35:08 for The Gaudi Framework by
1.8.18