FairRoot/PandaRoot
|
#include <iostream>
#include <fstream>
#include <vector>
#include <map>
#include "TFile.h"
#include "TTree.h"
#include "TChain.h"
#include "TRandom3.h"
#include "TDatabasePDG.h"
#include "TParticlePDG.h"
#include "TCanvas.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TLegend.h"
#include "TParticle.h"
#include "TClonesArray.h"
#include "TF1.h"
#include "TStyle.h"
#include "TNtuple.h"
#include "TLatex.h"
#include "TGaxis.h"
#include "TEventList.h"
Go to the source code of this file.
Functions | |
void | setStyle () |
double | getPos (TH1 *h) |
void | configHisto (TH1 *h) |
void | init_modes () |
void | init_cuts_1000 (TString energy) |
void | init_cuts_95 (TString energy) |
int | cnt_events (TChain *t, TString cut, bool globcnt=false) |
void | fillHistos (TChain *t, TString var, TString cut, TString all, TString sel, TString sig) |
double | DbMass (TString name) |
int | full_core_ntp (TString fname, int nev=50, bool tagonly=false) |
Variables | |
TRandom3 | fRand |
TLorentzVector | fIni |
const int | fMAX = 100 |
int | nbins = 300 |
double | low = 0.0 |
double | high = 6. |
std::map< int, int > | evcnt |
std::map< int, int > | treeidx |
std::map< TString, TString > | cuts |
std::map< TString, TString > | modes |
std::map< TString, TString > | mctvar |
TString | ntpname [10] = {"nphi","nlam","n2e","njpsi1","njpsi2","netac2","nd01","ndpm1","nds1","nlamc"} |
TString | plotname [10] = {"phim","lamm","eem","jpsim","jpsim","etacm","d0m","dpmm","dsm","lamcm"} |
int cnt_events | ( | TChain * | t, |
TString | cut, | ||
bool | globcnt = false |
||
) |
Definition at line 285 of file full_core_ntp.C.
References ev, evcnt, and treeidx.
Referenced by full_core_ntp().
void configHisto | ( | TH1 * | h | ) |
Definition at line 76 of file full_core_ntp.C.
Referenced by full_core_ntp().
double DbMass | ( | TString | name | ) |
Definition at line 309 of file full_core_ntp.C.
References mctvar.
Referenced by full_core_ntp().
int full_core_ntp | ( | TString | fname, |
int | nev = 50 , |
||
bool | tagonly = false |
||
) |
Definition at line 322 of file full_core_ntp.C.
References c2, cnt_events(), configHisto(), cuts, DbMass(), energy, evcnt, fillHistos(), i, init_cuts_1000(), init_modes(), mode, nbins, ntpname, offset(), out, setStyle(), t, and TString.
double getPos | ( | TH1 * | h | ) |
Definition at line 71 of file full_core_ntp.C.
void init_cuts_1000 | ( | TString | energy | ) |
void init_cuts_95 | ( | TString | energy | ) |
void init_modes | ( | ) |
void setStyle | ( | ) |
Definition at line 39 of file full_core_ntp.C.
Referenced by full_core_ntp(), init_cuts_1000(), and init_cuts_95().
std::map<int, int> evcnt |
Definition at line 37 of file full_core_ntp.C.
Referenced by cnt_events(), and full_core_ntp().
TLorentzVector fIni |
Definition at line 29 of file full_core_ntp.C.
Referenced by prod_fsim(), prod_sim(), QAmacro_mvd_1(), quickfsimana(), run_sim(), PndMasterRunSim::Setup(), sim(), sim_complete(), sim_complete_pbarA(), sim_complete_runs(), sim_evtgen(), sim_rich(), sim_scit(), sim_test(), simfast_opt(), tb_sim_complete(), tb_sim_scit(), and tut_fastsim().
const int fMAX = 100 |
Definition at line 32 of file full_core_ntp.C.
TRandom3 fRand |
Definition at line 28 of file full_core_ntp.C.
double high = 6. |
Definition at line 35 of file full_core_ntp.C.
Referenced by plotTrackCands().
double low = 0.0 |
Definition at line 34 of file full_core_ntp.C.
Definition at line 41 of file full_core_ntp.C.
Referenced by fillHistos(), and init_modes().
Definition at line 40 of file full_core_ntp.C.
Referenced by init_modes().
int nbins = 300 |
Definition at line 33 of file full_core_ntp.C.
Referenced by anaclust(), PndHypGeSpectrumAnalyser::DrawCalibratedSpectrum(), fillUserHisto(), full_core_ntp(), PndDrcRecoLookupMap::ProcessPhotonHit(), and TransformHisto().
TString ntpname[10] = {"nphi","nlam","n2e","njpsi1","njpsi2","netac2","nd01","ndpm1","nds1","nlamc"} |
Definition at line 43 of file full_core_ntp.C.
Referenced by full_core_ntp().
TString plotname[10] = {"phim","lamm","eem","jpsim","jpsim","etacm","d0m","dpmm","dsm","lamcm"} |
Definition at line 44 of file full_core_ntp.C.
Referenced by toy_core().
std::map<int, int> treeidx |
Definition at line 38 of file full_core_ntp.C.
Referenced by cnt_events().