LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "GENIEHelper.h"
Public Member Functions | |
GENIEHelper (fhicl::ParameterSet const &pset, TGeoManager *rootGeom, std::string const &rootFile, double const &detectorMass) | |
~GENIEHelper () | |
void | Initialize () |
bool | Stop () |
bool | Sample (simb::MCTruth &truth, simb::MCFlux &flux, simb::GTruth >ruth) |
double | TotalHistFlux () |
double | TotalExposure () const |
double | SpillExposure () const |
std::string | FluxType () const |
std::string | DetectorLocation () const |
std::vector< TH1D * > | FluxHistograms () const |
double | TotalMass () const |
genie::EventRecord * | GetGenieEventRecord () |
TRandom3 * | GetHelperRandom () |
genie::GFluxI * | GetFluxDriver (bool base=true) |
std::string | GetTuneName () const |
std::string | GetEventGeneratorList () const |
Private Member Functions | |
void | RegularizeFluxType () |
void | SqueezeFilePatterns () |
void | AtmoFluxCheck () |
void | HistogramFluxCheck () |
void | InitializeGeometry () |
void | InitializeFiducialSelection () |
void | InitializeRockBoxSelection () |
void | InitializeFluxDriver () |
void | ConfigGeomScan () |
void | SetMaxPathOutInfo () |
void | BuildFluxRotation () |
void | ExpandFluxPaths () |
void | ExpandFluxFilePatternsDirect () |
void | ExpandFluxFilePatternsIFDH () |
bool | StringToBool (std::string v) |
void | SetGXMLPATH () |
void | SetGMSGLAYOUT () |
void | StartGENIEMessenger (std::string prodmode) |
void | ReadXSecTable () |
Private Attributes | |
TGeoManager * | fGeoManager |
pointer to ROOT TGeoManager More... | |
std::string | fGeoFile |
name of file containing the Geometry description More... | |
genie::EventRecord * | fGenieEventRecord |
last generated event More... | |
genie::GeomAnalyzerI * | fGeomD |
genie::GFluxI * | fFluxD |
real flux driver More... | |
genie::GFluxI * | fFluxD2GMCJD |
flux driver passed to genie GMCJDriver, might be GFluxBlender More... | |
genie::GMCJDriver * | fDriver |
ifdh_ns::ifdh * | fIFDH |
(optional) flux file handling More... | |
TRandom3 * | fHelperRandom |
random # generator for GENIEHelper More... | |
bool | fUseHelperRndGen4GENIE |
use fHelperRandom for gRandom during Sample() More... | |
evgb::EvtTimeShiftI * | fTimeShifter |
generator for time offset within a spill More... | |
std::string | fFluxType |
std::string | fFluxSearchPaths |
colon separated set of path stems More... | |
std::vector< std::string > | fFluxFilePatterns |
wildcard patterns files containing histograms or ntuples, or txt More... | |
std::vector< std::string > | fSelectedFluxFiles |
flux files selected after wildcard expansion and subset selection More... | |
int | fMaxFluxFileMB |
maximum size of flux files (MB) More... | |
int | fMaxFluxFileNumber |
maximum # of flux files More... | |
std::string | fFluxCopyMethod |
"DIRECT" = old direct access method, otherwise = ifdh approach schema ("" okay) More... | |
std::string | fFluxCleanup |
"ALWAYS", "/var/tmp", "NEVER" More... | |
std::string | fBeamName |
name of the beam we are simulating More... | |
std::string | fFluxRotCfg |
how to interpret fFluxRotValues More... | |
std::vector< double > | fFluxRotValues |
parameters for rotation More... | |
TRotation * | fFluxRotation |
rotation for atmos / astro flux coord systems More... | |
std::string | fTopVolume |
top volume in the ROOT geometry in which to generate events More... | |
std::string | fWorldVolume |
name of the world volume in the ROOT geometry More... | |
std::string | fDetLocation |
name of flux window location More... | |
std::vector< TH1D * > | fFluxHistograms |
histograms for each nu species More... | |
double | fFluxUpstreamZ |
z where flux starts from (if non-default, simple/ntuple only) More... | |
double | fEventsPerSpill |
double | fPOTPerSpill |
number of pot per spill More... | |
double | fHistEventsPerSpill |
number of events per spill for histogram fluxes - changes each spill More... | |
int | fSpillEvents |
total events for this spill More... | |
double | fSpillExposure |
total exposure (i.e. pot) for this spill More... | |
double | fTotalExposure |
pot used from flux ntuple More... | |
double | fMonoEnergy |
energy of monoenergetic neutrinos More... | |
std::string | fFunctionalFlux |
int | fFunctionalBinning |
double | fEmin |
double | fEmax |
double | fXSecMassPOT |
product of cross section, mass and POT/spill for histogram fluxes More... | |
double | fTotalHistFlux |
total flux of neutrinos from flux histograms for used flavors More... | |
TVector3 | fBeamDirection |
direction of the beam for histogram fluxes More... | |
TVector3 | fBeamCenter |
center of beam for histogram fluxes - must be in meters More... | |
double | fBeamRadius |
radius of cylindar for histogram fluxes - must be in meters More... | |
double | fDetectorMass |
mass of the detector in kg More... | |
double | fSurroundingMass |
double | fGlobalTimeOffset |
overall time shift (ns) added to every particle time More... | |
double | fRandomTimeOffset |
additional random time shift (ns) added to every particle time More... | |
std::string | fSpillTimeConfig |
alternative to flat spill distribution More... | |
bool | fAddGenieVtxTime |
incorporate time from flux window to interaction point and (possibily) proton-on-target to flux window More... | |
bool | fForceApplyFlxWgt |
apply GFluxI::Weight() before returning event More... | |
std::vector< int > | fGenFlavors |
pdg codes for flavors to generate More... | |
double | fAtmoEmin |
atmo: Minimum energy of neutrinos in GeV More... | |
double | fAtmoEmax |
atmo: Maximum energy of neutrinos in GeV More... | |
double | fAtmoRl |
atmo: radius of the sphere on where the neutrinos are generated More... | |
double | fAtmoRt |
double | fAtmoSpectralIndex |
atmo: Spectral index for power spectrum generation More... | |
std::vector< std::string > | fEnvironment |
environmental variables and settings used by genie More... | |
std::string | fXSecTable |
cross section file (was $GSPLOAD) More... | |
std::string | fTuneName |
GENIE R-3 Tune name (defines model configuration) More... | |
std::string | fEventGeneratorList |
control over event topologies, was $GEVGL [Default] More... | |
std::string | fGXMLPATH |
locations for GENIE XML files More... | |
std::string | fGMSGLAYOUT |
format for GENIE log message [BASIC]|SIMPLE (SIMPLE=no timestamps) More... | |
std::string | fGENIEMsgThresholds |
additional XML file setting Messager level thresholds (":" separated) More... | |
int | fGHepPrintLevel |
GHepRecord::SetPrintLevel(), -1=no-print. More... | |
std::string | fMixerConfig |
configuration string for genie GFlavorMixerI More... | |
double | fMixerBaseline |
baseline distance if genie flux can't calculate it More... | |
bool | fUseBlenderDist |
get neutrino's travel distance from blender (default: true) More... | |
std::string | fFiducialCut |
configuration for geometry selector More... | |
std::string | fGeomScan |
configuration for geometry scan to determine max pathlengths More... | |
std::string | fMaxPathOutInfo |
output info if writing PathLengthList from GeomScan More... | |
unsigned int | fDebugFlags |
set bits to enable debug info More... | |
Definition at line 54 of file GENIEHelper.h.
|
explicit |
Determine which flux files to use Do this after random number seed initialization for stability
For atmos_ / astro_ fluxes we might need to set a coordinate system rotation
Set the GENIE environment if using entries in the fEnvironment vector
Definition at line 214 of file GENIEHelper.cxx.
References AtmoFluxCheck(), BuildFluxRotation(), ExpandFluxFilePatternsDirect(), ExpandFluxFilePatternsIFDH(), ExpandFluxPaths(), fAddGenieVtxTime, fAtmoEmax, fAtmoEmin, fAtmoRl, fAtmoRt, fAtmoSpectralIndex, fBeamCenter, fBeamDirection, fBeamRadius, fDebugFlags, fDetectorMass, fDetLocation, fEmax, fEmin, fEnvironment, fEventGeneratorList, fEventsPerSpill, fFiducialCut, fFluxCopyMethod, fFluxRotation, fFluxType, fFluxUpstreamZ, fForceApplyFlxWgt, fFunctionalBinning, fFunctionalFlux, fGenFlavors, fGENIEMsgThresholds, fGeomScan, fGHepPrintLevel, fGlobalTimeOffset, fGMSGLAYOUT, fGXMLPATH, fHelperRandom, fHistEventsPerSpill, fMixerBaseline, fMixerConfig, fMonoEnergy, fPOTPerSpill, fRandomTimeOffset, fSelectedFluxFiles, fSpillEvents, fSpillExposure, fSpillTimeConfig, fSurroundingMass, fTimeShifter, fTopVolume, fTotalExposure, fTuneName, fUseBlenderDist, fWorldVolume, fXSecTable, evgb::EvtTimeShiftFactory::GetEvtTimeShift(), evgb::EvtTimeShiftI::GetRandomGenerator(), evgb::GetRandomNumberSeed(), HistogramFluxCheck(), evgb::EvtTimeShiftFactory::Instance(), evgb::EvtTimeShiftI::IsRandomGeneratorSeeded(), art::left(), evgb::EvtTimeShiftFactory::Print(), evgb::EvtTimeShiftI::PrintConfig(), RegularizeFluxType(), SetGMSGLAYOUT(), SetGXMLPATH(), SqueezeFilePatterns(), and StartGENIEMessenger().
evgb::GENIEHelper::~GENIEHelper | ( | ) |
Definition at line 488 of file GENIEHelper.cxx.
References e, fDriver, ff, fFluxCleanup, fFluxD, fGenieEventRecord, fGeomD, fHelperRandom, fIFDH, fMaxPathOutInfo, fSelectedFluxFiles, and fTotalExposure.
|
private |
Speical pre-checks for atmo_ fluxes
Definition at line 779 of file GENIEHelper.cxx.
References fAtmoEmax, fAtmoEmin, fAtmoRl, fAtmoRt, fEventsPerSpill, fFluxType, fGenFlavors, and fSelectedFluxFiles.
Referenced by GENIEHelper().
|
private |
Definition at line 1818 of file GENIEHelper.cxx.
References fFluxRotation, fFluxRotCfg, fFluxRotValues, and scale.
Referenced by GENIEHelper().
|
private |
Definition at line 1474 of file GENIEHelper.cxx.
References util::abs(), fDriver, fFluxD, fGeomD, fGeomScan, and SetMaxPathOutInfo().
Referenced by Initialize().
|
inline |
Definition at line 77 of file GENIEHelper.h.
|
private |
Definition at line 1953 of file GENIEHelper.cxx.
References fFluxFilePatterns, fFluxSearchPaths, fFluxType, fHelperRandom, fMaxFluxFileMB, fMaxFluxFileNumber, fSelectedFluxFiles, and geo::vect::indices().
Referenced by GENIEHelper().
|
private |
Definition at line 2109 of file GENIEHelper.cxx.
References fFluxCopyMethod, fFluxFilePatterns, fFluxSearchPaths, fFluxType, fHelperRandom, fIFDH, fMaxFluxFileMB, fMaxFluxFileNumber, fSelectedFluxFiles, and geo::vect::indices().
Referenced by GENIEHelper().
|
private |
Definition at line 1934 of file GENIEHelper.cxx.
References fFluxCopyMethod, and fFluxSearchPaths.
Referenced by GENIEHelper().
|
inline |
Definition at line 81 of file GENIEHelper.h.
|
inline |
Definition at line 76 of file GENIEHelper.h.
|
inline |
Definition at line 96 of file GENIEHelper.h.
|
inline |
Definition at line 91 of file GENIEHelper.h.
Referenced by evgen::TestGENIEHelper::produce(), and evgen::GENIEGen::produce().
|
inline |
Definition at line 84 of file GENIEHelper.h.
Referenced by evgen::TestGENIEHelper::produce().
|
inline |
Definition at line 87 of file GENIEHelper.h.
|
inline |
Definition at line 95 of file GENIEHelper.h.
|
private |
Definition at line 846 of file GENIEHelper.cxx.
References fBeamCenter, fBeamDirection, fBeamRadius, fFluxHistograms, fGenFlavors, fSelectedFluxFiles, and fTotalHistFlux.
Referenced by GENIEHelper().
void evgb::GENIEHelper::Initialize | ( | ) |
Definition at line 606 of file GENIEHelper.cxx.
References ConfigGeomScan(), e, fDetectorMass, fDriver, fEventGeneratorList, fEventsPerSpill, fFluxD, fFluxD2GMCJD, fFluxType, fGeomD, fHelperRandom, fHistEventsPerSpill, fPOTPerSpill, fSpillEvents, fSpillExposure, fSurroundingMass, fTotalExposure, fTotalHistFlux, fTuneName, fXSecMassPOT, InitializeFluxDriver(), InitializeGeometry(), ReadXSecTable(), and evgb::SetEventGeneratorListAndTune().
Referenced by evgen::GENIEGen::beginJob(), and evgen::TestGENIEHelper::beginRun().
|
private |
User defined fiducial volume cut [0][M]<SHAPE>:val1,val2,... "0" means reverse the cut (i.e. exclude the volume) "M" means the coordinates are given in the ROOT geometry "master" system and need to be transformed to "top vol" system <SHAPE> can be any of "zcyl" "box" "zpoly" "sphere" [each takes different # of args] This must be followed by a ":" and a list of values separated by punctuation (allowed separators: commas , parentheses () braces {} or brackets [] ) Value mapping: zcly:x0,y0,radius,zmin,zmax - cylinder along z at (x0,y0) capped at z's box:xmin,ymin,zmin,xmax,ymax,zmax - box w/ upper & lower extremes zpoly:nfaces,x0,y0,r_in,phi,zmin,zmax - nfaces sided polygon in x-y plane
Examples: 1) 0mbox:0,0,0.25,1,1,8.75 exclude (i.e. reverse) a box in master coordinates w/ corners (0,0,0.25) (1,1,8.75) 2) mzpoly:6,(2,-1),1.75,0,{0.25,8.75} six sided polygon in x-y plane, centered at x,y=(2,-1) w/ inscribed radius 1.75 no rotation (so first face is in y-z plane +r from center, i.e. hex sits on point) limited to the z range of {0.25,8.75} in the master ROOT geom coordinates 3) zcly:(3,4),5.5,-2,10 a cylinder oriented parallel to the z axis in the "top vol" coordinates at x,y=(3,4) with radius 5.5 and z range of {-2,10}
Definition at line 930 of file GENIEHelper.cxx.
References fFiducialCut, fGeomD, and InitializeRockBoxSelection().
Referenced by InitializeGeometry().
|
private |
Definition at line 1180 of file GENIEHelper.cxx.
References genie::flux::GPowerSpectrumAtmoFlux::AddFluxFile(), fAtmoEmax, fAtmoEmin, fAtmoRl, fAtmoRt, fAtmoSpectralIndex, fBeamCenter, fBeamDirection, fBeamRadius, fDebugFlags, fDetLocation, fEmax, fEmin, fFluxD, fFluxD2GMCJD, fFluxHistograms, fFluxRotation, fFluxType, fFluxUpstreamZ, fFunctionalBinning, fFunctionalFlux, fGenFlavors, fMixerBaseline, fMixerConfig, fMonoEnergy, fSelectedFluxFiles, genie::flux::GPowerSpectrumAtmoFlux::LoadFluxData(), genie::flux::GPowerSpectrumAtmoFlux::SetFlavors(), genie::flux::GPowerSpectrumAtmoFlux::SetMaxEnergy(), genie::flux::GPowerSpectrumAtmoFlux::SetMinEnergy(), genie::flux::GPowerSpectrumAtmoFlux::SetRadii(), genie::flux::GPowerSpectrumAtmoFlux::SetSpectralIndex(), genie::flux::GPowerSpectrumAtmoFlux::SetUserCoordSystem(), w, and weight.
Referenced by Initialize().
|
private |
Definition at line 894 of file GENIEHelper.cxx.
References fDebugFlags, fGeoManager, fGeomD, fTopVolume, fWorldVolume, and InitializeFiducialSelection().
Referenced by Initialize().
|
private |
Definition at line 1085 of file GENIEHelper.cxx.
References e, fFiducialCut, fGeomD, fTopVolume, and fWorldVolume.
Referenced by InitializeFiducialSelection().
|
private |
determine which cross section table to use fully expand the path
Definition at line 2449 of file GENIEHelper.cxx.
References fEnvironment, fGXMLPATH, and fXSecTable.
Referenced by Initialize().
|
private |
bool evgb::GENIEHelper::Sample | ( | simb::MCTruth & | truth, |
simb::MCFlux & | flux, | ||
simb::GTruth & | gtruth | ||
) |
Definition at line 1662 of file GENIEHelper.cxx.
References bin, simb::MCParticle::E(), fAddGenieVtxTime, fAtmoSpectralIndex, fDebugFlags, simb::MCFlux::fdk2gen, fDriver, fEventsPerSpill, fFluxD, fFluxD2GMCJD, fFluxHistograms, simb::MCFlux::fFluxType, fFluxType, fForceApplyFlxWgt, simb::MCFlux::fgen2vtx, fGenFlavors, fGenieEventRecord, simb::MCFlux::fgenx, simb::MCFlux::fgeny, simb::MCFlux::fgenz, fGeoManager, fGHepPrintLevel, fGlobalTimeOffset, fHelperRandom, evgb::FillGTruth(), evgb::FillMCFlux(), evgb::FillMCTruth(), fRandomTimeOffset, fSpillEvents, fSpillExposure, fTimeShifter, fTopVolume, fTotalExposure, fTuneName, fUseBlenderDist, fUseHelperRndGen4GENIE, fWorldVolume, simb::MCTruth::GetNeutrino(), simb::kHistPlusFocus, evgb::kNue, evgb::kNueBar, evgb::kNuMu, evgb::kNuMuBar, evgb::kNuTau, evgb::kNuTauBar, simb::MCNeutrino::Nu(), simb::MCFlux::SetFluxGen(), evgb::EvtTimeShiftI::TimeOffset(), and util::to_string().
Referenced by evgen::TestGENIEHelper::produce(), and evgen::GENIEGen::produce().
|
private |
GMSGLAYOUT ([BASIC}|SIMPLE) control GENIE's layout of log4cpp message SIMPLE lacks the timestamp; this must be set in the environment at the time the log4cpp Messenger singleton is created
Definition at line 2359 of file GENIEHelper.cxx.
References fEnvironment, and fGMSGLAYOUT.
Referenced by GENIEHelper().
|
private |
GXMLPATH is where GENIE will look for alternative XML configurations (including message service threshold files)
Definition at line 2300 of file GENIEHelper.cxx.
References fEnvironment, and fGXMLPATH.
Referenced by GENIEHelper().
|
private |
Definition at line 1571 of file GENIEHelper.cxx.
References fBeamName, fDetLocation, fFiducialCut, fFluxType, fGeoFile, fGeomScan, fMaxPathOutInfo, fSelectedFluxFiles, fTopVolume, and fWorldVolume.
Referenced by ConfigGeomScan().
|
inline |
Definition at line 75 of file GENIEHelper.h.
|
private |
Definition at line 761 of file GENIEHelper.cxx.
References fFluxFilePatterns.
Referenced by GENIEHelper().
|
private |
start with fGENIEMsgThresholds from pset "GENIEMsgThresholds" value allow fEnvironment $GMSGCONF and $GPRODMODE to expand it function arg might also trigger addition of Messenger_production.xml (pre-R-2_9_0) or Messenger_whisper.xml
$GPRODMODE used to trigger Messenger_production.xml with R-2_8_0 one must add it explicitly to $GMSGCONF
Definition at line 2383 of file GENIEHelper.cxx.
References fEnvironment, fGENIEMsgThresholds, and StringToBool().
Referenced by GENIEHelper().
bool evgb::GENIEHelper::Stop | ( | ) |
Definition at line 1599 of file GENIEHelper.cxx.
References fAtmoRt, fDriver, fEventsPerSpill, fFluxD, fFluxType, fGenFlavors, fHelperRandom, fHistEventsPerSpill, fPOTPerSpill, fSpillEvents, fSpillExposure, fTotalExposure, fTotalHistFlux, and fXSecMassPOT.
Referenced by evgen::TestGENIEHelper::produce(), and evgen::GENIEGen::produce().
|
private |
|
inline |
Definition at line 71 of file GENIEHelper.h.
Referenced by evgen::GENIEGen::beginSubRun(), evgen::TestGENIEHelper::endSubRun(), and evgen::GENIEGen::endSubRun().
double evgb::GENIEHelper::TotalHistFlux | ( | ) |
Definition at line 591 of file GENIEHelper.cxx.
References fFluxType, and fTotalHistFlux.
|
inline |
Definition at line 82 of file GENIEHelper.h.
|
private |
incorporate time from flux window to interaction point and (possibily) proton-on-target to flux window
Definition at line 183 of file GENIEHelper.h.
Referenced by GENIEHelper(), and Sample().
|
private |
atmo: Maximum energy of neutrinos in GeV
Definition at line 188 of file GENIEHelper.h.
Referenced by AtmoFluxCheck(), GENIEHelper(), and InitializeFluxDriver().
|
private |
atmo: Minimum energy of neutrinos in GeV
Definition at line 187 of file GENIEHelper.h.
Referenced by AtmoFluxCheck(), GENIEHelper(), and InitializeFluxDriver().
|
private |
atmo: radius of the sphere on where the neutrinos are generated
Definition at line 189 of file GENIEHelper.h.
Referenced by AtmoFluxCheck(), GENIEHelper(), and InitializeFluxDriver().
|
private |
atmo: radius of the transvere (perpendicular) area on the sphere where the neutrinos are generated
Definition at line 190 of file GENIEHelper.h.
Referenced by AtmoFluxCheck(), GENIEHelper(), InitializeFluxDriver(), and Stop().
|
private |
atmo: Spectral index for power spectrum generation
Definition at line 192 of file GENIEHelper.h.
Referenced by GENIEHelper(), InitializeFluxDriver(), and Sample().
|
private |
center of beam for histogram fluxes - must be in meters
Definition at line 175 of file GENIEHelper.h.
Referenced by GENIEHelper(), HistogramFluxCheck(), and InitializeFluxDriver().
|
private |
direction of the beam for histogram fluxes
Definition at line 174 of file GENIEHelper.h.
Referenced by GENIEHelper(), HistogramFluxCheck(), and InitializeFluxDriver().
|
private |
name of the beam we are simulating
Definition at line 149 of file GENIEHelper.h.
Referenced by SetMaxPathOutInfo().
|
private |
radius of cylindar for histogram fluxes - must be in meters
Definition at line 176 of file GENIEHelper.h.
Referenced by GENIEHelper(), HistogramFluxCheck(), and InitializeFluxDriver().
|
private |
set bits to enable debug info
Definition at line 208 of file GENIEHelper.h.
Referenced by GENIEHelper(), InitializeFluxDriver(), InitializeGeometry(), and Sample().
|
private |
mass of the detector in kg
Definition at line 177 of file GENIEHelper.h.
Referenced by GENIEHelper(), and Initialize().
|
private |
name of flux window location
Definition at line 156 of file GENIEHelper.h.
Referenced by GENIEHelper(), InitializeFluxDriver(), and SetMaxPathOutInfo().
|
private |
Definition at line 130 of file GENIEHelper.h.
Referenced by ConfigGeomScan(), Initialize(), Sample(), Stop(), and ~GENIEHelper().
|
private |
Definition at line 171 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
Definition at line 170 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
environmental variables and settings used by genie
Definition at line 194 of file GENIEHelper.h.
Referenced by GENIEHelper(), ReadXSecTable(), SetGMSGLAYOUT(), SetGXMLPATH(), and StartGENIEMessenger().
|
private |
control over event topologies, was $GEVGL [Default]
Definition at line 197 of file GENIEHelper.h.
Referenced by GENIEHelper(), and Initialize().
|
private |
number of events to generate in each spill if not using POT/spill. If using Atmo, set to 1
Definition at line 160 of file GENIEHelper.h.
Referenced by AtmoFluxCheck(), GENIEHelper(), Initialize(), Sample(), and Stop().
|
private |
configuration for geometry selector
Definition at line 205 of file GENIEHelper.h.
Referenced by GENIEHelper(), InitializeFiducialSelection(), InitializeRockBoxSelection(), and SetMaxPathOutInfo().
|
private |
"ALWAYS", "/var/tmp", "NEVER"
Definition at line 148 of file GENIEHelper.h.
Referenced by ~GENIEHelper().
|
private |
"DIRECT" = old direct access method, otherwise = ifdh approach schema ("" okay)
Definition at line 147 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsIFDH(), ExpandFluxPaths(), and GENIEHelper().
|
private |
real flux driver
Definition at line 128 of file GENIEHelper.h.
Referenced by ConfigGeomScan(), Initialize(), InitializeFluxDriver(), Sample(), Stop(), and ~GENIEHelper().
|
private |
flux driver passed to genie GMCJDriver, might be GFluxBlender
Definition at line 129 of file GENIEHelper.h.
Referenced by Initialize(), InitializeFluxDriver(), and Sample().
|
private |
wildcard patterns files containing histograms or ntuples, or txt
Definition at line 143 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsDirect(), ExpandFluxFilePatternsIFDH(), and SqueezeFilePatterns().
|
private |
histograms for each nu species
Definition at line 157 of file GENIEHelper.h.
Referenced by HistogramFluxCheck(), InitializeFluxDriver(), and Sample().
|
private |
rotation for atmos / astro flux coord systems
Definition at line 152 of file GENIEHelper.h.
Referenced by BuildFluxRotation(), GENIEHelper(), and InitializeFluxDriver().
|
private |
how to interpret fFluxRotValues
Definition at line 150 of file GENIEHelper.h.
Referenced by BuildFluxRotation().
|
private |
parameters for rotation
Definition at line 151 of file GENIEHelper.h.
Referenced by BuildFluxRotation().
|
private |
colon separated set of path stems
Definition at line 142 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsDirect(), ExpandFluxFilePatternsIFDH(), and ExpandFluxPaths().
|
private |
histogram, gsimple, dk2nu, ntuple/gnumi, atmos_XXXX atmo_{FLUKA|BARTOL/BGLRS|HONDA/HAKKM}
Definition at line 139 of file GENIEHelper.h.
Referenced by AtmoFluxCheck(), ExpandFluxFilePatternsDirect(), ExpandFluxFilePatternsIFDH(), GENIEHelper(), Initialize(), InitializeFluxDriver(), RegularizeFluxType(), Sample(), SetMaxPathOutInfo(), Stop(), and TotalHistFlux().
|
private |
z where flux starts from (if non-default, simple/ntuple only)
Definition at line 159 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
apply GFluxI::Weight() before returning event
Definition at line 184 of file GENIEHelper.h.
Referenced by GENIEHelper(), and Sample().
|
private |
Definition at line 169 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
Definition at line 168 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
pdg codes for flavors to generate
Definition at line 186 of file GENIEHelper.h.
Referenced by AtmoFluxCheck(), GENIEHelper(), HistogramFluxCheck(), InitializeFluxDriver(), Sample(), and Stop().
|
private |
last generated event
Definition at line 126 of file GENIEHelper.h.
Referenced by Sample(), and ~GENIEHelper().
|
private |
additional XML file setting Messager level thresholds (":" separated)
Definition at line 200 of file GENIEHelper.h.
Referenced by GENIEHelper(), and StartGENIEMessenger().
|
private |
name of file containing the Geometry description
Definition at line 124 of file GENIEHelper.h.
Referenced by SetMaxPathOutInfo().
|
private |
pointer to ROOT TGeoManager
Definition at line 123 of file GENIEHelper.h.
Referenced by InitializeGeometry(), and Sample().
|
private |
Definition at line 127 of file GENIEHelper.h.
Referenced by ConfigGeomScan(), Initialize(), InitializeFiducialSelection(), InitializeGeometry(), InitializeRockBoxSelection(), and ~GENIEHelper().
|
private |
configuration for geometry scan to determine max pathlengths
Definition at line 206 of file GENIEHelper.h.
Referenced by ConfigGeomScan(), GENIEHelper(), and SetMaxPathOutInfo().
|
private |
GHepRecord::SetPrintLevel(), -1=no-print.
Definition at line 201 of file GENIEHelper.h.
Referenced by GENIEHelper(), and Sample().
|
private |
overall time shift (ns) added to every particle time
Definition at line 180 of file GENIEHelper.h.
Referenced by GENIEHelper(), and Sample().
|
private |
format for GENIE log message [BASIC]|SIMPLE (SIMPLE=no timestamps)
Definition at line 199 of file GENIEHelper.h.
Referenced by GENIEHelper(), and SetGMSGLAYOUT().
|
private |
locations for GENIE XML files
Definition at line 198 of file GENIEHelper.h.
Referenced by GENIEHelper(), ReadXSecTable(), and SetGXMLPATH().
|
private |
random # generator for GENIEHelper
Definition at line 135 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsDirect(), ExpandFluxFilePatternsIFDH(), GENIEHelper(), Initialize(), Sample(), Stop(), and ~GENIEHelper().
|
private |
number of events per spill for histogram fluxes - changes each spill
Definition at line 163 of file GENIEHelper.h.
Referenced by GENIEHelper(), Initialize(), and Stop().
|
private |
(optional) flux file handling
Definition at line 133 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsIFDH(), and ~GENIEHelper().
|
private |
maximum size of flux files (MB)
Definition at line 145 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsDirect(), and ExpandFluxFilePatternsIFDH().
|
private |
maximum # of flux files
Definition at line 146 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsDirect(), and ExpandFluxFilePatternsIFDH().
|
private |
output info if writing PathLengthList from GeomScan
Definition at line 207 of file GENIEHelper.h.
Referenced by SetMaxPathOutInfo(), and ~GENIEHelper().
|
private |
baseline distance if genie flux can't calculate it
Definition at line 203 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
configuration string for genie GFlavorMixerI
Definition at line 202 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
energy of monoenergetic neutrinos
Definition at line 167 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
number of pot per spill
Definition at line 162 of file GENIEHelper.h.
Referenced by GENIEHelper(), Initialize(), and Stop().
|
private |
additional random time shift (ns) added to every particle time
Definition at line 181 of file GENIEHelper.h.
Referenced by GENIEHelper(), and Sample().
|
private |
flux files selected after wildcard expansion and subset selection
Definition at line 144 of file GENIEHelper.h.
Referenced by AtmoFluxCheck(), ExpandFluxFilePatternsDirect(), ExpandFluxFilePatternsIFDH(), GENIEHelper(), HistogramFluxCheck(), InitializeFluxDriver(), SetMaxPathOutInfo(), and ~GENIEHelper().
|
private |
total events for this spill
Definition at line 164 of file GENIEHelper.h.
Referenced by GENIEHelper(), Initialize(), Sample(), and Stop().
|
private |
total exposure (i.e. pot) for this spill
Definition at line 165 of file GENIEHelper.h.
Referenced by GENIEHelper(), Initialize(), Sample(), and Stop().
|
private |
alternative to flat spill distribution
Definition at line 182 of file GENIEHelper.h.
Referenced by GENIEHelper().
|
private |
mass of material surrounding the detector that is intercepted by the cylinder for the histogram flux in kg
Definition at line 178 of file GENIEHelper.h.
Referenced by GENIEHelper(), and Initialize().
|
private |
generator for time offset within a spill
Definition at line 137 of file GENIEHelper.h.
Referenced by GENIEHelper(), and Sample().
|
private |
top volume in the ROOT geometry in which to generate events
Definition at line 154 of file GENIEHelper.h.
Referenced by GENIEHelper(), InitializeGeometry(), InitializeRockBoxSelection(), Sample(), and SetMaxPathOutInfo().
|
private |
pot used from flux ntuple
Definition at line 166 of file GENIEHelper.h.
Referenced by GENIEHelper(), Initialize(), Sample(), Stop(), and ~GENIEHelper().
|
private |
total flux of neutrinos from flux histograms for used flavors
Definition at line 173 of file GENIEHelper.h.
Referenced by HistogramFluxCheck(), Initialize(), Stop(), and TotalHistFlux().
|
private |
GENIE R-3 Tune name (defines model configuration)
Definition at line 196 of file GENIEHelper.h.
Referenced by GENIEHelper(), Initialize(), and Sample().
|
private |
get neutrino's travel distance from blender (default: true)
Definition at line 204 of file GENIEHelper.h.
Referenced by GENIEHelper(), and Sample().
|
private |
use fHelperRandom for gRandom during Sample()
Definition at line 136 of file GENIEHelper.h.
Referenced by Sample().
|
private |
name of the world volume in the ROOT geometry
Definition at line 155 of file GENIEHelper.h.
Referenced by GENIEHelper(), InitializeGeometry(), InitializeRockBoxSelection(), Sample(), and SetMaxPathOutInfo().
|
private |
product of cross section, mass and POT/spill for histogram fluxes
Definition at line 172 of file GENIEHelper.h.
Referenced by Initialize(), and Stop().
|
private |
cross section file (was $GSPLOAD)
Definition at line 195 of file GENIEHelper.h.
Referenced by GENIEHelper(), and ReadXSecTable().