#include <TTreeProxyGenerator.h>
Definition at line 34 of file TTreeProxyGenerator.h.
Definition at line 37 of file TTreeProxyGenerator.h.
Definition at line 38 of file TTreeProxyGenerator.h.
Definition at line 37 of file TTreeProxyGenerator.h.
Definition at line 38 of file TTreeProxyGenerator.h.
ROOT::TTreeProxyGenerator::TTreeProxyGenerator | ( | TTree * | tree, | |
const char * | script, | |||
const char * | fileprefix, | |||
const char * | option, | |||
UInt_t | maxUnrolling | |||
) |
Definition at line 207 of file TTreeProxyGenerator.cxx.
References AnalyzeTree(), fTree, ParseOptions(), and WriteProxy().
ROOT::TTreeProxyGenerator::TTreeProxyGenerator | ( | TTree * | tree, | |
const char * | script, | |||
const char * | cutscript, | |||
const char * | fileprefix, | |||
const char * | option, | |||
UInt_t | maxUnrolling | |||
) |
Definition at line 231 of file TTreeProxyGenerator.cxx.
References AnalyzeTree(), fTree, ParseOptions(), and WriteProxy().
ROOT::TTreeProxyGenerator::TTreeProxyGenerator | ( | TTree * | tree, | |
const char * | script, | |||
const char * | fileprefix, | |||
const char * | option, | |||
UInt_t | maxUnrolling | |||
) |
ROOT::TTreeProxyGenerator::TTreeProxyGenerator | ( | TTree * | tree, | |
const char * | script, | |||
const char * | cutscript, | |||
const char * | fileprefix, | |||
const char * | option, | |||
UInt_t | maxUnrolling | |||
) |
TBranchProxyClassDescriptor * ROOT::TTreeProxyGenerator::AddClass | ( | TBranchProxyClassDescriptor * | desc | ) |
Definition at line 263 of file TTreeProxyGenerator.cxx.
References TList::Add(), fListOfClasses, TNamed::GetName(), ROOT::TBranchProxyClassDescriptor::GetRawSymbol(), ROOT::TBranchProxyClassDescriptor::IsEquivalent(), and TNamed::SetName().
Referenced by AnalyzeBranches(), AnalyzeElement(), AnalyzeOldBranch(), and AnalyzeTree().
void ROOT::TTreeProxyGenerator::AddDescriptor | ( | TBranchProxyDescriptor * | desc | ) |
Definition at line 478 of file TTreeProxyGenerator.cxx.
References TList::Add(), fCurrentListOfTopProxies, fMaxDatamemberType, TNamed::GetName(), ROOT::TBranchProxyDescriptor::GetTypeName(), len, and Warning().
Referenced by AnalyzeBranches(), AnalyzeOldBranch(), AnalyzeOldLeaf(), and AnalyzeTree().
void ROOT::TTreeProxyGenerator::AddForward | ( | TClass * | cl | ) |
Definition at line 360 of file TTreeProxyGenerator.cxx.
Referenced by AnalyzeBranches(), AnalyzeElement(), and AnalyzeTree().
void ROOT::TTreeProxyGenerator::AddForward | ( | const char * | classname | ) |
Definition at line 340 of file TTreeProxyGenerator.cxx.
References TList::Add(), TList::FindObject(), fListOfForwards, Form(), gDebug, and Warning().
void ROOT::TTreeProxyGenerator::AddFriend | ( | TFriendProxyDescriptor * | desc | ) |
Definition at line 292 of file TTreeProxyGenerator.cxx.
References TList::Add(), fListOfFriends, TNamed::GetName(), TNamed::GetTitle(), ROOT::TFriendProxyDescriptor::IsEquivalent(), ROOT::TFriendProxyDescriptor::SetDuplicate(), TNamed::SetName(), and TNamed::SetTitle().
Referenced by AnalyzeTree().
void ROOT::TTreeProxyGenerator::AddHeader | ( | TClass * | cl | ) |
Definition at line 367 of file TTreeProxyGenerator.cxx.
References TList::Add(), TString::Append(), TString::BeginsWith(), TString::Data(), TList::FindObject(), fListOfHeaders, Form(), TClass::GetClass(), TClass::GetCollectionProxy(), TClass::GetDeclFileName(), TVirtualCollectionProxy::GetValueClass(), i, TClassEdit::IsSTLCont(), TClassEdit::kDeque, TClassEdit::kList, TClassEdit::kMap, TClassEdit::kMultiMap, TClassEdit::kMultiSet, TClassEdit::kSet, TClassEdit::kVector, TString::Length(), n, TString::Tokenize(), and what.
Referenced by AddHeader(), AnalyzeBranches(), AnalyzeElement(), and AnalyzeTree().
void ROOT::TTreeProxyGenerator::AddHeader | ( | const char * | classname | ) |
Definition at line 456 of file TTreeProxyGenerator.cxx.
References AddHeader(), and TClass::GetClass().
void ROOT::TTreeProxyGenerator::AddPragma | ( | const char * | pragma_text | ) |
Definition at line 463 of file TTreeProxyGenerator.cxx.
References TList::Add(), fListOfPragmas, i, and n.
Referenced by AnalyzeBranches(), AnalyzeTree(), and ROOT::R__AddPragmaForClass().
Definition at line 255 of file TTreeProxyGenerator.cxx.
References TClass::kIsEmulation.
Referenced by AnalyzeBranches(), and AnalyzeTree().
void ROOT::TTreeProxyGenerator::ParseOptions | ( | ) |
Definition at line 1589 of file TTreeProxyGenerator.cxx.
References TString::Contains(), fOptions, fOptionStr, kNoHist, and TString::ReplaceAll().
Referenced by TTreeProxyGenerator().
UInt_t ROOT::TTreeProxyGenerator::AnalyzeBranches | ( | UInt_t | level, | |
TBranchProxyClassDescriptor * | topdesc, | |||
TBranchElement * | branch, | |||
TVirtualStreamerInfo * | info = 0 | |||
) |
Definition at line 581 of file TTreeProxyGenerator.cxx.
References TBranchElement::GetInfo(), TBranch::GetListOfBranches(), and info.
Referenced by AnalyzeBranches(), and AnalyzeTree().
UInt_t ROOT::TTreeProxyGenerator::AnalyzeBranches | ( | UInt_t | level, | |
TBranchProxyClassDescriptor * | topdesc, | |||
TIter & | branches, | |||
TVirtualStreamerInfo * | info | |||
) |
Definition at line 594 of file TTreeProxyGenerator.cxx.
References AddClass(), AddDescriptor(), ROOT::TBranchProxyClassDescriptor::AddDescriptor(), AddForward(), AddHeader(), AddPragma(), AnalyzeBranches(), AnalyzeElement(), TObjArray::At(), TString::BeginsWith(), xmlio::Class, TString::Data(), ROOT::Error(), Form(), ROOT::GetArrayType(), ROOT::GetBaseClass(), TBranchElement::GetBranchCount(), ROOT::TBranchProxyClassDescriptor::GetBranchName(), TClass::GetClass(), TVirtualStreamerInfo::GetClass(), TBranch::GetClassName(), TClass::GetCollectionProxy(), ROOT::GetContainedClassName(), ROOT::TBranchProxyClassDescriptor::GetContainerName(), TVirtualStreamerInfo::GetElements(), TObjArray::GetEntries(), TBranchElement::GetInfo(), TBranch::GetListOfBranches(), TBranch::GetListOfLeaves(), TBranch::GetMother(), TNamed::GetName(), TBranch::GetSplitLevel(), ROOT::GetStreamerInfo(), TClass::GetStreamerInfo(), TBranch::GetSubBranch(), ROOT::TBranchProxyClassDescriptor::GetSubBranchPrefix(), TBranchElement::GetType(), TVirtualCollectionProxy::GetValueClass(), TString::Index(), info, ROOT::TBranchProxyClassDescriptor::IsClones(), TClass::IsLoaded(), ROOT::TBranchProxyClassDescriptor::IsSTL(), TVirtualStreamerInfo::kAny, TVirtualStreamerInfo::kAnyp, TVirtualStreamerInfo::kAnyP, TVirtualStreamerInfo::kBase, TVirtualStreamerInfo::kBits, TVirtualStreamerInfo::kBool, TVirtualStreamerInfo::kChar, TVirtualStreamerInfo::kCharStar, kClones, ROOT::TBranchProxyClassDescriptor::kClones, TVirtualStreamerInfo::kCounter, TVirtualStreamerInfo::kDouble, TVirtualStreamerInfo::kDouble32, kFALSE, TVirtualStreamerInfo::kFloat, TVirtualStreamerInfo::kFloat16, TVirtualStreamerInfo::kInt, TVirtualStreamerInfo::kLong, TVirtualStreamerInfo::kLong64, kNone, TVirtualStreamerInfo::kObject, TVirtualStreamerInfo::kObjectP, TVirtualStreamerInfo::kObjectp, TVirtualStreamerInfo::kOffsetL, TVirtualStreamerInfo::kOffsetP, ROOT::TBranchProxyClassDescriptor::kOut, TVirtualStreamerInfo::kShort, kSTL, ROOT::TBranchProxyClassDescriptor::kSTL, TVirtualStreamerInfo::kSTL, TVirtualStreamerInfo::kTNamed, TVirtualStreamerInfo::kTObject, kTRUE, TVirtualStreamerInfo::kTString, TVirtualStreamerInfo::kUChar, TVirtualStreamerInfo::kUInt, TVirtualStreamerInfo::kULong, TVirtualStreamerInfo::kULong64, TVirtualStreamerInfo::kUShort, TString::Last(), TString::Length(), NeedToEmulate(), TIter::Next(), prefix, R__ASSERT, and TString::Remove().
UInt_t ROOT::TTreeProxyGenerator::AnalyzeOldBranch | ( | TBranch * | branch, | |
UInt_t | level, | |||
TBranchProxyClassDescriptor * | desc | |||
) |
Definition at line 1142 of file TTreeProxyGenerator.cxx.
References AddClass(), AddDescriptor(), ROOT::TBranchProxyClassDescriptor::AddDescriptor(), AnalyzeOldLeaf(), TString::Data(), TObjArray::GetEntriesFast(), TBranch::GetListOfLeaves(), TNamed::GetName(), l, prefix, type, and TObjArray::UncheckedAt().
Referenced by AnalyzeTree().
UInt_t ROOT::TTreeProxyGenerator::AnalyzeOldLeaf | ( | TLeaf * | leaf, | |
UInt_t | level, | |||
TBranchProxyClassDescriptor * | topdesc | |||
) |
Definition at line 1021 of file TTreeProxyGenerator.cxx.
References AddDescriptor(), ROOT::TBranchProxyClassDescriptor::AddDescriptor(), TString::Append(), xmlio::Class, TString::Data(), ROOT::Error(), TLeaf::GetBranch(), TLeaf::GetLeafCount(), TLeaf::GetLen(), TLeaf::GetMaximum(), TNamed::GetName(), TNamed::GetTitle(), TLeaf::GetTypeName(), TString::Index(), TString::Last(), len, TString::Length(), TString::Remove(), true, and type.
Referenced by AnalyzeOldBranch().
void ROOT::TTreeProxyGenerator::AnalyzeElement | ( | TBranch * | branch, | |
TStreamerElement * | element, | |||
UInt_t | level, | |||
TBranchProxyClassDescriptor * | desc, | |||
const char * | path | |||
) |
Definition at line 1351 of file TTreeProxyGenerator.cxx.
References AddClass(), ROOT::TBranchProxyClassDescriptor::AddDescriptor(), AddForward(), AddHeader(), TString::Append(), TClass::CanSplit(), xmlio::Class, TString::Data(), ROOT::Error(), fMaxUnrolling, Form(), ROOT::GetArrayType(), TClass::GetClass(), TClonesArray::GetClass(), TStreamerElement::GetClassPointer(), TClass::GetCollectionProxy(), ROOT::TBranchProxyClassDescriptor::GetContainerName(), TBranch::GetEntry(), TTreeFormula::GetLeaf(), TTreeFormula::GetLeafInfo(), TNamed::GetName(), TTree::GetReadEntry(), TClass::GetStreamerInfo(), TBranch::GetTree(), TStreamerElement::GetType(), TVirtualCollectionProxy::GetValueClass(), i, info, ROOT::TBranchProxyClassDescriptor::IsClones(), ROOT::TBranchProxyClassDescriptor::IsSTL(), TVirtualStreamerInfo::kAny, TVirtualStreamerInfo::kAnyp, TVirtualStreamerInfo::kAnyP, TVirtualStreamerInfo::kBase, TVirtualStreamerInfo::kBits, TVirtualStreamerInfo::kBool, TVirtualStreamerInfo::kChar, TVirtualStreamerInfo::kCharStar, kClones, ROOT::TBranchProxyClassDescriptor::kClones, TVirtualStreamerInfo::kCounter, TVirtualStreamerInfo::kDouble, TVirtualStreamerInfo::kDouble32, TVirtualStreamerInfo::kFloat, TVirtualStreamerInfo::kFloat16, TVirtualStreamerInfo::kInt, TVirtualStreamerInfo::kLong, TVirtualStreamerInfo::kLong64, kNone, TVirtualStreamerInfo::kObject, TVirtualStreamerInfo::kObjectP, TVirtualStreamerInfo::kObjectp, TVirtualStreamerInfo::kOffsetL, TVirtualStreamerInfo::kOffsetP, ROOT::TBranchProxyClassDescriptor::kOut, TVirtualStreamerInfo::kShort, kSTL, ROOT::TBranchProxyClassDescriptor::kSTL, TVirtualStreamerInfo::kSTL, TVirtualStreamerInfo::kTNamed, TVirtualStreamerInfo::kTObject, TVirtualStreamerInfo::kTString, TVirtualStreamerInfo::kUChar, TVirtualStreamerInfo::kUInt, TVirtualStreamerInfo::kULong, TVirtualStreamerInfo::kULong64, TVirtualStreamerInfo::kUShort, TString::Length(), Long64_t, R__ASSERT, and type.
Referenced by AnalyzeBranches(), and AnalyzeTree().
void ROOT::TTreeProxyGenerator::AnalyzeTree | ( | TTree * | tree | ) |
Definition at line 1199 of file TTreeProxyGenerator.cxx.
References AddClass(), AddDescriptor(), AddForward(), AddFriend(), AddHeader(), AddPragma(), AnalyzeBranches(), AnalyzeElement(), AnalyzeOldBranch(), xmlio::Class, classname, ROOT::Error(), fCurrentListOfTopProxies, fListOfTopProxies, Form(), TClass::GetClass(), TClass::GetCollectionProxy(), TVirtualStreamerInfo::GetElements(), TTree::GetListOfBranches(), TBranch::GetListOfBranches(), TTree::GetListOfFriends(), ROOT::TFriendProxyDescriptor::GetListOfTopProxies(), TNamed::GetName(), ROOT::GetStreamerInfo(), TVirtualCollectionProxy::GetValueClass(), info, TClass::IsLoaded(), ROOT::TBranchProxyClassDescriptor::kClones, ROOT::TBranchProxyClassDescriptor::kOut, ROOT::TBranchProxyClassDescriptor::kSTL, NeedToEmulate(), ptr, t, and type.
Referenced by TTreeProxyGenerator().
void ROOT::TTreeProxyGenerator::WriteProxy | ( | ) |
Definition at line 1640 of file TTreeProxyGenerator.cxx.
References TList::Add(), TString::Append(), AreDifferent(), TDatime::AsString(), TSystem::BaseName(), xmlio::Class, classname, TString::Data(), data, TSystem::DirName(), ROOT::Error(), fclose(), fCutScript, fHeaderFileName, fListOfClasses, fListOfForwards, fListOfFriends, fListOfHeaders, fListOfPragmas, fListOfTopProxies, fMaxDatamemberType, fopen, fOptions, Form(), fPrefix, fprintf(), fScript, fTree, TTree::GetDirectory(), TDirectory::GetFile(), TSystem::GetIncludePath(), ROOT::TFriendProxyDescriptor::GetIndex(), TNamed::GetName(), TSystem::GetPathInfo(), TObject::GetTitle(), TNamed::GetTitle(), TROOT::GetVersion(), gROOT, gSystem, i, TString::Index(), TObject::InheritsFrom(), ROOT::TFriendProxyDescriptor::IsDuplicate(), kFALSE, kNoHist, kNPOS, kTRUE, TString::Last(), TSeqCollection::LastIndex(), TString::Length(), name, ROOT::TFriendProxyDescriptor::OutputClassDecl(), ROOT::TFriendProxyDescriptor::OutputDecl(), ROOT::TBranchProxyClassDescriptor::OutputDecl(), TString::Prepend(), ROOT::R__AddPragmaForClass(), TSystem::Rename(), TString::Replace(), TString::ReplaceAll(), TObjString::String(), TSystem::Unlink(), and TSystem::Which().
Referenced by TTreeProxyGenerator().
const char* ROOT::TTreeProxyGenerator::GetFileName | ( | ) | [inline] |
TBranchProxyClassDescriptor* ROOT::TTreeProxyGenerator::AddClass | ( | TBranchProxyClassDescriptor * | desc | ) |
void ROOT::TTreeProxyGenerator::AddDescriptor | ( | TBranchProxyDescriptor * | desc | ) |
void ROOT::TTreeProxyGenerator::AddForward | ( | TClass * | cl | ) |
void ROOT::TTreeProxyGenerator::AddForward | ( | const char * | classname | ) |
void ROOT::TTreeProxyGenerator::AddFriend | ( | TFriendProxyDescriptor * | desc | ) |
void ROOT::TTreeProxyGenerator::AddHeader | ( | TClass * | cl | ) |
void ROOT::TTreeProxyGenerator::AddHeader | ( | const char * | classname | ) |
void ROOT::TTreeProxyGenerator::AddPragma | ( | const char * | pragma_text | ) |
void ROOT::TTreeProxyGenerator::ParseOptions | ( | ) |
UInt_t ROOT::TTreeProxyGenerator::AnalyzeBranches | ( | UInt_t | level, | |
TBranchProxyClassDescriptor * | topdesc, | |||
TBranchElement * | branch, | |||
TVirtualStreamerInfo * | info = 0 | |||
) |
UInt_t ROOT::TTreeProxyGenerator::AnalyzeBranches | ( | UInt_t | level, | |
TBranchProxyClassDescriptor * | topdesc, | |||
TIter & | branches, | |||
TVirtualStreamerInfo * | info | |||
) |
UInt_t ROOT::TTreeProxyGenerator::AnalyzeOldBranch | ( | TBranch * | branch, | |
UInt_t | level, | |||
TBranchProxyClassDescriptor * | desc | |||
) |
UInt_t ROOT::TTreeProxyGenerator::AnalyzeOldLeaf | ( | TLeaf * | leaf, | |
UInt_t | level, | |||
TBranchProxyClassDescriptor * | topdesc | |||
) |
void ROOT::TTreeProxyGenerator::AnalyzeElement | ( | TBranch * | branch, | |
TStreamerElement * | element, | |||
UInt_t | level, | |||
TBranchProxyClassDescriptor * | desc, | |||
const char * | path | |||
) |
void ROOT::TTreeProxyGenerator::AnalyzeTree | ( | TTree * | tree | ) |
void ROOT::TTreeProxyGenerator::WriteProxy | ( | ) |
const char* ROOT::TTreeProxyGenerator::GetFileName | ( | ) | [inline] |
Definition at line 39 of file TTreeProxyGenerator.h.
Referenced by AddDescriptor(), and WriteProxy().
Definition at line 45 of file TTreeProxyGenerator.h.
Referenced by ParseOptions(), and WriteProxy().
Definition at line 47 of file TTreeProxyGenerator.h.
Referenced by TTreeProxyGenerator(), and WriteProxy().
Definition at line 53 of file TTreeProxyGenerator.h.
Referenced by AddDescriptor(), and AnalyzeTree().
Definition at line 47 of file TTreeProxyGenerator.h.
Definition at line 53 of file TTreeProxyGenerator.h.