Pluto v6.3.0
Loading...
Searching...
No Matches
batch_read_ntuple.C File Reference

Go to the source code of this file.

Functions

my_reaction Input (ntuple)
my_reaction Do ("myeta = P3M(eta_px,eta_py,eta_pz,0.54745)")
my_reaction Do (histo,"if (myeta->M() > 0); _x= myeta->CosTheta();")
my_reaction Print ()
cout<< my_reaction.Loop()<< " events recovered"<< endl;histo-> Draw ()

Variables

TH1F * histo = new TH1F ("histo", "cos theta of eta", 100, -1., 1.)
PReaction my_reaction

Function Documentation

◆ Do() [1/2]

my_reaction Do ( )

◆ Do() [2/2]

◆ Draw()

cout<< my_reaction.Loop()<< " events recovered"<< endl;histo-> Draw ( )

◆ Input()

my_reaction Input ( ntuple )

◆ Print()

my_reaction Print ( )

Variable Documentation

◆ histo

TH1F* histo = new TH1F ("histo", "cos theta of eta", 100, -1., 1.)

Definition at line 10 of file batch_read_ntuple.C.

◆ my_reaction

PReaction my_reaction

Definition at line 13 of file batch_read_ntuple.C.