10 #include "KVEventListMaker.h"
25 if (!IsReady())
return;
37 while (!lname.
End()) {
41 if (nbre == 0)
return;
43 std::vector<Int_t> variable(nbre);
47 if ((
tt = (
TTree*)
file.Get(GetTreeName().Data()))) {
49 printf(
"nbre d entree %d\n",
nentries);
56 while (!lname.
End()) {
58 if ((bb =
tt->GetBranch(
stamp.Data()))) {
59 tt->SetBranchAddress(
stamp.Data(), &variable[nbre]);
70 if (kk % 10000 == 0) printf(
"%d evts lus\n", kk);
78 while (!lname.
End()) {
80 if ((bb =
tt->GetBranch(
stamp.Data()))) {
82 val.
Form(
"%s_%d_",
stamp.Data(), variable[nbre]);
89 printf(
"creation de %s \n", evtname.
Data());
100 tampname.
Form(
"%s_%s", GetTreeName().Data(), kevtlist.
At(nn)->
GetName());
109 else printf(
"%s n existe pas\n", GetTreeName().Data());
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t stamp
Compute TEventList for TTree.
Extended TList class which owns its objects by default.
T * get_object(const TString &name) const
virtual TObject * Last() const
virtual TObject * At(Int_t idx) const
virtual void Add(TObject *obj)
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
void Begin(TString delim) const
KVString Next(Bool_t strip_whitespace=kFALSE) const
virtual Int_t GetEntries() const
Int_t Write(const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const override
virtual void Enter(Long64_t entry)
virtual const char * GetName() const
virtual Int_t Write(const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
const char * Data() const
void Form(const char *fmt,...)