From d207487fa3e2989ed2164f9be36c6717e7e889b2 Mon Sep 17 00:00:00 2001 From: Baptiste Mouginot <mouginot.baptiste@gmail.com> Date: Fri, 24 Jan 2014 12:50:27 +0000 Subject: [PATCH] few corrections git-svn-id: svn+ssh://svn.in2p3.fr/class@190 0e7d625b-0364-4367-a6be-d5be4a48d228 --- source/trunk/include/CLSSFacility.hxx | 4 ++-- source/trunk/src/Reactor.cxx | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/trunk/include/CLSSFacility.hxx b/source/trunk/include/CLSSFacility.hxx index 8e1b4c33d..59578723c 100644 --- a/source/trunk/include/CLSSFacility.hxx +++ b/source/trunk/include/CLSSFacility.hxx @@ -41,8 +41,8 @@ public : cSecond GetCreationTime() const { return fCreationTime; } //!< Return the creation time of the Facility cSecond GetLifeTime() const { return fLifeTime; } //!< Return the life time of the Facility CLASS* GetParc() { return fParc; } - IsotopicVector GetCumulativeIVIn(IsotopicVector IV) { return fCumulativeIVIn;} - IsotopicVector GetCumulativeIVOut(IsotopicVector IV) { return fCumulativeIVOut;} + IsotopicVector GetCumulativeIVIn() { return fCumulativeIVIn;} + IsotopicVector GetCumulativeIVOut() { return fCumulativeIVOut;} //********* Set Method *********// diff --git a/source/trunk/src/Reactor.cxx b/source/trunk/src/Reactor.cxx index 93f8f1b40..0457d4554 100755 --- a/source/trunk/src/Reactor.cxx +++ b/source/trunk/src/Reactor.cxx @@ -420,7 +420,7 @@ void Reactor::Dump() if(fIsStarted == true ) // A Cycle has already been done { fAssociedPool->AddIVCooling(fInsideIV); - GetCumulativeIVOut(fInsideIV); + AddCumulativeIVOut(fInsideIV); } else fIsStarted = true; // Just start the first cycle @@ -452,7 +452,7 @@ void Reactor::Dump() { fAssociedPool->AddIVCooling(fIVOutCycle); - GetCumulativeIVOut(fIVOutCycle); + AddCumulativeIVOut(fIVOutCycle); fInsideIV.Clear(); fInCycleTime = 0; fIsStarted = false; // shut down the Reactor @@ -460,7 +460,7 @@ void Reactor::Dump() else if (fEndOfCycle == false && fShutDown == true) //shutdown during Cycle { fAssociedPool->AddIVCooling(fInsideIV); - GetCumulativeIVOut(fInsideIV); + AddCumulativeIVOut(fInsideIV); fInsideIV.Clear(); fInCycleTime = 0; fIsStarted = false; // shut down the Reactor @@ -483,7 +483,7 @@ void Reactor::Dump() if(fIsStarted == true ) // A Cycle has already been done { fAssociedPool->AddIVCooling(fIVOutCycle); - GetCumulativeIVOut(fIVOutCycle); + AddCumulativeIVOut(fIVOutCycle); } else fIsStarted = true; // Just start the first cycle @@ -500,7 +500,7 @@ void Reactor::Dump() else if (fEndOfCycle == true && fShutDown == true) //shutdown at end of Cycle { fAssociedPool->AddIVCooling(fIVOutCycle); - GetCumulativeIVOut(fIVOutCycle); + AddCumulativeIVOut(fIVOutCycle); fInsideIV.Clear(); fInCycleTime = 0; fIsStarted = false; // shut down the Reactor @@ -508,7 +508,7 @@ void Reactor::Dump() else if (fEndOfCycle == false && fShutDown == true) //shutdown during Cycle { fAssociedPool->AddIVCooling(fInsideIV); - GetCumulativeIVOut(fInsideIV); + AddCumulativeIVOut(fInsideIV); fInsideIV.Clear(); fInCycleTime = 0; fIsStarted = false; // shut down the Reactor -- GitLab