ROOTPWA
|
#include "TTree.h"
#include "TFile.h"
#include "TList.h"
#include "TLatex.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>
#include "NParticleEvent.h"
Go to the source code of this file.
Functions | |
TGraphErrors * | buildGraph (vector< TH1D * > histo, unsigned int n) |
void | plotWeightedEvts (TTree *mctr, TTree *datatr, TString outfilename, TString mass, unsigned int nsamples=1) |
int | main (int argc, char **argv) |
TGraphErrors* buildGraph | ( | vector< TH1D * > | histo, |
unsigned int | n | ||
) |
Definition at line 34 of file plotWeightedEvts.C.
References n.
Definition at line 911 of file plotWeightedEvts.C.
References mass, and plotWeightedEvts().
void plotWeightedEvts | ( | TTree * | mctr, |
TTree * | datatr, | ||
TString | outfilename, | ||
TString | mass, | ||
unsigned int | nsamples = 1 |
||
) |
hMIsobar[isamples]->SetFillColor(kRed);
Definition at line 62 of file plotWeightedEvts.C.
References buildGraph(), Double_t, i, Int_t, NParticleState::isSubstate(), massbin, NParticleState::n(), nbinsang, nbninsm, NParticleState::p(), p, NParticleState::q(), and q().
Referenced by doPlotWEvts(), and main().