Skip to content
Snippets Groups Projects
Commit 7cf60e45 authored by Bertram Kopf's avatar Bertram Kopf
Browse files

Examples/EtacToapi0Fit: get rid of error logger in the Geneva loop

parent ba575199
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,6 @@
#include "Examples/EtacToapi0Fit/EtacToapi0EventList.hh"
#include "Examples/EtacToapi0Fit/EtacToapi0Lh.hh"
#include "ErrLogger/ErrLineLog.hh"
EtacToapi0Lh::EtacToapi0Lh(boost::shared_ptr<const EtacToapi0EventList> theEvtList) :
......@@ -89,14 +88,6 @@ double EtacToapi0Lh::calcLogLh(const fitParamVal& theParamVal)
-logLH_data
+data4Vecs.size()*logLH_mc_Norm;
ErrMsg(debugging) << "theParamVal.aMass= " << theParamVal.aMass << "\n"
<< "theParamVal.aWidth= " << theParamVal.aWidth << "\n"
<< "theParamVal.cont0spin= " << theParamVal.cont0spin << "\n"
<< "theParamVal.cont1spin= " << theParamVal.cont1spin << "\n"
<< "theParamVal.cont2spin= " << theParamVal.cont2spin << "\n"
<< "logLH_data= " << logLH_data << "\n"
<< "LH_mc= " << LH_mc << "\n"
<< "lgLh= " << logLH << endmsg;
return logLH;
}
......
......@@ -142,7 +142,8 @@ int main(int argc, char **argv){
GRANDOMFACTORY->setNProducerThreads(nProducerThreads);
GRANDOMFACTORY->setArraySize(arraySize);
ErrLineLog* myLogger=new ErrLineLog(ErrLog::Severity(errLogMode));
boost::shared_ptr<ErrLineLog> myLoggerPtr(new ErrLineLog(ErrLog::Severity(errLogMode)));
//***************************************************************************
// If this is a client in networked mode, we can just start the listener and
// return when it has finished
......@@ -256,6 +257,5 @@ int main(int argc, char **argv){
std::cout << "Done ..." << std::endl;
delete myLogger;
return 0;
}
......@@ -37,8 +37,6 @@
#include "GEnums.hpp"
#include "GUnitTestFrameworkT.hpp"
#include "ErrLogger/ErrLineLog.hh"
#include "Examples/EtacToapi0Fit/EtacToapi0EventList.hh"
#include "Examples/EtacToapi0Fit/EtacToapi0Lh.hh"
namespace Gem
......@@ -336,7 +334,6 @@ protected:
fitParamVal theFitParmValTmp;
assert(getFitParams(theFitParmValTmp));
result=_etacLhPtr->calcLogLh(theFitParmValTmp);
ErrMsg(debugging) << "current LH= " << result << endmsg;
return result;
}
......
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