CbmRoot
CbmHaddBase Class Reference

#include <CbmHaddBase.h>

Inheritance diagram for CbmHaddBase:
[legend]
Collaboration diagram for CbmHaddBase:
[legend]

Static Public Member Functions

static void AddFilesInDir (const std::string &dir, const std::string &fileTemplate, const std::string &addString, Int_t nofFiles, Int_t fileSizeLimit=50000, Int_t nofEvents=1000)
 
static vector< string > GetFilesByPattern (const string &pattern)
 
static vector< string > GetGoodFiles (const string &pattern, Int_t fileSizeLimit, Int_t nofEvents)
 

Private Member Functions

 ClassDef (CbmHaddBase, 1)
 

Static Private Member Functions

static TFile * CreateAndMergeTempTargetFile (const std::string &dir, const std::string &addString, Int_t targetFileNum, TList *fileList)
 
static void CloseFilesFromList (TList *fileList)
 
static Bool_t CheckFileSize (TFile *file, Int_t fileSizeLimit=50000)
 
static Bool_t CheckFile (TFile *file, Int_t fileSizeLimit=50000, Int_t nofEvents=1000)
 
static void MergeRootfile (TDirectory *target, TList *sourcelist)
 

Detailed Description

Definition at line 22 of file CbmHaddBase.h.

Member Function Documentation

◆ AddFilesInDir()

void CbmHaddBase::AddFilesInDir ( const std::string &  dir,
const std::string &  fileTemplate,
const std::string &  addString,
Int_t  nofFiles,
Int_t  fileSizeLimit = 50000,
Int_t  nofEvents = 1000 
)
static

Definition at line 74 of file CbmHaddBase.cxx.

References i.

◆ CheckFile()

Bool_t CbmHaddBase::CheckFile ( TFile *  file,
Int_t  fileSizeLimit = 50000,
Int_t  nofEvents = 1000 
)
staticprivate

Definition at line 63 of file CbmHaddBase.cxx.

◆ CheckFileSize()

Bool_t CbmHaddBase::CheckFileSize ( TFile *  file,
Int_t  fileSizeLimit = 50000 
)
staticprivate

Definition at line 54 of file CbmHaddBase.cxx.

◆ ClassDef()

CbmHaddBase::ClassDef ( CbmHaddBase  ,
 
)
private

◆ CloseFilesFromList()

void CbmHaddBase::CloseFilesFromList ( TList *  fileList)
staticprivate

Definition at line 163 of file CbmHaddBase.cxx.

References f.

◆ CreateAndMergeTempTargetFile()

TFile * CbmHaddBase::CreateAndMergeTempTargetFile ( const std::string &  dir,
const std::string &  addString,
Int_t  targetFileNum,
TList *  fileList 
)
staticprivate

Definition at line 147 of file CbmHaddBase.cxx.

◆ GetFilesByPattern()

vector< string > CbmHaddBase::GetFilesByPattern ( const string &  pattern)
static

Definition at line 22 of file CbmHaddBase.cxx.

References i.

◆ GetGoodFiles()

vector< string > CbmHaddBase::GetGoodFiles ( const string &  pattern,
Int_t  fileSizeLimit,
Int_t  nofEvents 
)
static

Definition at line 34 of file CbmHaddBase.cxx.

References i.

◆ MergeRootfile()

void CbmHaddBase::MergeRootfile ( TDirectory *  target,
TList *  sourcelist 
)
staticprivate

!if the object is a tree, it is stored in globChain...

Definition at line 175 of file CbmHaddBase.cxx.


The documentation for this class was generated from the following files: