Skip to content
Snippets Groups Projects
Commit cd66c757 authored by Adrien Matta's avatar Adrien Matta :skull_crossbones:
Browse files

* final touch to Inelastic breackup for simualtion

parent 5a491c3f
No related branches found
No related tags found
1 merge request!27Draft: [Epic] Preparation of the environement for the new GaseousDetectorScorers...
Pipeline #347273 passed
...@@ -180,6 +180,11 @@ void InelasticBreakup::ReadConfigurationFile(NPL::InputParser parser) { ...@@ -180,6 +180,11 @@ void InelasticBreakup::ReadConfigurationFile(NPL::InputParser parser) {
fBeamEnergy = fBeam.GetEnergy(); fBeamEnergy = fBeam.GetEnergy();
// set the particle // set the particle
fReaction.SetParticle1(fBeam); fReaction.SetParticle1(fBeam);
// fParticle1 = GetParticle(blocks[i]->GetString("Beam"), parser);
fParticle2 = GetParticle(blocks[i]->GetString("Target"), parser);
fParticle3 = GetParticle(blocks[i]->GetString("Light"), parser);
fParticle4 = GetParticle(blocks[i]->GetString("Heavy"), parser);
fReaction.GetParticle1()->SetUp(blocks[i]->GetString("Heavy")); fReaction.GetParticle1()->SetUp(blocks[i]->GetString("Heavy"));
fReaction.SetParticle2(GetParticle(blocks[i]->GetString("Target"), parser)); fReaction.SetParticle2(GetParticle(blocks[i]->GetString("Target"), parser));
fReaction.SetParticle3(GetParticle(blocks[i]->GetString("Target"), parser)); fReaction.SetParticle3(GetParticle(blocks[i]->GetString("Target"), parser));
......
...@@ -105,14 +105,14 @@ namespace NPL { ...@@ -105,14 +105,14 @@ namespace NPL {
double GetQValue() const { return fQValue; } double GetQValue() const { return fQValue; }
Particle* GetParticleBeam() { return &fBeam; } Particle* GetParticleBeam() { return &fBeam; }
Particle* GetParticle1() { return &fParticle1; } Particle* GetParticle1() { return &fParticle1; }
Particle* GetParticle2() { return &fParticle2; } Particle* GetParticleTarget() { return &fParticle2; }
Particle* GetParticle3() { return &fParticle3; } Particle* GetParticleLight() { return &fParticle3; }
Particle* GetParticle4() { return &fParticle4; } Particle* GetParticleHeavy() { return &fParticle4; }
Particle* GetNucleus1() { return GetParticle1(); } /* Particle* GetNucleus1() { return GetParticle1(); }
Particle* GetNucleus2() { return GetParticle2(); } Particle* GetNucleus2() { return GetParticle2(); }
Particle* GetNucleus3() { return GetParticle3(); } Particle* GetNucleus3() { return GetParticle3(); }
Particle* GetNucleus4() { return GetParticle4(); } Particle* GetNucleus4() { return GetParticle4(); }
*/
TH1F* GetCrossSectionHist() const { return fCrossSectionHist; } TH1F* GetCrossSectionHist() const { return fCrossSectionHist; }
int GetVerboseLevel() const { return fVerboseLevel; } int GetVerboseLevel() const { return fVerboseLevel; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment