ROOTPWA
Macros | Functions
accumKinePlots.C File Reference
#include "TTree.h"
#include "TFile.h"
#include "TList.h"
#include "TLatex.h"
#include "TPaveText.h"
#include "TLorentzVector.h"
#include "TVector3.h"
#include "TLorentzRotation.h"
#include "TH1D.h"
#include "TH2D.h"
#include "TGraphErrors.h"
#include "TClonesArray.h"
#include "TROOT.h"
#include "TMath.h"
#include "TPad.h"
#include "TColor.h"
#include "TStyle.h"
#include "TGaxis.h"
#include "TCanvas.h"
#include "TString.h"
#include <iostream>
#include <vector>

Go to the source code of this file.

Macros

#define MCOLOR   kOrange-3

Functions

TGraphErrors * buildGraph (vector< TH1D * > histo, unsigned int n)
TCanvas * plotAccu (TString histoname, TString xtitle, vector< TString > bins, unsigned int nsamples, TFile *infile, TString plotdir)
void accumKinePlots (TString plotsfile, TString outdir)

Macro Definition Documentation

#define MCOLOR   kOrange-3

Definition at line 26 of file accumKinePlots.C.

Referenced by plotAccu().

Function Documentation

void accumKinePlots ( TString  plotsfile,
TString  outdir 
)

Definition at line 202 of file accumKinePlots.C.

References bin, Int_t, mass, and plotAccu().

TGraphErrors* buildGraph ( vector< TH1D * >  histo,
unsigned int  n 
)

Definition at line 28 of file accumKinePlots.C.

References n.

Referenced by plotAccu(), and plotWeightedEvts().

TCanvas* plotAccu ( TString  histoname,
TString  xtitle,
vector< TString >  bins,
unsigned int  nsamples,
TFile *  infile,
TString  plotdir 
)

Definition at line 55 of file accumKinePlots.C.

References bin, buildGraph(), dat, and MCOLOR.

Referenced by accumKinePlots().