ROOTPWA
Functions
plot4.C File Reference
#include <sstream>
#include <string>
#include "TTree.h"
#include "TCanvas.h"
#include "reportingUtils.hpp"
#include "plotIntensity.h"
#include "plotPhase.h"
#include "plotCoherence.h"

Go to the source code of this file.

Functions

void plot4 (const unsigned int nmbTrees, TTree **trees, const int waveIndexA, const int waveIndexB, const bool saveEps=false, const int *graphColors=NULL, const double *graphScales=NULL, const bool drawLegend=true, const std::string &graphTitle="", const char *drawOption="AP", const double massMin=0, const double massMax=0, const string &branchName="fitResult_v2", TCanvas *canvas=NULL)
void plot4 (TTree *tree, const int waveIndexA, const int waveIndexB, const bool saveEps=false, const int graphColor=kBlack, const bool drawLegend=false, const string &graphTitle="", const char *drawOption="AP", const double massMin=0, const double massMax=0, const string &branchName="fitResult_v2", TCanvas *canvas=NULL)
void plot4 (const unsigned int nmbTrees, TTree **trees, const string &waveNameA, const string &waveNameB, const bool saveEps=false, const int *graphColors=NULL, const double *graphScales=NULL, const bool drawLegend=true, const std::string &graphTitle="", const char *drawOption="AP", const double massMin=0, const double massMax=0, const string &branchName="fitResult_v2")
void plot4 (TTree *tree, const string &waveNameA, const string &waveNameB, const bool saveEps=false, const int graphColor=kBlack, const bool drawLegend=false, const string &graphTitle="", const char *drawOption="AP", const double massMin=0, const double massMax=0, const string &branchName="fitResult_v2")

Function Documentation

void plot4 ( const unsigned int  nmbTrees,
TTree **  trees,
const int  waveIndexA,
const int  waveIndexB,
const bool  saveEps = false,
const int graphColors = NULL,
const double *  graphScales = NULL,
const bool  drawLegend = true,
const std::string &  graphTitle = "",
const char *  drawOption = "AP",
const double  massMin = 0,
const double  massMax = 0,
const string &  branchName = "fitResult_v2",
TCanvas *  canvas = NULL 
)

Definition at line 60 of file plot4.C.

References i, plotCoherence(), plotIntensity(), and plotPhase().

Referenced by plot4().

void plot4 ( TTree *  tree,
const int  waveIndexA,
const int  waveIndexB,
const bool  saveEps = false,
const int  graphColor = kBlack,
const bool  drawLegend = false,
const string &  graphTitle = "",
const char *  drawOption = "AP",
const double  massMin = 0,
const double  massMax = 0,
const string &  branchName = "fitResult_v2",
TCanvas *  canvas = NULL 
)

Definition at line 123 of file plot4.C.

References plot4().

void plot4 ( const unsigned int  nmbTrees,
TTree **  trees,
const string &  waveNameA,
const string &  waveNameB,
const bool  saveEps = false,
const int graphColors = NULL,
const double *  graphScales = NULL,
const bool  drawLegend = true,
const std::string &  graphTitle = "",
const char *  drawOption = "AP",
const double  massMin = 0,
const double  massMax = 0,
const string &  branchName = "fitResult_v2" 
)

Definition at line 144 of file plot4.C.

References plot4(), and rpwa::fitResult::waveIndex().

void plot4 ( TTree *  tree,
const string &  waveNameA,
const string &  waveNameB,
const bool  saveEps = false,
const int  graphColor = kBlack,
const bool  drawLegend = false,
const string &  graphTitle = "",
const char *  drawOption = "AP",
const double  massMin = 0,
const double  massMax = 0,
const string &  branchName = "fitResult_v2" 
)

Definition at line 176 of file plot4.C.

References plot4().