diff --git a/NPLib/Physics/NPQFS.cxx b/NPLib/Physics/NPQFS.cxx index 0eca56b43739e4fa15791704956dd0f1bef61013..6f93995a9af808dc12f7c6c48a756b48ba442e05 100644 --- a/NPLib/Physics/NPQFS.cxx +++ b/NPLib/Physics/NPQFS.cxx @@ -156,6 +156,12 @@ void QFS::ReadConfigurationFile(NPL::InputParser parser){ fshoot1 = blocks[i]->GetInt("ShootLight"); fshoot2 = blocks[i]->GetInt("ShootLight"); } + if(blocks[i]->HasToken("ShootLight1")){ + fshoot1 = blocks[i]->GetInt("ShootLight1"); + } + if(blocks[i]->HasToken("ShootLight2")){ + fshoot2 = blocks[i]->GetInt("ShootLight2"); + } if(blocks[i]->HasToken("PerpMomentumPath")){ vector<string> file_perp = blocks[i]->GetVectorString("PerpMomentumPath"); TH1F* Perptemp = Read1DProfile(file_perp[0], file_perp[1]); diff --git a/NPLib/Physics/NPQFS.h b/NPLib/Physics/NPQFS.h index 0016793dde93bf66fcd5f72c8b332f444be2b78d..052490510f3f38c8ced984a740dfbcd704058549 100644 --- a/NPLib/Physics/NPQFS.h +++ b/NPLib/Physics/NPQFS.h @@ -182,6 +182,7 @@ namespace NPL{ bool GetShoot2() const {return fshoot2;} bool GetShootB() const {return fshootB;} double GetThetaCM() const {return fThetaCM;} + double GetPhiCM() const {return fPhiCM;} double GetMomentumSigma() const {return fMomentumSigma;} TVector3 GetInternalMomentum() const {return fInternalMomentum;}