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

Go to the source code of this file.

Functions

PReaction my_reaction ("_T1 = 2.2", "p", "p", "p p w [e+ e-]", "w_multiple_branches")
my_reaction Do ("foreach(*); [*]->Push(Branch(particles_stage1))")
my_reaction Do ("loop: theta_ep = ([*]->Theta() * 180.)/TMath::Pi()")
my_reaction Do ("if ((theta_ep<18 || theta_ep>85 || theta_em<18 || theta_em>85) && ![*]->HasID(w.pid)); [*]->SetInActive(); ")
my_reaction Do ("formore(*); goto loop;")
my_reaction Do ("[w]->SetM(([e+]+[e-])->M()); else; [w]->SetInActive();")
my_reaction Do ("foreach(*); [*]->Push(Branch(particles_stage2))")
my_reaction Do ("[w]->SetM( ([e+]+[e-])->M() );")
my_reaction Print ()
my_reaction Loop (1000)

Function Documentation

◆ Do() [1/7]

my_reaction Do ( "->SetM( ([e+]+[e-])->M() );" [w])

◆ Do() [2/7]

my_reaction Do ( "->SetM(([e+]+[e-])->M()); else; ->SetInActive();" [w][w])

◆ Do() [3/7]

my_reaction Do ( "foreach(*); ->Push(Branch(particles_stage1))" [ *])

◆ Do() [4/7]

my_reaction Do ( "foreach(*); ->Push(Branch(particles_stage2))" [ *])

◆ Do() [5/7]

my_reaction Do ( "formore(*); goto loop;" )

◆ Do() [6/7]

my_reaction Do ( "if ((theta_ep<18 || theta_ep>85 || theta_em<18 || theta_em>85) && ![*]->HasID(w.pid)); ->SetInActive(); " [ *])

◆ Do() [7/7]

my_reaction Do ( )

◆ Loop()

my_reaction Loop ( 1000 )

◆ my_reaction()

PReaction my_reaction ( )

Definition at line 13 of file batch_read_ntuple.C.

◆ Print()

my_reaction Print ( )