#include <cmath>
#include <iostream>
#include <iomanip>
#include <vector>
#include <unistd.h>
#include <TF1.h>
#include <TH1D.h>
#include <TH2D.h>
#include <TFile.h>
#include <TProfile.h>
#include <TCanvas.h>
#include <TRandom2.h>
#include <TVector3.h>
#include <TString.h>
#include <TLatex.h>
#include <TLine.h>
#include <TROOT.h>
#include <TMath.h>
#include <TThread.h>
#include "include/RootUtils.hh"
#include "include/PhotonTracer.hh"
Go to the source code of this file.
Functions | |
vector< Double_t > | MakeBins (bool isAbs) |
void * | RunOneTrace (void *arg) |
void | PhotonSim_mp () |
Variables | |
const int | nThreads = 10 |
int | threadIdx [nThreads] |
Long64_t | iterations [nThreads] |
TH1D * | hCollectionZ [nThreads] |
TH1D * | hCollectionT [nThreads] |
TH2D * | hCollectionRate [nThreads] |
TH2D * | hCollectionZ_NBounces [nThreads] |
TH1D * | hFiberAngle [nThreads] |
TH1D * | hNBounces [nThreads] |
vector<Double_t> MakeBins | ( | bool | isAbs | ) |
void PhotonSim_mp | ( | ) |
Definition at line 202 of file PhotonSim_mp.C.
References demo5::c1, demo5::c2, chisquared::c3, chisquared::c4, plot_validation_datamc::Clone(), om::cout, allTimeWatchdog::endl, file, hCollectionRate, hCollectionT, hCollectionZ, hCollectionZ_NBounces, hFiberAngle, hNBounces, iterations, nThreads, RunOneTrace(), threadIdx, and generate_CCQE_events::threads.
Definition at line 79 of file PhotonSim_mp.C.
References om::cout, stan::math::fabs(), msf_helper::generator, hCollectionRate, hCollectionT, hCollectionZ, hCollectionZ_NBounces, hFiberAngle, hNBounces, MECModelEnuComparisons::i, iterations, art::left(), MakeBins(), ana::weight, and test::z.
Referenced by PhotonSim_mp().
TH2D* hCollectionRate[nThreads] |
Definition at line 74 of file PhotonSim_mp.C.
Referenced by PhotonSim(), PhotonSim_mp(), and RunOneTrace().
TH1D* hCollectionT[nThreads] |
Definition at line 73 of file PhotonSim_mp.C.
Referenced by PhotonSim(), PhotonSim_mp(), and RunOneTrace().
TH1D* hCollectionZ[nThreads] |
Definition at line 72 of file PhotonSim_mp.C.
Referenced by PhotonSim(), PhotonSim_mp(), and RunOneTrace().
TH2D* hCollectionZ_NBounces[nThreads] |
Definition at line 75 of file PhotonSim_mp.C.
Referenced by PhotonSim_mp(), and RunOneTrace().
TH1D* hFiberAngle[nThreads] |
Definition at line 76 of file PhotonSim_mp.C.
Referenced by PhotonSim_mp(), and RunOneTrace().
TH1D* hNBounces[nThreads] |
Definition at line 77 of file PhotonSim_mp.C.
Referenced by PhotonSim_mp(), and RunOneTrace().
Long64_t iterations[nThreads] |
Definition at line 71 of file PhotonSim_mp.C.
Referenced by PhotonSim(), PhotonSim_mp(), RunOneTrace(), TestSpacing(), TransverseEff(), and ana::nueccinc::NueCCIncCrossSectionAnalysis::~NueCCIncCrossSectionAnalysis().
const int nThreads = 10 |
Definition at line 69 of file PhotonSim_mp.C.
Referenced by PhotonSim_mp(), and lem::dec::Forest::Train().
Definition at line 70 of file PhotonSim_mp.C.
Referenced by PhotonSim_mp().