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

Go to the source code of this file.

Functions

Reaction SetBranchAddress ("Particles", &evt)
can Divide (3, 3,.001,.001)
TLorentzVector ggg (0, 0, 1.5, 1.5)
 for (Int_t i=0;i< nentries;i++)
 makeDistributionManager () -> Exec("nucleus_fermi:gamma")
can cd (1)
hThetaEta SetLineColor (3)
hThetaEta Draw ()
can cd (2)
can cd (3)
can cd (4)
hPhiEta SetLineColor (4)
can cd (5)
can cd (6)
can cd (7)
hMomAf SetLineColor (2)
can cd (8)
can cd (9)
can Print ("g12C_BreakUp.eps")
can Print ("g12C_BreakUp.root")
can Modified ()

Variables

TFile * f = (TFile*) gFile
TTree * Reaction = (TTree*)gDirectory->Get("data")
TClonesArray * evt =new TClonesArray("PParticle", 11)
PParticle * par [11]
const double r2d =180./3.14159265358979323846
TH1F * hMomAf = new TH1F("hMomAf" ,"Momentum final Nucleus" , 1000,0.,1.)
TH1F * hMomAfRec = new TH1F("hMomAfRec","Fermi Momentum Reconstructed",1000,0.,1.)
TH1F * hThetaEta = new TH1F("hThetaEta","Polar angle theta of the Eta",180,0.,180.)
TH1F * hThetaPi0 = new TH1F("hThetaPi0","Polar angle theta of the Pi0",180,0.,180.)
TH1F * hThetaNeu = new TH1F("hThetaNeu","Polar angle theta of the Neutron",180,0.,180.)
TH1F * hPhiEta = new TH1F("hPhiEta","Azimuthal angle phi of the Eta",360,-180.,180.)
TH1F * hPhiPi0 = new TH1F("hPhiPi0","Azimuthal angle phi of the Pi0",360,-180.,180.)
TH1F * hPhiNeu = new TH1F("hPhiNeu","Azimuthal angle phi of the Neutron",360,-180.,180.)
TCanvas * can = new TCanvas("can","g+12C->Pi0+Eta+n+11C",200,10,600,400)
TLorentzVector NewAfinal
TLorentzVector GrandParent
TLorentzVector RecNeutron
TLorentzVector Pi0plusEta
TLorentzVector NewNeutron
TLorentzVector Eta2g
TLorentzVector Pi02g
TLorentzVector Ainitial
TLorentzVector Afinal
TVector3 MomAf
TVector3 NewAfinalMom
double massN
double massAi
double massAf
double BeamEnergy
Int_t nentries = Reaction->GetEntries()
double px
double py
double pz
TH1F * h1 = new TH1F("h1","Distribution of Fermi Momentum inside Carbon-12",1000,0.,1.)
PFermiMomentumGA * f1

Function Documentation

◆ cd() [1/9]

can cd ( 1 )

◆ cd() [2/9]

can cd ( 2 )

◆ cd() [3/9]

can cd ( 3 )

◆ cd() [4/9]

can cd ( 4 )

◆ cd() [5/9]

can cd ( 5 )

◆ cd() [6/9]

can cd ( 6 )

◆ cd() [7/9]

can cd ( 7 )

◆ cd() [8/9]

can cd ( 8 )

◆ cd() [9/9]

can cd ( 9 )

◆ Divide()

can Divide ( 3 ,
3 ,
. 001,
. 001 )

◆ Draw()

hThetaEta Draw ( )

◆ for()

for ( )

Definition at line 52 of file analyze_g12C.C.

◆ ggg()

TLorentzVector ggg ( 0 ,
0 ,
1. 5,
1. 5 )

◆ makeDistributionManager()

makeDistributionManager ( ) -> Exec("nucleus_fermi:gamma")

◆ Modified()

can Modified ( )

◆ Print() [1/2]

can Print ( "g12C_BreakUp.eps" )

◆ Print() [2/2]

can Print ( "g12C_BreakUp.root" )

◆ SetBranchAddress()

Reaction SetBranchAddress ( "Particles" ,
& evt )

◆ SetLineColor() [1/3]

histo2_cut SetLineColor ( 2 )

◆ SetLineColor() [2/3]

hThetaEta SetLineColor ( 3 )

◆ SetLineColor() [3/3]

hPhiNeu SetLineColor ( 4 )

Variable Documentation

◆ Afinal

TLorentzVector Afinal

Definition at line 40 of file analyze_g12C.C.

◆ Ainitial

TLorentzVector Ainitial

Definition at line 39 of file analyze_g12C.C.

