To use this file, generate hsimple.root:
and do
TTree *ntuple ;
file->GetObject(
"ntuple",ntuple);
ntuple->
Draw(
"hsimpleProxy.C+");
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseGeneralPurpose, Int_t netopt=0)
Create / open a file.
A TTree object has a header with a name and a title.
virtual void Draw(Option_t *opt)
Default Draw method for all objects.
double hsimpleProxy() {
return px;
}
- Author
- Rene Brun
Definition in file hsimpleProxy.C.