ROOTPWA
|
#include <fstream>
#include <string>
#include <iomanip>
#include <limits>
#include <algorithm>
#include "TTree.h"
#include "TClonesArray.h"
#include "TObjString.h"
#include "TVector3.h"
#include "reportingUtils.hpp"
#include "particleDataTable.h"
#include "evtTreeHelper.h"
Go to the source code of this file.
Functions | |
bool | convertTreeToEvt (const string &inFileNamePattern="testEvents.root", const string &outFileName="testEvents.evt", const string &pdgTableFileName="./particleDataTable.txt", const long int maxNmbEvents=-1, const string &inTreeName="rootPwaEvtTree", const string &prodKinPartNamesObjName="prodKinParticles", const string &prodKinMomentaLeafName="prodKinMomenta", const string &decayKinPartNamesObjName="decayKinParticles", const string &decayKinMomentaLeafName="decayKinMomenta", const bool debug=false) |
bool convertTreeToEvt | ( | const string & | inFileNamePattern = "testEvents.root" , |
const string & | outFileName = "testEvents.evt" , |
||
const string & | pdgTableFileName = "./particleDataTable.txt" , |
||
const long int | maxNmbEvents = -1 , |
||
const string & | inTreeName = "rootPwaEvtTree" , |
||
const string & | prodKinPartNamesObjName = "prodKinParticles" , |
||
const string & | prodKinMomentaLeafName = "prodKinMomenta" , |
||
const string & | decayKinPartNamesObjName = "decayKinParticles" , |
||
const string & | decayKinMomentaLeafName = "decayKinMomenta" , |
||
const bool | debug = false |
||
) |
Definition at line 62 of file convertTreeToEvt.C.
References debug, rpwa::particleDataTable::instance(), rpwa::openRootEvtFiles(), rpwa::particleDataTable::readFile(), and rpwa::writeEvtFromTree().