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

fix for reading events in epemReactionApp

parent 957cf313
No related branches found
No related tags found
No related merge requests found
......@@ -200,8 +200,8 @@ int main(int __argc,char *__argv[]){
theAppBase.readEvents(eventsDataClient, dataFileNames, channelID, GlobalEnv::instance()->Channel(channelID)->useEvtWeight(), theClient.GetEventLimits()[0], theClient.GetEventLimits()[1]);
EventList mcDataClient;
theAppBase.readEvents(mcDataClient, mcFileNames, channelID, false, theClient.GetEventLimits()[2], theClient.GetEventLimits()[3]);
// theAppBase.readEvents(mcDataClient, mcFileNames, channelID, GlobalEnv::instance()->Channel(channelID)->useEvtWeight(), theClient.GetEventLimits()[2], theClient.GetEventLimits()[3]);
// theAppBase.readEvents(mcDataClient, mcFileNames, channelID, false, theClient.GetEventLimits()[2], theClient.GetEventLimits()[3]);
theAppBase.readEvents(mcDataClient, mcFileNames, channelID, GlobalEnv::instance()->Channel(channelID)->useEvtWeight(), theClient.GetEventLimits()[2], theClient.GetEventLimits()[3]);
std::shared_ptr<EvtDataBaseList> epemEventListPtr(new EvtDataBaseList(channelID));
epemEventListPtr->read(eventsDataClient, mcDataClient);
......
......@@ -121,6 +121,7 @@ public:
* See the class description above for details.
*/
void SetP4(const Vector4<double> &__p4a,const Vector4<double> &__p4b){
int rank = this->Rank();
if(rank == 0) *this = 1.;
else{
......
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