/usr/include/root/TTreeProxyGenerator.h is in libroot-tree-treeplayer-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | // @(#)root/treeplayer:$Id$
// Author: Philippe Canal 01/06/2004
/*************************************************************************
* Copyright (C) 1995-2004, Rene Brun and Fons Rademakers and al. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TTreeProxyGenerator
#define ROOT_TTreeProxyGenerator
#ifndef ROOT_Tlist
#include "TList.h"
#endif
#ifndef ROOT_TString
#include "TString.h"
#endif
class TBranch;
class TBranchElement;
class TLeaf;
class TTree;
class TStreamerElement;
namespace ROOT {
class TBranchProxy;
class TFriendProxyDescriptor;
class TBranchProxyDescriptor;
class TBranchProxyClassDescriptor;
class TTreeProxyGenerator
{
public:
enum EContainer { kNone, kClones, kSTL };
enum EOption { kNoOption, kNoHist };
UInt_t fMaxDatamemberType;
TString fScript;
TString fCutScript;
TString fPrefix;
TString fHeaderFileName;
TString fOptionStr;
UInt_t fOptions;
UInt_t fMaxUnrolling;
TTree *fTree;
TList fListOfHeaders;
TList fListOfClasses;
TList fListOfFriends;
TList fListOfPragmas;
TList fListOfTopProxies;
TList *fCurrentListOfTopProxies; //!
TList fListOfForwards;
TTreeProxyGenerator(TTree* tree, const char *script, const char *fileprefix,
const char *option, UInt_t maxUnrolling);
TTreeProxyGenerator(TTree* tree, const char *script, const char *cutscript,
const char *fileprefix, const char *option, UInt_t maxUnrolling);
TBranchProxyClassDescriptor* AddClass(TBranchProxyClassDescriptor *desc);
void AddDescriptor(TBranchProxyDescriptor *desc);
void AddForward(TClass *cl);
void AddForward(const char *classname);
void AddFriend(TFriendProxyDescriptor *desc);
void AddHeader(TClass *cl);
void AddHeader(const char *classname);
void AddMissingClassAsEnum(const char *clname, Bool_t isscope);
void AddPragma(const char *pragma_text);
void CheckForMissingClass(const char *clname);
Bool_t NeedToEmulate(TClass *cl, UInt_t level);
void ParseOptions();
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);
UInt_t AnalyzeOldBranch(TBranch *branch, UInt_t level, TBranchProxyClassDescriptor *desc);
UInt_t AnalyzeOldLeaf(TLeaf *leaf, UInt_t level, TBranchProxyClassDescriptor *topdesc);
void AnalyzeElement(TBranch *branch, TStreamerElement *element, UInt_t level, TBranchProxyClassDescriptor *desc, const char* path);
void AnalyzeTree(TTree *tree);
void WriteProxy();
const char *GetFileName() { return fHeaderFileName; }
};
}
using ROOT::TTreeProxyGenerator;
#endif
|