Skip to content
Snippets Groups Projects
Commit e8734b8f authored by Michael Leyhe's avatar Michael Leyhe
Browse files

Added plotMode and qaModeSimple to epemReactionApp

parent b685d7cc
No related branches found
No related tags found
No related merge requests found
......@@ -335,6 +335,20 @@ int main(int __argc,char *__argv[]){
theAppBase.readEvents(mcData, mcFileNames, 0, false, 0, maxMcEvts-1);
std::shared_ptr<EvtDataBaseList> eventListPtr(new EvtDataBaseList(0));
if (mode=="plotMode"){
std::shared_ptr<AbsHist> theHistPtr( new epemHist());
theAppBase.plotMode(eventsData, mcData, eventListPtr, theHistPtr);
return 1;
}
if (mode=="qaModeSimple"){
std::shared_ptr<AbsHist> theHistPtr( new epemHist());
theAppBase.qaModeSimple(eventsData, mcData, theStartparams, eventListPtr, theHistPtr, noOfFreeFitParams);
return 1;
}
eventListPtr->read(eventsData, mcData);
theLhPtr->setDataVec(eventListPtr->getDataVecs());
......
......@@ -52,6 +52,12 @@ epemHist::epemHist(std::shared_ptr<AbsLh> theLh, fitParams& theFitParams) :
fillIt(theLh, theFitParams);
}
epemHist::epemHist() :
AbsHist()
{
initRootStuff();
}
epemHist::~epemHist(){
}
......
......@@ -46,6 +46,7 @@ class epemHist : public AbsHist{
public:
epemHist(std::shared_ptr<AbsLh>, fitParams& theFitParams);
epemHist();
virtual ~epemHist();
protected:
......
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