ROOTPWA
Classes | Functions | Variables
plotWeightedEvts_3pin.C File Reference
#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 "TClonesArray.h"
#include "TROOT.h"
#include "TMath.h"
#include "TPad.h"
#include "TCanvas.h"
#include "TString.h"
#include <iostream>
#include <vector>
#include "NParticleEvent.h"
#include "TPRegexp.h"

Go to the source code of this file.

Classes

struct  GJHistBunch
struct  HelicityHistBunch
struct  HelicityAngles

Functions

int getTotalCharge (std::pair< int, int > p)
TString stripUnits (TString s)
TString getUnits (TString s)
GJHistBunch GJHistBunchFactory (TString name_prefix)
HelicityHistBunch HelicityHistBunchFactory (TString name_prefix)
void fillWeightedHelicityAnglePlots (const HelicityAngles &ha, double weight, unsigned int tree_index, HelicityHistBunch &hhb)
void fillWeightedGJAnglePlots (const TLorentzVector &isobar, double weight, double tprime, unsigned int tree_index, GJHistBunch &hBunch)
HelicityAngles calculateHelicityAngles (const NParticleState &isobar, TLorentzVector *beam=NULL)
void makeDifferencePlots (TFile *outfile)
TH2D * createDalitzHistogram (TString name, TString title, double mass, unsigned int treeentries)
void plotWeightedEvts_3pin (TTree *mctr, TTree *datatr, TString outfilename="kineplots.root", TString mass_="000")

Variables

TString massbin
TString mass
int nbninsm = 144
int nbinsang = 80

Function Documentation

HelicityAngles calculateHelicityAngles ( const NParticleState isobar,
TLorentzVector *  beam = NULL 
)
TH2D* createDalitzHistogram ( TString  name,
TString  title,
double  mass,
unsigned int  treeentries 
)

Definition at line 366 of file plotWeightedEvts_3pin.C.

Referenced by plotWeightedEvts_3pin(), and plotWeightedEvts_Kpipi().

void fillWeightedGJAnglePlots ( const TLorentzVector &  isobar,
double  weight,
double  tprime,
unsigned int  tree_index,
GJHistBunch hBunch 
)
void fillWeightedHelicityAnglePlots ( const HelicityAngles ha,
double  weight,
unsigned int  tree_index,
HelicityHistBunch hhb 
)
int getTotalCharge ( std::pair< int, int p)

Definition at line 74 of file plotWeightedEvts_3pin.C.

Referenced by plotWeightedEvts_3pin().

TString getUnits ( TString  s)

Definition at line 86 of file plotWeightedEvts_3pin.C.

GJHistBunch GJHistBunchFactory ( TString  name_prefix)
HelicityHistBunch HelicityHistBunchFactory ( TString  name_prefix)
void makeDifferencePlots ( TFile *  outfile)

Definition at line 231 of file plotWeightedEvts_3pin.C.

Referenced by plotWeightedEvts_3pin(), and plotWeightedEvts_Kpipi().

void plotWeightedEvts_3pin ( TTree *  mctr,
TTree *  datatr,
TString  outfilename = "kineplots.root",
TString  mass_ = "000" 
)
TString stripUnits ( TString  s)

Definition at line 78 of file plotWeightedEvts_3pin.C.

Variable Documentation

TString mass
TString massbin
int nbinsang = 80
int nbninsm = 144