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

Go to the source code of this file.

Functions

mydecay Add ("q, parent")
mydecay Add ("p, daughter")
mydecay AddEquation (cache, "_x = [rho0]->Pt();")
mydecay AddEquation ("_f = 1; if ([rho0]->Pt() > 0.4) _f = 0.5;")
mydecay SetMaxEnhancementFactor (10)
 makeDistributionManager () -> Add(mydecay)
PReaction my_reaction ("_T1 = 2.2", "p", "p", "p p rho0 [pi+ pi-]")
my_reaction Do (histo1, "_x = [rho0]->Pt();")
my_reaction Do (histo3, "_rho=[rho0]; _rho->Boost([p+p]); _x= cos(_rho->Theta())")
my_reaction Print ()
my_reaction Preheating (500)
my_reaction Loop (10000)
histo1 Draw ()

Variables

TH1F * cache = new TH1F ("cache", "Rho0 pt cache", 400, 0, 1.0)
TH1F * histo1 = new TH1F("histo1", "rho0 pt", 40, 0, 0.7)
TH1F * histo3 = new TH1F("histo3", "cos theta of rho0", 50, -1., 1.)

Function Documentation

◆ Add() [1/2]

mydecay Add ( " p,
daughter"  )

◆ Add() [2/2]

mydecay Add ( " q,
parent"  )

◆ AddEquation() [1/2]

mydecay AddEquation ( )

◆ AddEquation() [2/2]

mydecay AddEquation ( cache )

◆ Do() [1/2]

◆ Do() [2/2]

◆ Draw()

histo1 Draw ( )

◆ Loop()

my_reaction Loop ( 10000 )

◆ makeDistributionManager()

makeDistributionManager ( ) -> Add(mydecay)

◆ my_reaction()

PReaction my_reaction ( )

Definition at line 13 of file batch_read_ntuple.C.

◆ Preheating()

my_reaction Preheating ( 500 )

◆ Print()

my_reaction Print ( )

◆ SetMaxEnhancementFactor()

mydecay SetMaxEnhancementFactor ( 10 )

Variable Documentation

◆ cache

TH1F* cache = new TH1F ("cache", "Rho0 pt cache", 400, 0, 1.0)

Definition at line 18 of file demo_PAnyDistribution.C.

◆ histo1

TH1F* histo1 = new TH1F("histo1", "rho0 pt", 40, 0, 0.7)

Definition at line 50 of file demo_PAnyDistribution.C.

◆ histo3

TH1F* histo3 = new TH1F("histo3", "cos theta of rho0", 50, -1., 1.)

Definition at line 51 of file demo_PAnyDistribution.C.