/usr/include/root/TBranchProxyDirector.h is in libroot-tree-treeplayer-dev 5.34.30-0ubuntu8.
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 | // @(#)root/base:$Id$
// Author: Philippe Canal 13/05/2003
/*************************************************************************
* Copyright (C) 1995-2004, Rene Brun, 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_TBranchProxyDirector
#define ROOT_TBranchProxyDirector
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
#include <list>
#ifdef R__OLDHPACC
namespace std {
using ::list;
}
#endif
class TH1F;
class TTree;
namespace ROOT {
class TBranchProxy;
class TFriendProxy;
class TBranchProxyDirector {
//This class could actually be the selector itself.
TTree *fTree; // TTree we are currently looking at.
Long64_t fEntry; // Entry currently being read.
std::list<TBranchProxy*> fDirected;
std::list<TFriendProxy*> fFriends;
TBranchProxyDirector(const TBranchProxyDirector &) : fTree(0), fEntry(-1) {;}
TBranchProxyDirector& operator=(const TBranchProxyDirector&) {return *this;}
public:
TBranchProxyDirector(TTree* tree, Long64_t i);
TBranchProxyDirector(TTree* tree, Int_t i); // cint has (had?) a problem casting int to long long
void Attach(TBranchProxy* p);
void Attach(TFriendProxy* f);
TH1F* CreateHistogram(const char *options);
Long64_t GetReadEntry() const { return fEntry; }
TTree* GetTree() const { return fTree; };
// void Print();
void SetReadEntry(Long64_t entry);
TTree* SetTree(TTree *newtree);
};
} /* namespace ROOT */
#endif
|