
| AliXRDPROOFtoolkit() | |
| ~AliXRDPROOFtoolkit() | |
| void | TObject::AbstractMethod(const char* method) const |
| virtual void | TObject::AppendPad(Option_t* option = "") |
| virtual void | TObject::Browse(TBrowser* b) |
| static void | CacheFileList(const char* fileIn, const char* cachePrefix) |
| static Int_t | CheckTreeInFile(const char* fileName, const char* treeName, Int_t debugLevel = 0, const char* branchName = 0) |
| static TClass* | Class() |
| virtual const char* | TObject::ClassName() const |
| virtual void | TObject::Clear(Option_t* = "") |
| virtual TObject* | TObject::Clone(const char* newname = "") const |
| virtual Int_t | TObject::Compare(const TObject* obj) const |
| virtual void | TObject::Copy(TObject& object) const |
| virtual void | TObject::Delete(Option_t* option = "")MENU |
| virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
| virtual void | TObject::Draw(Option_t* option = "") |
| virtual void | TObject::DrawClass() constMENU |
| virtual TObject* | TObject::DrawClone(Option_t* option = "") constMENU |
| virtual void | TObject::Dump() constMENU |
| virtual void | TObject::Error(const char* method, const char* msgfmt) const |
| virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
| virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
| virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
| virtual void | TObject::Fatal(const char* method, const char* msgfmt) const |
| static Bool_t | FilterList(const char* inputList, const char* fileList, Int_t checkLevel) |
| static Bool_t | FilterListZip(const char* inputList, const char* fileList, Int_t checkLevel) |
| virtual TObject* | TObject::FindObject(const char* name) const |
| virtual TObject* | TObject::FindObject(const TObject* obj) const |
| virtual Option_t* | TObject::GetDrawOption() const |
| static Long_t | TObject::GetDtorOnly() |
| virtual const char* | TObject::GetIconName() const |
| virtual const char* | TObject::GetName() const |
| virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
| static Bool_t | TObject::GetObjectStat() |
| virtual Option_t* | TObject::GetOption() const |
| virtual const char* | TObject::GetTitle() const |
| virtual UInt_t | TObject::GetUniqueID() const |
| virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
| virtual ULong_t | TObject::Hash() const |
| virtual void | TObject::Info(const char* method, const char* msgfmt) const |
| virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
| virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
| virtual void | TObject::Inspect() constMENU |
| void | TObject::InvertBit(UInt_t f) |
| virtual TClass* | IsA() const |
| virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
| virtual Bool_t | TObject::IsFolder() const |
| Bool_t | TObject::IsOnHeap() const |
| virtual Bool_t | TObject::IsSortable() const |
| Bool_t | TObject::IsZombie() const |
| static void | JoinTreesIndex(const char* outputFile, const char* outputTree, const char* indexName, const char* inputTrees, Int_t debugLevel) |
| virtual void | TObject::ls(Option_t* option = "") const |
| static TChain* | MakeChain(const char* fileIn, const char* treeName, const char* fName = 0, Int_t maxFiles = -1, Int_t startFile = 0) |
| static TChain* | MakeChainRandom(const char* fileIn, const char* treeName, const char* fName = 0, Int_t maxFiles = -1, Int_t startFile = 0) |
| TDSet* | MakeSet(const char* fileIn, const char* treeName, const char* fName = 0, Int_t maxFiles = -1) |
| TDSet* | MakeSetRandom(const char* fileIn, const char* treeName, const char* fName = 0, Int_t maxFiles = -1) |
| static void | MakeTreeFromList(const char* fout, const char* treeOut, const char* treeIn, const char* flist, Bool_t debug) |
| void | TObject::MayNotUse(const char* method) const |
| virtual Bool_t | TObject::Notify() |
| void | TObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const |
| static void | TObject::operator delete(void* ptr) |
| static void | TObject::operator delete(void* ptr, void* vp) |
| static void | TObject::operator delete[](void* ptr) |
| static void | TObject::operator delete[](void* ptr, void* vp) |
| void* | TObject::operator new(size_t sz) |
| void* | TObject::operator new(size_t sz, void* vp) |
| void* | TObject::operator new[](size_t sz) |
| void* | TObject::operator new[](size_t sz, void* vp) |
| virtual void | TObject::Paint(Option_t* option = "") |
| virtual void | TObject::Pop() |
| virtual void | TObject::Print(Option_t* option = "") const |
| virtual Int_t | TObject::Read(const char* name) |
| virtual void | TObject::RecursiveRemove(TObject* obj) |
| void | TObject::ResetBit(UInt_t f) |
| virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU |
| virtual void | TObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "") |
| void | TObject::SetBit(UInt_t f) |
| void | TObject::SetBit(UInt_t f, Bool_t set) |
| virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
| static void | TObject::SetDtorOnly(void* obj) |
| static void | TObject::SetObjectStat(Bool_t stat) |
| virtual void | TObject::SetUniqueID(UInt_t uid) |
| virtual void | ShowMembers(TMemberInspector&) |
| virtual void | Streamer(TBuffer&) |
| void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
| virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
| Bool_t | TObject::TestBit(UInt_t f) const |
| Int_t | TObject::TestBits(UInt_t f) const |
| virtual void | TObject::UseCurrentStyle() |
| virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
| virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) |
| virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const |
| Bool_t | XRDCopyDir(const char* idir, const char* files, const char* odir, Bool_t zip) |
| virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
| void | TObject::MakeZombie() |
| AliXRDPROOFtoolkit(const AliXRDPROOFtoolkit&) | |
| AliXRDPROOFtoolkit& | operator=(const AliXRDPROOFtoolkit&) |
| enum TObject::EStatusBits { | kCanDelete | |
| kMustCleanup | ||
| kObjInCanvas | ||
| kIsReferenced | ||
| kHasUUID | ||
| kCannotPick | ||
| kNoContextMenu | ||
| kInvalidObject | ||
| }; | ||
| enum TObject::[unnamed] { | kIsOnHeap | |
| kNotDeleted | ||
| kZombie | ||
| kBitMask | ||
| kSingleKey | ||
| kOverwrite | ||
| kWriteDelete | ||
| }; |
| UserGroup_t* | fUserGroup | user group info |
| TString | fUserName | user name |
| Int_t | fVerbose | verbso mode - print command |
| Inheritance Chart: | ||||||||
|
Create a chain of files using the file 'fileIn' as input list
where one line per root file is expected
treeName : Name of the tree
fName : file name inside of a zip file, will add '#fName'
to the file name
maxFiles : maximum number of files in the chain
-1 (default) add all possible files starting from 'startFile'
startFile: position of the first file, starting with 0
Create a TDSet - files are in random order filein - input list text file treename - containg tree maxFiles - maximum number of files included
Create the TDSet out of list filein - input list text file treename - containg tree maxFiles - maximum number of files included
Create a TDSet - files are in random order filein - input list text file treename - containg tree maxFiles - maximum number of files included
Check the tree in file
fileName - the name of the file with tree
treeName - the name of file
debugLevel - 0 check the existance of the file - 1 make loop over entries
branchName - if debugLevel>0 the branch is chcecked
if brnachName =0 the content of full tree is chcecked
return value = 0 - Check things OK
-1 - file not exist or not accesible
-2 - file is zombie
-3 - tree not present
-4 - branch not present
Filter the list
inputList - list of original file names
fileList - list of file to be checked
- 0 - fileName
- 1 - treeName (if * not checked)
- 2 - fileName
checkLevel - 0 - check only existance of the files and tree's +
simple file corruption
> 1 - check the content of the tree -
(can crash as there do not exest exception handling in ROOT)
Output - two streams are created - file with good entries
"%s.Good a,d file with bad entries %s.Bad
EXAMPLE:
AliXRDPROOFtoolkit::FilterList("ppgrid2.txt","AliESDs.root esdTree AliESDfriends.root * Kinematics.root *",1)
Filter the list
inputList - list of original file names
fileList - list of file to be checked
- 0 - fileName
- 1 - treeName (if * not checked)
- 2 - fileName
checkLevel - 0 - check only existance of the files and tree's +
simple file corruption
> 1 - check the content of the tree -
(can crash as there do not exest exception handling in ROOT)
Output - two streams are created - file with good entries
"%s.Good a,d file with bad entries %s.Bad
EXAMPLE:
AliXRDPROOFtoolkit::FilterList("ppgrid2.txt","AliESDs.root esdTree AliESDfriends.root * Kinematics.root *",1)
idir - input directory odir - output directory files - the list of files to be coppied zip - not supported yet Example : idir ="root://gsiaf.gsi.de:1094//sma/sim/v4-05-Rev-03/pp/0000"; odir ="root://lxgrid2.gsi.de:1094//miranov/test/pp/0000"; char *files="AliESDs.root AliESDfriend.root Kinematics.root";
Join together several tree according to the index
Parameters:
Output:
outputFile : name of the output file
outputTree : name of the output Tree
indexName : name of the branch to be used as an index
Input:
inputTrees : decription of the input trees setup
Example usage:
AliXRDPROOFtoolkit::JoinTreesIndex("outAll.root","joinAll","run","1#CPass1#run#tpcQA#TPCCPass1.root+1#VPass1#run#tpcQA#TPCVPass1.root+1#Pass1#run#tpcQA#TPCPass1.root+0#DAQ#run#joinTree#fproductionJoin.root+0#C#run#dcs#OCDBscan.root+0#CE#run#Fits#CEtrend.root");
==>
Combine information form the Cpass1,VPass, and Pass1QA, calibration tree, DAQ information, trigger information
Make a File "outAll.root", with tree "joinAll", index of tree with name "run"
//
// Input tree configuration string:
//
const char *inputTrees="1#CPass1#run#tpcQA#TPCCPass1.root+1#VPass1#run#tpcQA#TPCVPass1.root+1#Pass1#run#tpcQA#TPCPass1.root+0#DAQ#run#joinTree#/home/miranov/test/dbQueries/fproductionJoin.root+0#C#run#dcs#OCDBscan.root+0#CE#run#Fits#CEtrend.root"
Describe 6 trees to be merged (string separated be +):
TObjArray *arrayInput = TString(inputTrees).Tokenize("+");
TObjString = 1#CPass1#run#tpcQA#TPCCPass1.root
TObjString = 1#VPass1#run#tpcQA#TPCVPass1.root
TObjString = 1#Pass1#run#tpcQA#TPCPass1.root
TObjString = 0#DAQ#run#joinTree#/home/miranov/test/dbQueries/fproductionJoin.root
TObjString = 0#C#run#dcs#OCDBscan.root
TObjString = 0#CE#run#Fits#CEtrend.root
//
Each tree is characterize by 5 parameters - separate by #
description="1#CPass1#run#tpcQA#TPCCPass1.root"
TString(description)->Tokenize("#").Print()
Collection name='TObjArray', class='TObjArray', size=16
TObjString = 1 ==> (0/1) index is used
TObjString = CPass1 ==> name of output branch in output tree
TObjString = run ==> name of the index
TObjString = tpcQA ==> name of the input tree in the input file
TObjString = TPCCPass1.root ==> name of the input file
cache the list of file locally, cache valeus are stored in the location
specified by optional argumen prefix
2 new files are created
<fileIn>.cache - file with the location of cahe files
<fileIn>.cacheLog - log file +list of files which can not be cached
fileIn = "TPCCPass1.list";
cachePrefix = "";