Gaudi Framework, version v22r0

Home   Generated: 9 Feb 2011

RootHistCnv Namespace Reference

Typedefs

typedef RHistogramCnv
< TProfile, TProfile,
Gaudi::HistogramBase > 
RootHistCnvP1DCnv
typedef RHistogramCnv
< TProfile2D, TProfile2D,
Gaudi::HistogramBase > 
RootHistCnvP2DCnv
typedef RHistogramCnv< TH1D,
TH1, Gaudi::HistogramBase > 
RootHistCnvH1DCnv
typedef RHistogramCnv< TH2D,
TH2, Gaudi::HistogramBase > 
RootHistCnvH2DCnv
typedef
RootHistCnv::RHistogramCnv
< TH3D, TH3,
Gaudi::HistogramBase > 
RootHistCnvH3DCnv

Functions

template<class TYP >
INTupleItemcreateNTupleItem (std::string itemName, std::string blockName, std::string indexName, int indexRange, int arraySize, TYP min, TYP max, INTuple *ntup)
bool RootCd (const std::string &full)
bool RootMkdir (const std::string &full)
std::string RootPwd ()
bool RootTrimLeadingDir (std::string &full, std::string dir)

Variables

static std::string stat_dir = "/stat"
static std::string undefFileName = "UndefinedROOTOutputFileName"

Typedef Documentation

typedef RHistogramCnv<TH1D,TH1,Gaudi::HistogramBase> RootHistCnv::RootHistCnvH1DCnv

Definition at line 24 of file RHistogramCnv.cpp.

typedef RHistogramCnv<TH2D,TH2,Gaudi::HistogramBase> RootHistCnv::RootHistCnvH2DCnv

Definition at line 32 of file RHistogramCnv.cpp.

typedef RootHistCnv::RHistogramCnv<TH3D,TH3,Gaudi::HistogramBase> RootHistCnv::RootHistCnvH3DCnv

Definition at line 40 of file RHistogramCnv.cpp.

typedef RHistogramCnv<TProfile,TProfile,Gaudi::HistogramBase> RootHistCnv::RootHistCnvP1DCnv

Definition at line 4 of file RHistogramCnv.cpp.

typedef RHistogramCnv<TProfile2D,TProfile2D,Gaudi::HistogramBase> RootHistCnv::RootHistCnvP2DCnv

Definition at line 16 of file RHistogramCnv.cpp.


Function Documentation

template<class TYP >
INTupleItem* RootHistCnv::createNTupleItem ( std::string  itemName,
std::string  blockName,
std::string  indexName,
int  indexRange,
int  arraySize,
TYP  min,
TYP  max,
INTuple ntup 
) [inline]

Definition at line 273 of file RNTupleCnv.cpp.

00277                                                 {
00278 
00279     std::string varName;
00280     if (blockName != "") {
00281       varName = blockName + "/" + itemName;
00282     } else {
00283       varName = itemName;
00284     }
00285 
00286     TYP null = 0;
00287     INTupleItem* col = 0;
00288 
00289     if (min == 0 && max == 0) {
00290       min = NTuple::Range<TYP>::min();
00291       max = NTuple::Range<TYP>::max();
00292     }
00293 
00294 
00295     if (indexName == "") {
00296 
00297       if (arraySize == 1) {
00298         // simple items
00299         col = NTuple::_Item<TYP>::create(ntup, varName,
00300                                          typeid(TYP),
00301                                          min, max, null);
00302 
00303       } else {
00304         // Arrays of fixed size
00305         col = NTuple::_Array<TYP>::create(ntup, varName,
00306                                            typeid(TYP),
00307                                           "", arraySize,
00308                                           min, max, null);
00309       }
00310 
00311     } else {
00312 
00313       if (arraySize == 1) {
00314         // Arrays of variable size
00315         col = NTuple::_Array<TYP>::create(ntup, varName,
00316                                            typeid(TYP),
00317                                           indexName, indexRange,
00318                                           min, max, null);
00319       } else {
00320         // Matrices
00321         col = NTuple::_Matrix<TYP>::create(ntup, varName,
00322                                            typeid(TYP),
00323                                            indexName,
00324                                            indexRange, arraySize,
00325                                            min, max, null);
00326       }
00327 
00328     }
00329 
00330     return col;
00331 
00332   }

bool RootHistCnv::RootCd ( const std::string full  ) 
bool RootHistCnv::RootMkdir ( const std::string full  ) 
std::string RootHistCnv::RootPwd (  ) 
bool RootHistCnv::RootTrimLeadingDir ( std::string full,
std::string  dir 
)

Variable Documentation

std::string RootHistCnv::stat_dir = "/stat" [static]

Definition at line 14 of file PersSvc.cpp.

std::string RootHistCnv::undefFileName = "UndefinedROOTOutputFileName" [static]

Definition at line 15 of file PersSvc.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Wed Feb 9 16:34:21 2011 for Gaudi Framework, version v22r0 by Doxygen version 1.6.2 written by Dimitri van Heesch, © 1997-2004