Logo ROOT  
Reference Guide
ROOT::Internal::TTreeProxyGenerator Class Reference

Definition at line 28 of file TTreeProxyGenerator.h.

Public Types

enum  EContainer { kNone , kClones , kSTL }
 
enum  EOption { kNoOption , kNoHist }
 

Public Member Functions

 TTreeProxyGenerator (TTree *tree, const char *script, const char *cutscript, const char *fileprefix, const char *option, UInt_t maxUnrolling)
 
 TTreeProxyGenerator (TTree *tree, const char *script, const char *fileprefix, const char *option, UInt_t maxUnrolling)
 
TBranchProxyClassDescriptorAddClass (TBranchProxyClassDescriptor *desc)
 
void AddDescriptor (TBranchProxyDescriptor *desc)
 
void AddForward (const char *classname)
 
void AddForward (TClass *cl)
 
void AddFriend (TFriendProxyDescriptor *desc)
 
void AddMissingClassAsEnum (const char *clname, Bool_t isscope)
 
void AddPragma (const char *pragma_text)
 
UInt_t AnalyzeBranches (UInt_t level, TBranchProxyClassDescriptor *topdesc, TBranchElement *branch, TVirtualStreamerInfo *info=0)
 
UInt_t AnalyzeBranches (UInt_t level, TBranchProxyClassDescriptor *topdesc, TIter &branches, TVirtualStreamerInfo *info)
 
void AnalyzeElement (TBranch *branch, TStreamerElement *element, UInt_t level, TBranchProxyClassDescriptor *desc, const char *path)
 
UInt_t AnalyzeOldBranch (TBranch *branch, UInt_t level, TBranchProxyClassDescriptor *desc)
 
UInt_t AnalyzeOldLeaf (TLeaf *leaf, UInt_t level, TBranchProxyClassDescriptor *topdesc)
 
void AnalyzeTree (TTree *tree)
 
void CheckForMissingClass (const char *clname)
 
const char * GetFileName ()
 
Bool_t NeedToEmulate (TClass *cl, UInt_t level)
 
void ParseOptions ()
 Parse the options string. More...
 
void WriteProxy ()
 Check whether the file exist and do something useful if it does. More...
 
- Public Member Functions inherited from ROOT::Internal::TTreeGeneratorBase
 TTreeGeneratorBase (TTree *tree, const char *option)
 Constructor. More...
 
void AddHeader (const char *classname)
 Add a header inclusion request. More...
 
void AddHeader (TClass *cl)
 Add a header inclusion request. More...
 
TVirtualStreamerInfoGetBaseClass (TStreamerElement *element)
 Check if element is a base class and if yes, return the base class. More...
 
TString GetContainedClassName (TBranchElement *branch, TStreamerElement *element, Bool_t ispointer)
 Get name of class inside a container. More...
 
