#include "GaudiKernel/INTupleSvc.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/NTuple.h"
#include <cstdio>
#include <list>
#include <utility>
#include <vector>
#include "RCWNTupleCnv.h"
#include "TLeafD.h"
#include "TLeafF.h"
#include "TLeafI.h"
#include "TTree.h"
Go to the source code of this file.
#define ROOTHISTCNV_RCWNTUPLECNV_CPP |
Definition at line 31 of file RCWNTupleCnv.cpp.
39 long item_size =
sizeof( T );
40 long dimension = it->
length();
41 long ndim = it->
ndim() - 1;
49 if ( ind_blk != block_name ) {
50 std::cerr <<
"ERROR: Index for CWNT variable " << ind_var <<
" is in a different block: " << ind_blk <<
std::endl;
53 }
else if ( it->
dim( ndim ) > 1 ) {
57 for (
int i = ndim - 1; i >= 0; i-- ) {
66 lowerRange = it->
range().lower();
67 upperRange = it->
range().upper();
73 size += item_size * dimension;
virtual const std::string & name() const =0
Access _Item name.
virtual const ItemRange & range() const =0
Access the range if specified.
bool parseName(const std::string &full, std::string &blk, std::string &var)
virtual long ndim() const =0
Dimension.
virtual long length() const =0
Access the buffer length.
virtual const std::string & index() const =0
Access the index _Item.
virtual long dim(long i) const =0
Access individual dimensions.
virtual bool hasIndex() const =0
Is the tuple have an index item?