The Gaudi Framework  master (69a68366)
Loading...
Searching...
No Matches
RootNTupleCnv.cpp File Reference
#include <RootCnv/RootAddress.h>
#include <RootCnv/RootDataConnection.h>
#include <RootCnv/RootNTupleCnv.h>
#include <RootCnv/RootRefs.h>
#include <GaudiKernel/ContainedObject.h>
#include <GaudiKernel/INTupleSvc.h>
#include <GaudiKernel/IRegistry.h>
#include <GaudiKernel/ISelectStatement.h>
#include <GaudiKernel/NTuple.h>
#include <GaudiKernel/SmartIF.h>
#include <GaudiKernel/SmartRef.h>
#include <GaudiKernel/StreamBuffer.h>
#include <TBranch.h>
#include <TROOT.h>
#include <TTree.h>
#include <limits>
#include <memory>
Include dependency graph for RootNTupleCnv.cpp:

Go to the source code of this file.

Macros

#define ALLOW_ALL_TYPES
 
#define S_OK   StatusCode::SUCCESS
 
#define S_FAIL   StatusCode::FAILURE
 

Functions

template<>
istream & readValue< float > (istream &is, float &val)
 
template<>
istream & readValue< double > (istream &is, double &val)
 

Macro Definition Documentation

◆ ALLOW_ALL_TYPES

#define ALLOW_ALL_TYPES

Definition at line 19 of file RootNTupleCnv.cpp.

◆ S_FAIL

#define S_FAIL   StatusCode::FAILURE

Definition at line 44 of file RootNTupleCnv.cpp.

◆ S_OK

#define S_OK   StatusCode::SUCCESS

Definition at line 43 of file RootNTupleCnv.cpp.

Function Documentation

◆ readValue< double >()

template<>
istream & readValue< double > ( istream & is,
double & val )
inline

Definition at line 89 of file RootNTupleCnv.cpp.

89 {
90 is >> val;
91 if ( is.fail() && !is.bad() && !is.eof() ) is.clear( is.rdstate() & ~std::ios::failbit );
92 return is;
93}

◆ readValue< float >()

template<>
istream & readValue< float > ( istream & is,
float & val )
inline

Definition at line 83 of file RootNTupleCnv.cpp.

83 {
84 is >> val;
85 if ( is.fail() && !is.bad() && !is.eof() ) is.clear( is.rdstate() & ~std::ios::failbit );
86 return is;
87}