Pluto v6.3.0
Loading...
Searching...
No Matches
ntuple_to_pparticle.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); myeta->SetID(eta.pid)")
my_reaction Do ("Push(myeta)")
pl SetRecursiveMode (1)
pl SetTauMax (0.001)
my_reaction AddBulk (pl)
my_reaction Print ()

Variables

PReaction my_reaction ("output")
TNtuple * ntuple = (TNtuple *)f->Get("ntuple")
PPlutoBulkDecay * pl = new PPlutoBulkDecay()

Function Documentation

◆ AddBulk()

my_reaction AddBulk ( pl )

◆ Do() [1/2]

my_reaction Do ( )

◆ Do() [2/2]

my_reaction Do ( "Push(myeta)" )

◆ Input()

my_reaction Input ( ntuple )

◆ Print()

my_reaction Print ( )

◆ SetRecursiveMode()

pl SetRecursiveMode ( 1 )

◆ SetTauMax()

pl SetTauMax ( 0. 001)

Variable Documentation

◆ my_reaction

PReaction my_reaction("output") ( "output" )
Initial value:
{
TFile *f = new TFile("ntuple.root")
TFile * f
Definition analyze_g12C.C:8

◆ ntuple

TNtuple* ntuple = (TNtuple *)f->Get("ntuple")

Definition at line 13 of file ntuple_to_pparticle.C.

◆ pl

Definition at line 24 of file ntuple_to_pparticle.C.