Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
hsimpleProxy.C File Reference

Detailed Description

View in nbviewer Open in SWAN
Used by hsimpleProxyDriver.C.

To use this file, generate hsimple.root:

root.exe -hsimple.C
#define b(i)
Definition RSha256.hxx:100
float * q
TLine l
Definition textangle.C:4

and do

TFile *file = TFile::Open("hsimple.root");
TTree *ntuple ; file->GetObject("ntuple",ntuple);
ntuple->Draw("hsimpleProxy.C+");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void GetObject(const char *namecycle, T *&ptr)
Get an object with proper type checking.
Definition TDirectory.h:212
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
Definition TFile.h:131
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
Definition TFile.cxx:4130
A TTree represents a columnar dataset.
Definition TTree.h:79
double hsimpleProxy() {
return px;
}
Author
Rene Brun

Definition in file hsimpleProxy.C.