#include "GaudiKernel/INTupleSvc.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/NTuple.h"
#include <cstdio>
#include <utility>
#include <list>
#include <vector>
#include "RCWNTupleCnv.h"
#include "TTree.h"
#include "TLeafI.h"
#include "TLeafF.h"
#include "TLeafD.h"
Go to the source code of this file.
#define ROOTHISTCNV_RCWNTUPLECNV_CPP |
Definition at line 30 of file RCWNTupleCnv.cpp.
44 long item_size =
sizeof(T);
45 long dimension = it->
length();
46 long ndim = it->
ndim()-1;
55 if (ind_blk != block_name) {
56 std::cerr <<
"ERROR: Index for CWNT variable " << ind_var
57 <<
" is in a different block: " << ind_blk <<
std::endl;
61 else if ( it->
dim(ndim) > 1 ) {
65 for (
int i = ndim-1; i>=0; i-- ){
73 if (it->
range().lower() != it->
range().min() &&
75 lowerRange = it->
range().lower();
76 upperRange = it->
range().upper();
82 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?