Functions | |
void | ActivateBranches () |
void | SaveHists (const int inPdg, const std::string outDir, const int *inNuMode) |
void | Reset () |
void | InitializeHists () |
void | FillHists (const char *inFnames, const char *inTreename, const char *outDir, const int inPdg, const float inDangLower, const float inDangUpper, const int *inNuPdg, const int *inNuMode, const int *inNuCC, const double *eTrueFrac) |
Variables | |
static const int | kNumXYRegion = 4 |
static const int | kNumEnergyBin = 11 |
static const int | kNumLongitudinalPlane = 200 |
static const int | kNumTransversePlane = 20 |
static const double | kEnergyBins [] = {0.00, 0.25, 0.75, 1.25, 1.75, 2.25, 2.75, 3.25, 3.75, 4.25, 4.75, 5.25} |
TChain * | fChain |
TH1D * | hlongdedx [kNumXYRegion][kNumEnergyBin][kNumLongitudinalPlane] |
TH1D * | htransdedx [kNumXYRegion][kNumEnergyBin][kNumTransversePlane] |
int | showerTrueNuCCNC |
int | showerTrueNuMode |
int | showerTrueNuPdg |
int | showerTruePdg |
int | showerNPlane |
double | showerTrueDang |
double | showerStart [3] |
double | showerStop [3] |
double | showerPlaneDedx [200] |
double | showerTransCellDedx [20] |
double | showerEnergy |
double | showerTrueP4 [4] |
double | showerDir [3] |
double | showerIsFid |
bool | fActivated = false |
bool | fInitialized = false |
void slidt::ActivateBranches | ( | ) |
Definition at line 15 of file LIDTrainingDedx.cxx.
References fActivated, fChain, showerDir, showerEnergy, showerIsFid, showerNPlane, showerPlaneDedx, showerStart, showerStop, showerTransCellDedx, showerTrueDang, showerTrueNuCCNC, showerTrueNuMode, showerTrueNuPdg, showerTrueP4, and showerTruePdg.
Referenced by FillHists().
void slidt::FillHists | ( | const char * | inFnames, |
const char * | inTreename, | ||
const char * | outDir, | ||
const int | inPdg, | ||
const float | inDangLower, | ||
const float | inDangUpper, | ||
const int * | inNuPdg, | ||
const int * | inNuMode, | ||
const int * | inNuCC, | ||
const double * | eTrueFrac | ||
) |
Definition at line 188 of file LIDTrainingDedx.cxx.
References abs(), ActivateBranches(), om::cout, e, allTimeWatchdog::endl, stan::math::fabs(), fChain, Fill(), hlongdedx, htransdedx, make_syst_table_plots::ibin, InitializeHists(), kEnergyBins, kNumEnergyBin, kNumLongitudinalPlane, kNumTransversePlane, std::min(), nentries, nplanes, Reset(), SaveHists(), showerDir, showerEnergy, showerIsFid, showerNPlane, showerPlaneDedx, showerStart, showerStop, showerTransCellDedx, showerTrueDang, showerTrueNuCCNC, showerTrueNuMode, showerTrueNuPdg, showerTrueP4, showerTruePdg, and string.
void slidt::InitializeHists | ( | ) |
Definition at line 142 of file LIDTrainingDedx.cxx.
References fInitialized, hlongdedx, htransdedx, kNumEnergyBin, kNumLongitudinalPlane, kNumTransversePlane, and kNumXYRegion.
Referenced by FillHists().
void slidt::Reset | ( | ) |
Definition at line 120 of file LIDTrainingDedx.cxx.
References fChain, hlongdedx, htransdedx, kNumEnergyBin, kNumLongitudinalPlane, kNumTransversePlane, and kNumXYRegion.
Referenced by osc::_PMNS< T >::_PMNS(), genie::AxialFormFactor::AxialFormFactor(), genie::QPMDISStrucFuncBase::CalcPDFs(), genie::ELFormFactors::Calculate(), genie::AxialFormFactor::Calculate(), genie::QELFormFactors::Calculate(), genie::DISStructureFunc::Calculate(), genie::DISStructureFunc::DISStructureFunc(), genie::ELFormFactors::ELFormFactors(), FillHists(), genie::FKR::FKR(), ana::Hist::GetEigenStan(), genie::flux::GSimpleNtpAux::GSimpleNtpAux(), genie::flux::GSimpleNtpEntry::GSimpleNtpEntry(), genie::flux::GSimpleNtpNuMI::GSimpleNtpNuMI(), genie::QELFormFactors::QELFormFactors(), genie::ELFormFactors::SetModel(), genie::AxialFormFactor::SetModel(), genie::QELFormFactors::SetModel(), genie::DISStructureFunc::SetModel(), beamlinereco::LEHitFinder< T >::SetWaveform(), beamlinereco::CFDHitFinder< T >::SetWaveform(), beamlinereco::ToFClusterAlg::ToFClusterAlg(), genie::flux::GJPARCNuFluxPassThroughInfo::~GJPARCNuFluxPassThroughInfo(), and rsim::PulseShaper::~PulseShaper().
void slidt::SaveHists | ( | const int | inPdg, |
const std::string | outDir, | ||
const int * | inNuMode | ||
) |
Definition at line 43 of file LIDTrainingDedx.cxx.
References om::cerr, om::cout, allTimeWatchdog::endl, submit_syst::fout, hlongdedx, htransdedx, kNumEnergyBin, kNumLongitudinalPlane, kNumTransversePlane, kNumXYRegion, submit_nova_art::mode, and string.
Referenced by FillHists().
bool slidt::fActivated = false |
Definition at line 50 of file LIDTrainingDedx.h.
Referenced by ActivateBranches().
TChain* slidt::fChain |
Definition at line 30 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), FillHists(), readFlux::Loop(), readNtuple::Loop(), and Reset().
bool slidt::fInitialized = false |
Definition at line 51 of file LIDTrainingDedx.h.
Referenced by genie::flux::GAtmoFlux::GAtmoFlux(), genie::flux::GAtmoFlux::GenerateNext_1try(), genie::flux::GAtmoFlux::Initialize(), and InitializeHists().
TH1D* slidt::hlongdedx[kNumXYRegion][kNumEnergyBin][kNumLongitudinalPlane] |
Definition at line 32 of file LIDTrainingDedx.h.
Referenced by FillHists(), InitializeHists(), Reset(), and SaveHists().
TH1D* slidt::htransdedx[kNumXYRegion][kNumEnergyBin][kNumTransversePlane] |
Definition at line 33 of file LIDTrainingDedx.h.
Referenced by FillHists(), InitializeHists(), Reset(), and SaveHists().
|
static |
Definition at line 15 of file LIDTrainingDedx.h.
Referenced by FillHists().
|
static |
Definition at line 12 of file LIDTrainingDedx.h.
Referenced by FillHists(), InitializeHists(), Reset(), and SaveHists().
|
static |
Definition at line 13 of file LIDTrainingDedx.h.
Referenced by FillHists(), InitializeHists(), Reset(), and SaveHists().
|
static |
Definition at line 14 of file LIDTrainingDedx.h.
Referenced by FillHists(), InitializeHists(), Reset(), and SaveHists().
|
static |
Definition at line 11 of file LIDTrainingDedx.h.
Referenced by InitializeHists(), Reset(), and SaveHists().
double slidt::showerDir[3] |
Definition at line 47 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), and FillHists().
double slidt::showerEnergy |
Definition at line 45 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), jmshower::RecoJMShowerAna::analyze(), slid::LIDTraining::analyze(), and FillHists().
double slidt::showerIsFid |
Definition at line 48 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), jmshower::RecoJMShowerAna::analyze(), slid::LIDTraining::analyze(), and FillHists().
int slidt::showerNPlane |
Definition at line 39 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), and FillHists().
double slidt::showerPlaneDedx[200] |
Definition at line 43 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), and FillHists().
double slidt::showerStart[3] |
Definition at line 41 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), FillHists(), bsf::BremShowerFilter::findShowerByReco(), dif::DiFShowerFinder::findShowerByReco(), and jmshower::RecoJMShower::Gap().
double slidt::showerStop[3] |
Definition at line 42 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), and FillHists().
double slidt::showerTransCellDedx[20] |
Definition at line 44 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), and FillHists().
double slidt::showerTrueDang |
Definition at line 40 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), and FillHists().
int slidt::showerTrueNuCCNC |
Definition at line 35 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), and FillHists().
int slidt::showerTrueNuMode |
Definition at line 36 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), and FillHists().
int slidt::showerTrueNuPdg |
Definition at line 37 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), and FillHists().
double slidt::showerTrueP4[4] |
Definition at line 46 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), and FillHists().
int slidt::showerTruePdg |
Definition at line 38 of file LIDTrainingDedx.h.
Referenced by ActivateBranches(), and FillHists().