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

Go to the source code of this file.

Functions

pdm SetVerbose (1)
pdm SetDefault ("pi0")
pdm SetDefault ("dilepton")
pdm SetDefault ("pi+")
c AddChannel (0.9, "p", "d", "pi0")
c AddChannel (0.1, "p", "d", "pi+")
pdm InitReaction (s, c)

Variables

PDecayChannel * c
PDecayManager * pdm = new PDecayManager
PParticle * p = new PParticle("p", 2.62)
PParticle * d = new PParticle("d")
PParticle * s = new PParticle(*p + *d)
Int_t n = pdm->loop(1000, 1, "weight", 0, 0, 1, 0)

Function Documentation

◆ AddChannel() [1/2]

c AddChannel ( 0. 1,
"p" ,
"d" ,
"pi+"  )

◆ AddChannel() [2/2]

c AddChannel ( 0. 9,
"p" ,
"d" ,
"pi0"  )

◆ InitReaction()

pdm InitReaction ( s ,
c  )

◆ SetDefault() [1/3]

pdm SetDefault ( "dilepton" )

◆ SetDefault() [2/3]

pdm SetDefault ( "pi+" )

◆ SetDefault() [3/3]

pdm SetDefault ( "pi0" )

◆ SetVerbose()

pdm SetVerbose ( 1 )

Variable Documentation

◆ c

c
Initial value:
{
gROOT->Reset()

Definition at line 3 of file test_weight.C.

◆ d

PParticle* d = new PParticle("d")

Definition at line 11 of file test_weight.C.

◆ n

Int_t n = pdm->loop(1000, 1, "weight", 0, 0, 1, 0)

Definition at line 18 of file test_weight.C.

◆ p

PParticle* p = new PParticle("p", 2.62)

Definition at line 10 of file test_weight.C.

◆ pdm

Definition at line 4 of file test_weight.C.

◆ s

PParticle* s = new PParticle(*p + *d)

Definition at line 12 of file test_weight.C.