ROOTPWA
Functions
compareWithDima.C File Reference
#include <string>
#include <iostream>
#include <map>
#include <algorithm>
#include <vector>
#include <utility>
#include "TFile.h"
#include "TMultiGraph.h"
#include "TGraphErrors.h"
#include "TRegexp.h"
#include "TPRegexp.h"
#include "TH1.h"
#include "TLegend.h"
#include "TKey.h"
#include "TObject.h"
#include "TString.h"
#include "TCanvas.h"
#include "TPad.h"
#include "TPostScript.h"
#include "TSystem.h"
#include "reportingUtils.hpp"
#include "fitResult.h"
#include "plotAllIntensities.h"
#include "plotIntensity.h"
#include "plotSpinTotals.h"
#include "plotPhase.h"

Go to the source code of this file.

Functions

map< string, TH1 * > readDimaHists (TFile *dimaFile, TPRegexp histNamePattern)
string translateWaveName (const string &waveName)
void compareIntensityWithDima (TTree *tree, TFile *dimaFile, std::string waveName)
void compareIntensitiesWithDima (TTree *tree, TFile *dimaFile, const bool createPsFile)
void compareSpinTotalsWithDima (TTree *tree, TFile *dimaFile)
void comparePhasesWithDima (TTree *tree, TFile *dimaFile, const vector< pair< string, string > > &wavenames_phases, const string &branchName="fitResult_v2")
void compareWithDima (TTree *tree, const string &dimaFileName="/afs/e18.ph.tum.de/data/compass/bgrube/lambda/pwa/compassPWA/work/hfit.root", const string &wavename="", const bool createPsFile=false)

Function Documentation

void compareIntensitiesWithDima ( TTree *  tree,
TFile *  dimaFile,
const bool  createPsFile 
)

Definition at line 179 of file compareWithDima.C.

References i, plotAllIntensities(), readDimaHists(), and translateWaveName().

void compareIntensityWithDima ( TTree *  tree,
TFile *  dimaFile,
std::string  waveName 
)

Definition at line 123 of file compareWithDima.C.

References i, plotIntensity(), readDimaHists(), and translateWaveName().

Referenced by compareWithDima().

void comparePhasesWithDima ( TTree *  tree,
TFile *  dimaFile,
const vector< pair< string, string > > &  wavenames_phases,
const string &  branchName = "fitResult_v2" 
)

Definition at line 342 of file compareWithDima.C.

References i, plotPhase(), readDimaHists(), and translateWaveName().

Referenced by compareWithDima().

void compareSpinTotalsWithDima ( TTree *  tree,
TFile *  dimaFile 
)

Definition at line 263 of file compareWithDima.C.

References i, plotSpinTotals(), and readDimaHists().

void compareWithDima ( TTree *  tree,
const string &  dimaFileName = "/afs/e18.ph.tum.de/data/compass/bgrube/lambda/pwa/compassPWA/work/hfit.root",
const string &  wavename = "",
const bool  createPsFile = false 
)

Definition at line 403 of file compareWithDima.C.

References compareIntensityWithDima(), and comparePhasesWithDima().

map<string, TH1*> readDimaHists ( TFile *  dimaFile,
TPRegexp  histNamePattern 
)
string translateWaveName ( const string &  waveName)

Definition at line 70 of file compareWithDima.C.

References i.

Referenced by compareIntensitiesWithDima(), compareIntensityWithDima(), and comparePhasesWithDima().