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

Go to the source code of this file.

Functions

source setTrueThermal (kFALSE)
c1 Do ("loop: [w]->SetM({w_bw}->SampleTotalMass()); if ([w]->M() > 0.85) goto loop")
r Do (histo, "_x = ([dimuon])->M()")
r Do (histo2, "_x = ([w])->M()")
r Print ()
r loop (10000)
histo2 Draw ()

Variables

PParticle * w = new PParticle("w")
PParticle * s1 [] = {source, w}
PChannel * c1 = new PChannel(s1, 1, 1)
PParticle * ep = new PParticle("mu+")
PParticle * em = new PParticle("mu-")
PParticle * pi = new PParticle("pi0")
PParticle * dm = new PParticle("dimuon")
PParticle * s2 [] = {w, dm, pi}
PChannel * c2 = new PChannel(s2, 2, 1)
PChannel * cc [] = {c1, c2}
PReaction * r = new PReaction(cc, "thermal_w", 2)
TH1F * histo = new TH1F("histo", "mumu mass", 100, 0.1, 1.2)
TH1F * histo2 = new TH1F("histo2", "w mass", 100, 0.1, 1.2)

Function Documentation

◆ Do() [1/3]

c1 Do ( "loop: ->SetM({w_bw}->SampleTotalMass()); if ([w]->M() > 0.85) goto loop" [w])

◆ Do() [2/3]

r Do ( histo )

◆ Do() [3/3]

r Do ( histo2 )

◆ Draw()

histo2 Draw ( )

◆ loop()

r loop ( 10000 )

◆ Print()

r Print ( )

◆ setTrueThermal()

source setTrueThermal ( kFALSE )

Variable Documentation

◆ c1

PChannel* c1 = new PChannel(s1, 1, 1)

Definition at line 10 of file use_Do_in_PChannel.C.

◆ c2

PChannel* c2 = new PChannel(s2, 2, 1)

Definition at line 19 of file use_Do_in_PChannel.C.

◆ cc

PChannel* cc[] = {c1, c2}

Definition at line 21 of file use_Do_in_PChannel.C.

◆ dm

PParticle* dm = new PParticle("dimuon")

Definition at line 17 of file use_Do_in_PChannel.C.

◆ em

PParticle* em = new PParticle("mu-")

Definition at line 15 of file use_Do_in_PChannel.C.

◆ ep

PParticle* ep = new PParticle("mu+")

Definition at line 14 of file use_Do_in_PChannel.C.

◆ histo

TH1F* histo = new TH1F("histo", "mumu mass", 100, 0.1, 1.2)

Definition at line 23 of file use_Do_in_PChannel.C.

◆ histo2

TH1F* histo2 = new TH1F("histo2", "w mass", 100, 0.1, 1.2)

Definition at line 24 of file use_Do_in_PChannel.C.

◆ pi

PParticle* pi = new PParticle("pi0")

Definition at line 16 of file use_Do_in_PChannel.C.

◆ r

PReaction* r = new PReaction(cc, "thermal_w", 2)

Definition at line 22 of file use_Do_in_PChannel.C.

◆ s1

PParticle* s1[] = {source, w}

Definition at line 9 of file use_Do_in_PChannel.C.

◆ s2

PParticle* s2[] = {w, dm, pi}

Definition at line 18 of file use_Do_in_PChannel.C.

◆ w

PParticle* w = new PParticle("w")

Definition at line 8 of file use_Do_in_PChannel.C.