ROOTPWA
Functions
convertEvtToTree.C File Reference
#include <fstream>
#include <sstream>
#include <string>
#include "TFile.h"
#include "TTree.h"
#include "TClonesArray.h"
#include "TObjString.h"
#include "TVector3.h"
#include "reportingUtils.hpp"
#include "evtTreeHelper.h"

Go to the source code of this file.

Functions

bool convertEvtToTree (const string &evtFileName="testEvents.evt", const string &outFileName="testEvents.root", const long int maxNmbEvents=-1, const string &outTreeName="rootPwaEvtTree", const string &prodKinPartNamesObjName="prodKinParticles", const string &prodKinMomentaLeafName="prodKinMomenta", const string &decayKinPartNamesObjName="decayKinParticles", const string &decayKinMomentaLeafName="decayKinMomenta", const bool debug=false)

Function Documentation

bool convertEvtToTree ( const string &  evtFileName = "testEvents.evt",
const string &  outFileName = "testEvents.root",
const long int  maxNmbEvents = -1,
const string &  outTreeName = "rootPwaEvtTree",
const string &  prodKinPartNamesObjName = "prodKinParticles",
const string &  prodKinMomentaLeafName = "prodKinMomenta",
const string &  decayKinPartNamesObjName = "decayKinParticles",
const string &  decayKinMomentaLeafName = "decayKinMomenta",
const bool  debug = false 
)

Definition at line 58 of file convertEvtToTree.C.

References debug, and rpwa::fillTreeFromEvt().