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 "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_Kpipi (TTree *mctr, TTree *datatr, TString outfilename="kineplots.root", TString mass_="000") |
Variables | |
TString | massbin |
TString | mass |
int | nbninsm = 150 |
int | nbinsang = 80 |
HelicityAngles calculateHelicityAngles | ( | const NParticleState & | isobar, |
TLorentzVector * | beam = NULL |
||
) |
Definition at line 194 of file plotWeightedEvts_Kpipi.C.
References HelicityAngles::cosTheta, NParticleState::getParticle(), NParticleState::p(), FSParticle::p(), HelicityAngles::phi, and FSParticle::q().
TH2D* createDalitzHistogram | ( | TString | name, |
TString | title, | ||
double | mass, | ||
unsigned int | treeentries | ||
) |
Definition at line 366 of file plotWeightedEvts_Kpipi.C.
void fillWeightedGJAnglePlots | ( | const TLorentzVector & | isobar, |
double | weight, | ||
double | tprime, | ||
unsigned int | tree_index, | ||
GJHistBunch & | hBunch | ||
) |
Definition at line 185 of file plotWeightedEvts_Kpipi.C.
References GJHistBunch::costheta_GJF, GJHistBunch::costheta_GJF_MC_raw, GJHistBunch::costheta_GJF_tprime, GJHistBunch::isobar_mass, and GJHistBunch::phi_GJF.
void fillWeightedHelicityAnglePlots | ( | const HelicityAngles & | ha, |
double | weight, | ||
unsigned int | tree_index, | ||
HelicityHistBunch & | hhb | ||
) |
Definition at line 180 of file plotWeightedEvts_Kpipi.C.
References HelicityAngles::cosTheta, HelicityHistBunch::costheta_HF, HelicityAngles::phi, and HelicityHistBunch::phi_HF.
Definition at line 74 of file plotWeightedEvts_Kpipi.C.
TString getUnits | ( | TString | s | ) |
Definition at line 86 of file plotWeightedEvts_Kpipi.C.
GJHistBunch GJHistBunchFactory | ( | TString | name_prefix | ) |
Definition at line 97 of file plotWeightedEvts_Kpipi.C.
References GJHistBunch::costheta_GJF, GJHistBunch::costheta_GJF_MC_raw, GJHistBunch::costheta_GJF_tprime, GJHistBunch::isobar_mass, nbinsang, nbninsm, and GJHistBunch::phi_GJF.
HelicityHistBunch HelicityHistBunchFactory | ( | TString | name_prefix | ) |
Definition at line 152 of file plotWeightedEvts_Kpipi.C.
References HelicityHistBunch::costheta_HF, nbinsang, and HelicityHistBunch::phi_HF.
void makeDifferencePlots | ( | TFile * | outfile | ) |
Definition at line 231 of file plotWeightedEvts_Kpipi.C.
void plotWeightedEvts_Kpipi | ( | TTree * | mctr, |
TTree * | datatr, | ||
TString | outfilename = "kineplots.root" , |
||
TString | mass_ = "000" |
||
) |
Definition at line 381 of file plotWeightedEvts_Kpipi.C.
References calculateHelicityAngles(), createDalitzHistogram(), fillWeightedGJAnglePlots(), fillWeightedHelicityAnglePlots(), NParticleState::getParticle(), NParticleEvent::getParticle(), GJHistBunchFactory(), HelicityHistBunchFactory(), i, makeDifferencePlots(), mass, massbin, NParticleState::n(), nbninsm, NParticleState::p(), FSParticle::p(), p, NParticleState::q(), FSParticle::q(), and q().
Referenced by doPlotWEvts_Kpipi().
TString stripUnits | ( | TString | s | ) |
Definition at line 78 of file plotWeightedEvts_Kpipi.C.
TString mass |
Definition at line 37 of file plotWeightedEvts_Kpipi.C.
TString massbin |
Definition at line 36 of file plotWeightedEvts_Kpipi.C.
int nbinsang = 80 |
Definition at line 40 of file plotWeightedEvts_Kpipi.C.
int nbninsm = 150 |
Definition at line 39 of file plotWeightedEvts_Kpipi.C.