ROOTPWA
Namespaces | Functions
evtTreeHelper.cc File Reference
#include <fstream>
#include <sstream>
#include <string>
#include <cassert>
#include <algorithm>
#include <map>
#include <boost/tokenizer.hpp>
#include <boost/progress.hpp>
#include <boost/bimap.hpp>
#include <boost/assign/list_inserter.hpp>
#include "TFile.h"
#include "TTree.h"
#include "TTreePerfStats.h"
#include "TChain.h"
#include "TClonesArray.h"
#include "TObjString.h"
#include "TVector3.h"
#include "reportingUtilsRoot.hpp"
#include "conversionUtils.hpp"
#include "particleDataTable.h"
#include "isobarDecayTopology.h"
#include "isobarHelicityAmplitude.h"
#include "evtTreeHelper.h"

Go to the source code of this file.

Namespaces

namespace  rpwa
 Calculates the partial wave weight for a given event.

Functions

bool rpwa::checkParticleCharge (const size_t lineNmb, const int id, const string &name, const int chargeToCheck)
double rpwa::getParticleMass (const string &name)
void rpwa::parseLeafAndObjNames (const string &cmdLineString, string &prodKinPartNamesObjName, string &prodKinMomentaLeafName, string &decayKinPartNamesObjName, string &decayKinMomentaLeafName)
bool rpwa::getParticleNamesFromRootFile (TFile &inFile, TClonesArray *&prodKinPartNames, TClonesArray *&decayKinPartNames, const string &inTreeName, const string &prodKinPartNamesObjName, const string &decayKinPartNamesObjName)
bool rpwa::openRootEvtFiles (vector< TTree * > &inTrees, TClonesArray *&prodKinPartNames, TClonesArray *&decayKinPartNames, const vector< string > &rootFileNames, const vector< string > &evtFileNames, const string &inTreeName, const string &prodKinPartNamesObjName, const string &prodKinMomentaLeafName, const string &decayKinPartNamesObjName, const string &decayKinMomentaLeafName, const bool debug)
bool rpwa::fillTreeFromEvt (istream &inEvt, TTree &outTree, TClonesArray &prodKinPartNames, TClonesArray &decayKinPartNames, const long int maxNmbEvents, const string &prodKinMomentaLeafName, const string &decayKinMomentaLeafName, const bool debug, const long int treeCacheSize)
bool rpwa::writeEvtFromTree (TTree &inTree, ostream &outEvt, const TClonesArray &prodKinPartNames, const TClonesArray &decayKinPartNames, const long int maxNmbEvents, const string &inTreeName, const string &prodKinMomentaLeafName, const string &decayKinMomentaLeafName, const bool debug)
bool rpwa::processTree (TTree &tree, const TClonesArray &prodKinPartNames, const TClonesArray &decayKinPartNames, const isobarAmplitudePtr &amplitude, vector< complex< double > > &ampValues, const long int maxNmbEvents, const string &prodKinMomentaLeafName, const string &decayKinMomentaLeafName, const bool printProgress, const string &treePerfStatOutFileName, const long int treeCacheSize)