Analysis Software
Documentation for sPHENIX simulation software
|
#include <iostream>
#include <fstream>
#include "TFile.h"
#include "Scalar.h"
#include "TTree.h"
#include "TChain.h"
#include "TLegend.h"
#include "math.h"
#include "TH1.h"
#include "TH2.h"
#include "TEfficiency.h"
#include "TLine.h"
#include "TGraphAsymmErrors.h"
Go to the source code of this file.
Functions | |
TChain * | handleFile (string name, string extension, string treename, unsigned int filecount) |
void | makephotonM (TChain *ttree, TChain *back, TFile *out_file) |
void | makeVtxR (TChain *ttree, TTree *vtxTree, TFile *out_file) |
void | makeVtxRes (TChain *ttree, TFile *out_file) |
void | makeVtxEff (TChain *ttree, TFile *out_file) |
void | makepTRes (TChain *ttree) |
TEfficiency * | makepTDist (TChain *ttree, TTree *allTree, TFile *out_file) |
void | compareDeta (TTree *signalTree, TTree *background) |
void | testCuts (TChain *ttree, TFile *out_file) |
void | makeRefitDist (TChain *ttree, TFile *out_file) |
void | makepTCaloGraph (string filename, TFile *outfile) |
TH1F * | makePythiaSpec (TChain *ttree, TFile *out_file, string type="") |
TH1F | removeFirstBin (TH1F h) |
double | ADtoP (double ad) |
float | smartChi2 (TH1F hard, TH1F soft) |
void | chopHard (TH1F hard, TH1F soft) |
void | calculateConversionRate (TEfficiency *rate, TH1F *pythia, TFile *out_file) |
double | hardWeightFactor (TH1F *hard, TH1F *soft, unsigned matchBin) |
TH1F * | addSpec (TH1F *soft, TH1F *hard, TFile *file) |
void | photonEff2 () |
TH1F* addSpec | ( | TH1F * | soft, |
TH1F * | hard, | ||
TFile * | file | ||
) |
Definition at line 462 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 462 of file photonEff2.C
References hardWeightFactor(), and i.
Definition at line 417 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 417 of file photonEff2.C
References physmon_track_finding_ttbar::r.
void calculateConversionRate | ( | TEfficiency * | rate, |
TH1F * | pythia, | ||
TFile * | out_file | ||
) |
Definition at line 447 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 447 of file photonEff2.C
void chopHard | ( | TH1F | hard, |
TH1F | soft | ||
) |
Definition at line 434 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 434 of file photonEff2.C
References ADtoP(), bins, removeFirstBin(), and smartChi2().
void compareDeta | ( | TTree * | signalTree, |
TTree * | background | ||
) |
Definition at line 227 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 227 of file photonEff2.C
References i.
TChain* handleFile | ( | string | name, |
string | extension, | ||
string | treename, | ||
unsigned int | filecount | ||
) |
Definition at line 21 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 21 of file photonEff2.C
References i, and physmon_simulation::s.
double hardWeightFactor | ( | TH1F * | hard, |
TH1F * | soft, | ||
unsigned | matchBin | ||
) |
Definition at line 456 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 456 of file photonEff2.C
void makephotonM | ( | TChain * | ttree, |
TChain * | back, | ||
TFile * | out_file | ||
) |
Definition at line 35 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 35 of file photonEff2.C
void makepTCaloGraph | ( | string | filename, |
TFile * | outfile | ||
) |
Definition at line 352 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 352 of file photonEff2.C
References physmon_simulation::s, ambiguity_solver_full_chain::x, and y.
TEfficiency* makepTDist | ( | TChain * | ttree, |
TTree * | allTree, | ||
TFile * | out_file | ||
) |
Definition at line 182 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 182 of file photonEff2.C
References event, i, and graph_fancy::pT.
void makepTRes | ( | TChain * | ttree | ) |
Definition at line 165 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 165 of file photonEff2.C
References event, and graph_fancy::pT.
TH1F* makePythiaSpec | ( | TChain * | ttree, |
TFile * | out_file, | ||
string | type = "" |
||
) |
Definition at line 376 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 376 of file photonEff2.C
References event, i, title, and parse_cmake_options::type.
void makeRefitDist | ( | TChain * | ttree, |
TFile * | out_file | ||
) |
Definition at line 321 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 321 of file photonEff2.C
References event.
void makeVtxEff | ( | TChain * | ttree, |
TFile * | out_file | ||
) |
Definition at line 140 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 140 of file photonEff2.C
References event, graph_fancy::pT, and physmon_track_finding_ttbar::r.
void makeVtxR | ( | TChain * | ttree, |
TTree * | vtxTree, | ||
TFile * | out_file | ||
) |
Definition at line 77 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 77 of file photonEff2.C
void makeVtxRes | ( | TChain * | ttree, |
TFile * | out_file | ||
) |
Definition at line 118 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 118 of file photonEff2.C
References event, and physmon_track_finding_ttbar::r.
void photonEff2 | ( | ) |
Definition at line 480 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 480 of file photonEff2.C
References compareDeta(), handleFile(), makephotonM(), makepTCaloGraph(), makepTRes(), makeVtxEff(), makeVtxR(), and makeVtxRes().
TH1F removeFirstBin | ( | TH1F | h | ) |
Definition at line 400 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 400 of file photonEff2.C
References h, i, physmon_track_finding_ttbar::r, and to_string().
float smartChi2 | ( | TH1F | hard, |
TH1F | soft | ||
) |
Definition at line 428 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 428 of file photonEff2.C
void testCuts | ( | TChain * | ttree, |
TFile * | out_file | ||
) |
Definition at line 255 of file photonEff2.C.
View newest version in sPHENIX GitHub at line 255 of file photonEff2.C
References INTTVtxZ::dphi, event, and layer.