TVirtualStreamerInfoGetStreamerInfo (TBranch *branch, TIter current, TClass *cl)
 Return the correct TStreamerInfo of class 'cl' in the list of branches (current) [Assuming these branches correspond to a flattened version of the class. More...
 

Public Attributes

TListfCurrentListOfTopProxies
 
TString fCutScript
 
TString fHeaderFileName
 
TList fListOfClasses
 
TList fListOfForwards
 
TList fListOfFriends
 
TList fListOfPragmas
 
TList fListOfTopProxies
 
UInt_t fMaxDatamemberType
 
UInt_t fMaxUnrolling
 
UInt_t fOptions
 
TString fPrefix
 
TString fScript
 
- Public Attributes inherited from ROOT::Internal::TTreeGeneratorBase
TList fListOfHeaders
 
TString fOptionStr
 
TTreefTree
 

#include <TTreeProxyGenerator.h>

Inheritance diagram for ROOT::Internal::TTreeProxyGenerator:
[legend]

Member Enumeration Documentation

◆ EContainer

Enumerator
kNone 
kClones 
kSTL 

Definition at line 31 of file TTreeProxyGenerator.h.

◆ EOption

Enumerator
kNoOption 
kNoHist 

Definition at line 32 of file TTreeProxyGenerator.h.

Constructor & Destructor Documentation

◆ TTreeProxyGenerator() [1/2]

ROOT::Internal::TTreeProxyGenerator::TTreeProxyGenerator ( TTree tree,
const char *  script,
const char *  fileprefix,
const char *  option,
UInt_t  maxUnrolling 
)

Definition at line 209 of file TTreeProxyGenerator.cxx.

◆ TTreeProxyGenerator() [2/2]

ROOT::Internal::TTreeProxyGenerator::TTreeProxyGenerator ( TTree tree,
const char *  script,
const char *  cutscript,
const char *  fileprefix,
const char *  option,
UInt_t  maxUnrolling 
)

Definition at line 232 of file TTreeProxyGenerator.cxx.

Member Function Documentation

◆ AddClass()

TBranchProxyClassDescriptor * ROOT::Internal::TTreeProxyGenerator::AddClass ( TBranchProxyClassDescriptor desc)

Definition at line 263 of file TTreeProxyGenerator.cxx.

◆ AddDescriptor()

void ROOT::Internal::TTreeProxyGenerator::AddDescriptor ( TBranchProxyDescriptor desc)

Definition at line 382 of file TTreeProxyGenerator.cxx.

◆ AddForward() [1/2]

void ROOT::Internal::TTreeProxyGenerator::AddForward ( const char *  classname)

Definition at line 340 of file TTreeProxyGenerator.cxx.

◆ AddForward() [2/2]

void ROOT::Internal::TTreeProxyGenerator::AddForward ( TClass cl)

Definition at line 360 of file TTreeProxyGenerator.cxx.

◆ AddFriend()

void ROOT::Internal::TTreeProxyGenerator::AddFriend ( TFriendProxyDescriptor desc)

Definition at line 292 of file TTreeProxyGenerator.cxx.

◆ AddMissingClassAsEnum()

void ROOT::Internal::TTreeProxyGenerator::AddMissingClassAsEnum ( const char *  clname,
Bool_t  isscope 
)

Definition at line 401 of file TTreeProxyGenerator.cxx.

◆ AddPragma()

void ROOT::Internal::TTreeProxyGenerator::AddPragma ( const char *  pragma_text)

Definition at line 367 of file TTreeProxyGenerator.cxx.

◆ AnalyzeBranches() [1/2]

UInt_t ROOT::Internal::TTreeProxyGenerator::AnalyzeBranches ( UInt_t  level,
TBranchProxyClassDescriptor topdesc,
TBranchElement branch,
TVirtualStreamerInfo info = 0 
)

Definition at line 469 of file TTreeProxyGenerator.cxx.

◆ AnalyzeBranches() [2/2]

UInt_t ROOT::Internal::TTreeProxyGenerator::AnalyzeBranches ( UInt_t  level,
TBranchProxyClassDescriptor topdesc,
TIter branches,
TVirtualStreamerInfo info 
)

Definition at line 482 of file TTreeProxyGenerator.cxx.

◆ AnalyzeElement()

void ROOT::Internal::TTreeProxyGenerator::AnalyzeElement ( TBranch branch,
TStreamerElement element,
UInt_t  level,
TBranchProxyClassDescriptor desc,
const char *  path 
)

Definition at line 1252 of file TTreeProxyGenerator.cxx.

◆ AnalyzeOldBranch()

UInt_t ROOT::Internal::TTreeProxyGenerator::AnalyzeOldBranch ( TBranch branch,
UInt_t  level,
TBranchProxyClassDescriptor desc 
)

Definition at line 1034 of file TTreeProxyGenerator.cxx.

◆ AnalyzeOldLeaf()

UInt_t ROOT::Internal::TTreeProxyGenerator::AnalyzeOldLeaf ( TLeaf leaf,
UInt_t  level,
TBranchProxyClassDescriptor topdesc 
)

Definition at line 910 of file TTreeProxyGenerator.cxx.

◆ AnalyzeTree()

void ROOT::Internal::TTreeProxyGenerator::AnalyzeTree ( TTree tree)

Definition at line 1091 of file TTreeProxyGenerator.cxx.

◆ CheckForMissingClass()

void ROOT::Internal::TTreeProxyGenerator::CheckForMissingClass ( const char *  clname)

Definition at line 425 of file TTreeProxyGenerator.cxx.

◆ GetFileName()

const char * ROOT::Internal::TTreeProxyGenerator::GetFileName ( )
inline

Definition at line 72 of file TTreeProxyGenerator.h.

◆ NeedToEmulate()

Bool_t ROOT::Internal::TTreeProxyGenerator::NeedToEmulate ( TClass cl,
UInt_t  level 
)

Definition at line 255 of file TTreeProxyGenerator.cxx.

◆ ParseOptions()

void ROOT::Internal::TTreeProxyGenerator::ParseOptions ( )

Parse the options string.

Definition at line 1530 of file TTreeProxyGenerator.cxx.

◆ WriteProxy()

void ROOT::Internal::TTreeProxyGenerator::WriteProxy ( )

Check whether the file exist and do something useful if it does.

Definition at line 1581 of file TTreeProxyGenerator.cxx.

Member Data Documentation

◆ fCurrentListOfTopProxies

TList* ROOT::Internal::TTreeProxyGenerator::fCurrentListOfTopProxies

Definition at line 44 of file TTreeProxyGenerator.h.

◆ fCutScript

TString ROOT::Internal::TTreeProxyGenerator::fCutScript

Definition at line 35 of file TTreeProxyGenerator.h.

◆ fHeaderFileName

TString ROOT::Internal::TTreeProxyGenerator::fHeaderFileName

Definition at line 37 of file TTreeProxyGenerator.h.

◆ fListOfClasses

TList ROOT::Internal::TTreeProxyGenerator::fListOfClasses

Definition at line 40 of file TTreeProxyGenerator.h.

◆ fListOfForwards

TList ROOT::Internal::TTreeProxyGenerator::fListOfForwards

Definition at line 45 of file TTreeProxyGenerator.h.

◆ fListOfFriends

TList ROOT::Internal::TTreeProxyGenerator::fListOfFriends

Definition at line 41 of file TTreeProxyGenerator.h.

◆ fListOfPragmas

TList ROOT::Internal::TTreeProxyGenerator::fListOfPragmas

Definition at line 42 of file TTreeProxyGenerator.h.

◆ fListOfTopProxies

TList ROOT::Internal::TTreeProxyGenerator::fListOfTopProxies

Definition at line 43 of file TTreeProxyGenerator.h.

◆ fMaxDatamemberType

UInt_t ROOT::Internal::TTreeProxyGenerator::fMaxDatamemberType

Definition at line 33 of file TTreeProxyGenerator.h.

◆ fMaxUnrolling

UInt_t ROOT::Internal::TTreeProxyGenerator::fMaxUnrolling

Definition at line 39 of file TTreeProxyGenerator.h.

◆ fOptions

UInt_t ROOT::Internal::TTreeProxyGenerator::fOptions

Definition at line 38 of file TTreeProxyGenerator.h.

◆ fPrefix

TString ROOT::Internal::TTreeProxyGenerator::fPrefix

Definition at line 36 of file TTreeProxyGenerator.h.

◆ fScript

TString ROOT::Internal::TTreeProxyGenerator::fScript

Definition at line 34 of file TTreeProxyGenerator.h.

Libraries for ROOT::Internal::TTreeProxyGenerator:
[legend]

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