The Gaudi Framework  master (181af51f)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages Concepts
RRWNTupleCnv.h
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2025 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#pragma once
12
13// Include files
14#include "RNTupleCnv.h"
15
16// Forward declarations
17class TTree;
18
19namespace RootHistCnv {
25
26 class RRWNTupleCnv : public RNTupleCnv {
27 public:
29 static const CLID& classID() { return CLID_RowWiseTuple; }
32
33 protected:
35 StatusCode load( TTree* tree, INTuple*& refpObject ) override;
36
38 StatusCode book( const std::string& desc, INTuple* pObject, TTree*& tree ) override;
40 StatusCode writeData( TTree* rtree, INTuple* pObject ) override;
42 StatusCode readData( TTree* rtree, INTuple* pObject, long ievt ) override;
43 };
44} // namespace RootHistCnv
unsigned int CLID
Class ID definition.
Definition ClassID.h:16
NTuple interface class definition.
Definition INTuple.h:86
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition ISvcLocator.h:42
RNTupleCnv(ISvcLocator *svc, const CLID &clid)
Standard constructor.
StatusCode book(const std::string &desc, INTuple *pObject, TTree *&tree) override
Book the N tuple.
StatusCode readData(TTree *rtree, INTuple *pObject, long ievt) override
Read N tuple data.
RRWNTupleCnv(ISvcLocator *svc)
Standard constructor.
static const CLID & classID()
Inquire class type.
StatusCode writeData(TTree *rtree, INTuple *pObject) override
Write N tuple data.
StatusCode load(TTree *tree, INTuple *&refpObject) override
Create the transient representation of an object.
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64