Logo ROOT  
Reference Guide
hsimpleProxy.C File Reference

Detailed Description

View in nbviewer Open in SWAN

To use this file, generate hsimple.root:

root.exe -b -l -q hsimple.C

and do

TFile *file = TFile::Open("hsimple.root");
TTree *ntuple ; file->GetObject("ntuple",ntuple);
ntuple->Draw("hsimpleProxy.C+");
double hsimpleProxy() {
return px;
}
Author
Rene Brun

Definition in file hsimpleProxy.C.

l
auto * l
Definition: textangle.C:4
hsimple
Definition: hsimple.py:1
TTree
Definition: TTree.h:79
TFile::Open
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:3946
b
#define b(i)
Definition: RSha256.hxx:118
q
float * q
Definition: THbookFile.cxx:89
TTree::Draw
virtual void Draw(Option_t *opt)
Default Draw method for all objects.
Definition: TTree.h:427
TFile
Definition: TFile.h:54
file
Definition: file.py:1