◆ BeamEnergy

double BeamEnergy

Definition at line 49 of file analyze_g12C.C.

◆ can

TCanvas* can = new TCanvas("can","g+12C->Pi0+Eta+n+11C",200,10,600,400)

Definition at line 29 of file analyze_g12C.C.

◆ Eta2g

TLorentzVector Eta2g

Definition at line 37 of file analyze_g12C.C.

◆ evt

TClonesArray* evt =new TClonesArray("PParticle", 11)

Definition at line 12 of file analyze_g12C.C.

◆ f

TFile* f = (TFile*) gFile

Definition at line 8 of file analyze_g12C.C.

◆ f1

Initial value:
=
((PFermiMomentumGA*)makeDistributionManager()->GetDistribution("gn_in_12C"))
PDistributionManager * makeDistributionManager()

Definition at line 104 of file analyze_g12C.C.

◆ GrandParent

TLorentzVector GrandParent

Definition at line 33 of file analyze_g12C.C.

◆ h1

TH1F* h1 = new TH1F("h1","Distribution of Fermi Momentum inside Carbon-12",1000,0.,1.)

Definition at line 101 of file analyze_g12C.C.

◆ hMomAf

TH1F* hMomAf = new TH1F("hMomAf" ,"Momentum final Nucleus" , 1000,0.,1.)

Definition at line 19 of file analyze_g12C.C.

◆ hMomAfRec

TH1F* hMomAfRec = new TH1F("hMomAfRec","Fermi Momentum Reconstructed",1000,0.,1.)

Definition at line 20 of file analyze_g12C.C.

◆ hPhiEta

TH1F* hPhiEta = new TH1F("hPhiEta","Azimuthal angle phi of the Eta",360,-180.,180.)

Definition at line 25 of file analyze_g12C.C.

◆ hPhiNeu

TH1F* hPhiNeu = new TH1F("hPhiNeu","Azimuthal angle phi of the Neutron",360,-180.,180.)

Definition at line 27 of file analyze_g12C.C.

◆ hPhiPi0

TH1F* hPhiPi0 = new TH1F("hPhiPi0","Azimuthal angle phi of the Pi0",360,-180.,180.)

Definition at line 26 of file analyze_g12C.C.

◆ hThetaEta

TH1F* hThetaEta = new TH1F("hThetaEta","Polar angle theta of the Eta",180,0.,180.)

Definition at line 22 of file analyze_g12C.C.

◆ hThetaNeu

TH1F* hThetaNeu = new TH1F("hThetaNeu","Polar angle theta of the Neutron",180,0.,180.)

Definition at line 24 of file analyze_g12C.C.

◆ hThetaPi0

TH1F* hThetaPi0 = new TH1F("hThetaPi0","Polar angle theta of the Pi0",180,0.,180.)

Definition at line 23 of file analyze_g12C.C.

◆ massAf

double massAf

Definition at line 48 of file analyze_g12C.C.

◆ massAi

double massAi

Definition at line 47 of file analyze_g12C.C.

◆ massN

double massN

Definition at line 46 of file analyze_g12C.C.

◆ MomAf

TVector3 MomAf

Definition at line 43 of file analyze_g12C.C.

◆ nentries

Int_t nentries = Reaction->GetEntries()

Definition at line 51 of file analyze_g12C.C.

◆ NewAfinal

TLorentzVector NewAfinal

Definition at line 32 of file analyze_g12C.C.

◆ NewAfinalMom

TVector3 NewAfinalMom

Definition at line 44 of file analyze_g12C.C.

◆ NewNeutron

TLorentzVector NewNeutron

Definition at line 36 of file analyze_g12C.C.

◆ par

PParticle* par[11]

Definition at line 15 of file analyze_g12C.C.

◆ Pi02g

TLorentzVector Pi02g

Definition at line 38 of file analyze_g12C.C.

◆ Pi0plusEta

TLorentzVector Pi0plusEta

Definition at line 35 of file analyze_g12C.C.

◆ px

double px

Definition at line 100 of file analyze_g12C.C.

◆ py

double py

Definition at line 100 of file analyze_g12C.C.

◆ pz

double pz

Definition at line 100 of file analyze_g12C.C.

◆ r2d

const double r2d =180./3.14159265358979323846

Definition at line 17 of file analyze_g12C.C.

◆ Reaction

TTree* Reaction = (TTree*)gDirectory->Get("data")

Definition at line 10 of file analyze_g12C.C.

◆ RecNeutron

TLorentzVector RecNeutron

Definition at line 34 of file analyze_g12C.C.