|
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(), simu_tag(), and toy_core_ntp().
| void configHisto | ( | TH1 * | h | ) |
Definition at line 76 of file full_core_ntp.C.
Referenced by full_core_ntp(), softtrigger_toy12(), toy_core(), and toy_core_ntp().
| double DbMass | ( | TString | name | ) |
Definition at line 309 of file full_core_ntp.C.
References mctvar.
Referenced by full_core_ntp(), and toy_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 | ) |
Definition at line 113 of file full_core_ntp.C.
References cuts.
Referenced by full_core_ntp(), and toy_core_ntp().
| void init_cuts_95 | ( | TString | energy | ) |
| void init_modes | ( | ) |
Definition at line 86 of file full_core_ntp.C.
Referenced by full_core_ntp(), simu_tag(), and toy_core_ntp().
| void setStyle | ( | ) |
Definition at line 47 of file full_core_ntp.C.
Definition at line 39 of file full_core_ntp.C.
| std::map<int, int> evcnt |
Definition at line 37 of file full_core_ntp.C.
| TLorentzVector fIni |
Definition at line 29 of file full_core_ntp.C.
Referenced by fillHisto(), prod_fsim(), prod_sim(), qaCand(), 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(), softtrigger_kin5(), softtrigger_toy12(), tb_sim_complete(), tb_sim_scit(), toy_core(), and tut_fastsim().
| const int fMAX = 100 |
Definition at line 32 of file full_core_ntp.C.
Referenced by softtrigger_kin5(), softtrigger_toy12(), and toy_core().
| TRandom3 fRand |
Definition at line 28 of file full_core_ntp.C.
Referenced by isDetected(), select(), smearMom(), softtrigger_kin5(), softtrigger_toy12(), and toy_core().
| double high = 6. |
Definition at line 35 of file full_core_ntp.C.
Referenced by plotTrackCands(), softtrigger_kin5(), softtrigger_toy12(), toy_core(), and toy_core_ntp().
| double low = 0.0 |
Definition at line 34 of file full_core_ntp.C.
Definition at line 41 of file full_core_ntp.C.
Definition at line 40 of file full_core_ntp.C.
| int nbins = 300 |
Definition at line 33 of file full_core_ntp.C.
Referenced by anaclust(), PndHypGeSpectrumAnalyser::DrawCalibratedSpectrum(), fillUserHisto(), full_core_ntp(), PndDrcRecoLookupMap::ProcessPhotonHit(), toy_core(), toy_core_ntp(), 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(), and toy_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().
1.8.5