ROOTPWA
Functions
convertTreeToEvt.C File Reference
#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)

Function Documentation

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 
)