LArSoft
v06_85_00
Liquid Argon Software toolkit - http://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) |
Private Member Functions | |
void | InitializeGeometry () |
void | InitializeFiducialSelection () |
void | InitializeRockBoxSelection () |
void | InitializeFluxDriver () |
void | ConfigGeomScan () |
void | SetMaxPathOutInfo () |
void | PackNuMIFlux (simb::MCFlux &flux) |
void | PackSimpleFlux (simb::MCFlux &flux) |
void | PackMCTruth (genie::EventRecord *record, simb::MCTruth &truth) |
void | PackGTruth (genie::EventRecord *record, simb::GTruth &truth) |
void | BuildFluxRotation () |
void | ExpandFluxPaths () |
void | ExpandFluxFilePatternsDirect () |
void | ExpandFluxFilePatternsIFDH () |
bool | StringToBool (std::string v) |
void | SetGXMLPATH () |
void | SetGMSGLAYOUT () |
void | StartGENIEMessenger (std::string prodmode) |
void | FindEventGeneratorList () |
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... | |
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 |
std::vector< std::string > | fEnvironment |
environmental variables and settings used by genie More... | |
std::string | fXSecTable |
cross section file (was $GSPLOAD) 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... | |
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 49 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 152 of file GENIEHelper.cxx.
References BuildFluxRotation(), ExpandFluxFilePatternsDirect(), ExpandFluxFilePatternsIFDH(), ExpandFluxPaths(), fAtmoEmax, fAtmoEmin, fAtmoRl, fAtmoRt, fBeamCenter, fBeamDirection, fBeamRadius, fDebugFlags, fDetectorMass, fDetLocation, fEmax, fEmin, fEnvironment, fEventGeneratorList, fEventsPerSpill, fFiducialCut, fFluxCopyMethod, fFluxFilePatterns, fFluxHistograms, fFluxRotation, fFluxType, fFluxUpstreamZ, fFunctionalBinning, fFunctionalFlux, fGenFlavors, fGENIEMsgThresholds, fGeomScan, fGHepPrintLevel, fGlobalTimeOffset, fGMSGLAYOUT, fGXMLPATH, fHelperRandom, fHistEventsPerSpill, FindEventGeneratorList(), fMixerBaseline, fMixerConfig, fMonoEnergy, fPOTPerSpill, fRandomTimeOffset, fSelectedFluxFiles, fSpillEvents, fSpillExposure, fSpillTimeConfig, fSurroundingMass, fTimeShifter, fTopVolume, fTotalExposure, fTotalHistFlux, fWorldVolume, fXSecTable, evgb::EvtTimeShiftFactory::GetEvtTimeShift(), evgb::GetRandomNumberSeed(), evgb::EvtTimeShiftFactory::Instance(), evgb::EvtTimeShiftFactory::Print(), evgb::EvtTimeShiftI::PrintConfig(), ReadXSecTable(), SetGMSGLAYOUT(), SetGXMLPATH(), StartGENIEMessenger(), and util::flags::to_string().
evgb::GENIEHelper::~GENIEHelper | ( | ) |
Definition at line 466 of file GENIEHelper.cxx.
References e, fDriver, ff, fFluxCleanup, fFluxD, fFluxType, fGenieEventRecord, fGeomD, fHelperRandom, fIFDH, fMaxPathOutInfo, fSelectedFluxFiles, and fTotalExposure.
|
private |
Definition at line 2137 of file GENIEHelper.cxx.
References fFluxRotation, fFluxRotCfg, fFluxRotValues, and scale.
Referenced by GENIEHelper().
|
private |
Definition at line 1306 of file GENIEHelper.cxx.
References fDriver, fFluxD, fGeomD, fGeomScan, and SetMaxPathOutInfo().
Referenced by Initialize().
|
inline |
Definition at line 72 of file GENIEHelper.h.
|
private |
Definition at line 2272 of file GENIEHelper.cxx.
References fFluxFilePatterns, fFluxSearchPaths, fFluxType, fHelperRandom, fMaxFluxFileMB, fMaxFluxFileNumber, fSelectedFluxFiles, and geo::vect::indices().
Referenced by GENIEHelper().
|
private |
Definition at line 2474 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 2253 of file GENIEHelper.cxx.
References fFluxCopyMethod, and fFluxSearchPaths.
Referenced by GENIEHelper().
|
private |
Determine EventGeneratorList
Definition at line 2818 of file GENIEHelper.cxx.
References fEnvironment, and fEventGeneratorList.
Referenced by GENIEHelper().
|
inline |
Definition at line 76 of file GENIEHelper.h.
|
inline |
Definition at line 71 of file GENIEHelper.h.
|
inline |
Definition at line 86 of file GENIEHelper.h.
|
inline |
Definition at line 79 of file GENIEHelper.h.
|
inline |
Definition at line 82 of file GENIEHelper.h.
void evgb::GENIEHelper::Initialize | ( | ) |
Definition at line 601 of file GENIEHelper.cxx.
References ConfigGeomScan(), e, fDetectorMass, fDriver, fEventGeneratorList, fEventsPerSpill, fFluxD, fFluxD2GMCJD, fFluxType, fGeomD, fHelperRandom, fHistEventsPerSpill, fPOTPerSpill, fSpillEvents, fSpillExposure, fSurroundingMass, fTotalExposure, fTotalHistFlux, fXSecMassPOT, InitializeFluxDriver(), and InitializeGeometry().
Referenced by evgen::GENIEGen::beginJob().
|
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 737 of file GENIEHelper.cxx.
References fFiducialCut, fGeomD, and InitializeRockBoxSelection().
Referenced by InitializeGeometry().
|
private |
Definition at line 987 of file GENIEHelper.cxx.
References fAtmoEmax, fAtmoEmin, fAtmoRl, fAtmoRt, fBeamCenter, fBeamDirection, fBeamRadius, fDebugFlags, fDetLocation, fEmax, fEmin, fFluxD, fFluxD2GMCJD, fFluxHistograms, fFluxRotation, fFluxType, fFluxUpstreamZ, fFunctionalBinning, fFunctionalFlux, fGenFlavors, fMixerBaseline, fMixerConfig, fMonoEnergy, fSelectedFluxFiles, w, and weight.
Referenced by Initialize().
|
private |
Definition at line 701 of file GENIEHelper.cxx.
References fDebugFlags, fGeoManager, fGeomD, fTopVolume, fWorldVolume, and InitializeFiducialSelection().
Referenced by Initialize().
|
private |
Definition at line 892 of file GENIEHelper.cxx.
References e, fFiducialCut, fGeomD, fTopVolume, and fWorldVolume.
Referenced by InitializeFiducialSelection().
|
private |
Definition at line 1890 of file GENIEHelper.cxx.
References simb::GTruth::fDiffXsec, simb::GTruth::fFShadSystP4, simb::GTruth::fGint, simb::GTruth::fgQ2, simb::GTruth::fgq2, simb::GTruth::fGscatter, simb::GTruth::fgT, simb::GTruth::fgW, simb::GTruth::fgX, simb::GTruth::fgY, simb::GTruth::fHitNucP4, simb::GTruth::fIsCharm, simb::GTruth::fIsSeaQuark, simb::GTruth::fNumNeutron, simb::GTruth::fNumPi0, simb::GTruth::fNumPiMinus, simb::GTruth::fNumPiPlus, simb::GTruth::fNumProton, simb::GTruth::fprobability, simb::GTruth::fProbeP4, simb::GTruth::fProbePDG, simb::GTruth::fResNum, simb::GTruth::ftgtA, simb::GTruth::ftgtPDG, simb::GTruth::ftgtZ, simb::GTruth::fVertex, simb::GTruth::fweight, and simb::GTruth::fXsec.
Referenced by Sample().
|
private |
Definition at line 1731 of file GENIEHelper.cxx.
References simb::MCTruth::Add(), fGlobalTimeOffset, fHelperRandom, fRandomTimeOffset, simb::kAMNuGamma, simb::kBeamNeutrino, simb::kCC, simb::kCoh, simb::kCohElastic, simb::kDiffractive, simb::kDIS, simb::kElectronScattering, simb::kEM, simb::kGlashowResonance, simb::kIMDAnnihilation, simb::kInverseBetaDecay, simb::kInverseMuDecay, simb::kMEC, simb::kNC, simb::kNuanceOffset, simb::kNuElectronElastic, simb::kQE, simb::kRes, simb::kUnknownInteraction, simb::kWeakMix, part, simb::MCTruth::SetNeutrino(), simb::MCTruth::SetOrigin(), simb::MCParticle::Vx(), x, and y.
Referenced by Sample().
|
private |
Definition at line 1644 of file GENIEHelper.cxx.
References simb::MCFlux::fbeampx, simb::MCFlux::fbeampy, simb::MCFlux::fbeampz, simb::MCFlux::fbeamx, simb::MCFlux::fbeamy, simb::MCFlux::fbeamz, simb::MCFlux::fdk2gen, simb::MCFlux::fevtno, fFluxD, simb::MCFlux::fmupare, simb::MCFlux::fmuparpx, simb::MCFlux::fmuparpy, simb::MCFlux::fmuparpz, simb::MCFlux::fndecay, simb::MCFlux::fndxdz, simb::MCFlux::fndxdzfar, simb::MCFlux::fndxdznea, simb::MCFlux::fndydz, simb::MCFlux::fndydzfar, simb::MCFlux::fndydznea, simb::MCFlux::fnecm, simb::MCFlux::fnenergy, simb::MCFlux::fnenergyf, simb::MCFlux::fnenergyn, simb::MCFlux::fnimpwt, simb::MCFlux::fnorig, simb::MCFlux::fnpz, simb::MCFlux::fntype, simb::MCFlux::fnwtfar, simb::MCFlux::fnwtnear, simb::MCFlux::fpdpx, simb::MCFlux::fpdpy, simb::MCFlux::fpdpz, simb::MCFlux::fppdxdz, simb::MCFlux::fppdydz, simb::MCFlux::fppenergy, simb::MCFlux::fppmedium, simb::MCFlux::fpppz, simb::MCFlux::fppvx, simb::MCFlux::fppvy, simb::MCFlux::fppvz, simb::MCFlux::fptype, simb::MCFlux::frun, simb::MCFlux::ftgen, simb::MCFlux::ftgppx, simb::MCFlux::ftgppy, simb::MCFlux::ftgppz, simb::MCFlux::ftgptype, simb::MCFlux::ftprivx, simb::MCFlux::ftprivy, simb::MCFlux::ftprivz, simb::MCFlux::ftptype, simb::MCFlux::ftpx, simb::MCFlux::ftpy, simb::MCFlux::ftpz, simb::MCFlux::ftvx, simb::MCFlux::ftvy, simb::MCFlux::ftvz, simb::MCFlux::fvx, simb::MCFlux::fvy, simb::MCFlux::fvz, simb::MCFlux::fxpoint, simb::MCFlux::fypoint, simb::MCFlux::fzpoint, and simb::MCFlux::Reset().
Referenced by Sample().
|
private |
Definition at line 1986 of file GENIEHelper.cxx.
References simb::MCFlux::fdk2gen, simb::MCFlux::fevtno, fFluxD, simb::MCFlux::fmupare, simb::MCFlux::fmuparpx, simb::MCFlux::fmuparpy, simb::MCFlux::fmuparpz, simb::MCFlux::fndecay, simb::MCFlux::fnecm, simb::MCFlux::fnenergyf, simb::MCFlux::fnenergyn, simb::MCFlux::fnimpwt, simb::MCFlux::fntype, simb::MCFlux::fnwtfar, simb::MCFlux::fnwtnear, simb::MCFlux::fpdpx, simb::MCFlux::fpdpy, simb::MCFlux::fpdpz, simb::MCFlux::fppdxdz, simb::MCFlux::fppdydz, simb::MCFlux::fppmedium, simb::MCFlux::fpppz, simb::MCFlux::fptype, simb::MCFlux::frun, simb::MCFlux::ftgen, simb::MCFlux::ftgptype, simb::MCFlux::ftptype, simb::MCFlux::ftpx, simb::MCFlux::ftpy, simb::MCFlux::ftpz, simb::MCFlux::fvx, simb::MCFlux::fvy, simb::MCFlux::fvz, and simb::MCFlux::Reset().
Referenced by Sample().
|
private |
determine which cross section table to use fully expand the path
Definition at line 2848 of file GENIEHelper.cxx.
References fEnvironment, fGXMLPATH, and fXSecTable.
Referenced by GENIEHelper().
bool evgb::GENIEHelper::Sample | ( | simb::MCTruth & | truth, |
simb::MCFlux & | flux, | ||
simb::GTruth & | gtruth | ||
) |
Definition at line 1486 of file GENIEHelper.cxx.
References bin, simb::MCParticle::E(), fDebugFlags, simb::MCFlux::fdk2gen, fDriver, fEventsPerSpill, fFluxD, fFluxD2GMCJD, fFluxHistograms, simb::MCFlux::fFluxType, fFluxType, 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, fUseHelperRndGen4GENIE, fWorldVolume, simb::MCTruth::GetNeutrino(), simb::kHistPlusFocus, simb::kNtuple, evgb::kNue, evgb::kNueBar, evgb::kNuMu, evgb::kNuMuBar, evgb::kNuTau, evgb::kNuTauBar, simb::kSimple_Flux, simb::MCNeutrino::Nu(), PackGTruth(), PackMCTruth(), PackNuMIFlux(), PackSimpleFlux(), simb::MCFlux::SetFluxGen(), and evgb::EvtTimeShiftI::TimeOffset().
Referenced by 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 2720 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 2667 of file GENIEHelper.cxx.
References fEnvironment, and fGXMLPATH.
Referenced by GENIEHelper().
|
private |
Definition at line 1403 of file GENIEHelper.cxx.
References fBeamName, fDetLocation, fFiducialCut, fFluxType, fGeoFile, fGeomScan, fMaxPathOutInfo, fSelectedFluxFiles, fTopVolume, and fWorldVolume.
Referenced by ConfigGeomScan().
|
inline |
Definition at line 70 of file GENIEHelper.h.
|
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 2744 of file GENIEHelper.cxx.
References fEnvironment, fGENIEMsgThresholds, and StringToBool().
Referenced by GENIEHelper().
bool evgb::GENIEHelper::Stop | ( | ) |
Definition at line 1431 of file GENIEHelper.cxx.
References fAtmoRt, fEventsPerSpill, fFluxD, fFluxType, fHelperRandom, fHistEventsPerSpill, fPOTPerSpill, fSpillEvents, fSpillExposure, fTotalExposure, fTotalHistFlux, fXSecMassPOT, and LOG_DEBUG.
Referenced by evgen::GENIEGen::produce().
|
private |
|
inline |
Definition at line 66 of file GENIEHelper.h.
Referenced by evgen::GENIEGen::endSubRun().
double evgb::GENIEHelper::TotalHistFlux | ( | ) |
Definition at line 586 of file GENIEHelper.cxx.
References fFluxType, and fTotalHistFlux.
|
inline |
Definition at line 77 of file GENIEHelper.h.
|
private |
atmo: Maximum energy of neutrinos in GeV
Definition at line 178 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
atmo: Minimum energy of neutrinos in GeV
Definition at line 177 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
atmo: radius of the sphere on where the neutrinos are generated
Definition at line 179 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
atmo: radius of the transvere (perpendicular) area on the sphere where the neutrinos are generated
Definition at line 180 of file GENIEHelper.h.
Referenced by GENIEHelper(), InitializeFluxDriver(), and Stop().
|
private |
center of beam for histogram fluxes - must be in meters
Definition at line 168 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
direction of the beam for histogram fluxes
Definition at line 167 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
name of the beam we are simulating
Definition at line 142 of file GENIEHelper.h.
Referenced by SetMaxPathOutInfo().
|
private |
radius of cylindar for histogram fluxes - must be in meters
Definition at line 169 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
set bits to enable debug info
Definition at line 194 of file GENIEHelper.h.
Referenced by GENIEHelper(), InitializeFluxDriver(), InitializeGeometry(), and Sample().
|
private |
mass of the detector in kg
Definition at line 170 of file GENIEHelper.h.
Referenced by GENIEHelper(), and Initialize().
|
private |
name of flux window location
Definition at line 149 of file GENIEHelper.h.
Referenced by GENIEHelper(), InitializeFluxDriver(), and SetMaxPathOutInfo().
|
private |
Definition at line 123 of file GENIEHelper.h.
Referenced by ConfigGeomScan(), Initialize(), Sample(), and ~GENIEHelper().
|
private |
Definition at line 164 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
Definition at line 163 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
environmental variables and settings used by genie
Definition at line 182 of file GENIEHelper.h.
Referenced by FindEventGeneratorList(), GENIEHelper(), ReadXSecTable(), SetGMSGLAYOUT(), SetGXMLPATH(), and StartGENIEMessenger().
|
private |
control over event topologies, was $GEVGL [Default]
Definition at line 184 of file GENIEHelper.h.
Referenced by FindEventGeneratorList(), 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 153 of file GENIEHelper.h.
Referenced by GENIEHelper(), Initialize(), Sample(), and Stop().
|
private |
configuration for geometry selector
Definition at line 191 of file GENIEHelper.h.
Referenced by GENIEHelper(), InitializeFiducialSelection(), InitializeRockBoxSelection(), and SetMaxPathOutInfo().
|
private |
"ALWAYS", "/var/tmp", "NEVER"
Definition at line 141 of file GENIEHelper.h.
Referenced by ~GENIEHelper().
|
private |
"DIRECT" = old direct access method, otherwise = ifdh approach schema ("" okay)
Definition at line 140 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsIFDH(), ExpandFluxPaths(), and GENIEHelper().
|
private |
real flux driver
Definition at line 121 of file GENIEHelper.h.
Referenced by ConfigGeomScan(), Initialize(), InitializeFluxDriver(), PackNuMIFlux(), PackSimpleFlux(), Sample(), Stop(), and ~GENIEHelper().
|
private |
flux driver passed to genie GMCJDriver, might be GFluxBlender
Definition at line 122 of file GENIEHelper.h.
Referenced by Initialize(), InitializeFluxDriver(), and Sample().
|
private |
wildcard patterns files containing histograms or ntuples, or txt
Definition at line 136 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsDirect(), ExpandFluxFilePatternsIFDH(), and GENIEHelper().
|
private |
histograms for each nu species
Definition at line 150 of file GENIEHelper.h.
Referenced by GENIEHelper(), InitializeFluxDriver(), and Sample().
|
private |
rotation for atmos / astro flux coord systems
Definition at line 145 of file GENIEHelper.h.
Referenced by BuildFluxRotation(), GENIEHelper(), and InitializeFluxDriver().
|
private |
how to interpret fFluxRotValues
Definition at line 143 of file GENIEHelper.h.
Referenced by BuildFluxRotation().
|
private |
parameters for rotation
Definition at line 144 of file GENIEHelper.h.
Referenced by BuildFluxRotation().
|
private |
colon separated set of path stems
Definition at line 135 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 132 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsDirect(), ExpandFluxFilePatternsIFDH(), GENIEHelper(), Initialize(), InitializeFluxDriver(), Sample(), SetMaxPathOutInfo(), Stop(), TotalHistFlux(), and ~GENIEHelper().
|
private |
z where flux starts from (if non-default, simple/ntuple only)
Definition at line 152 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
Definition at line 162 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
Definition at line 161 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
pdg codes for flavors to generate
Definition at line 176 of file GENIEHelper.h.
Referenced by GENIEHelper(), InitializeFluxDriver(), and Sample().
|
private |
last generated event
Definition at line 119 of file GENIEHelper.h.
Referenced by Sample(), and ~GENIEHelper().
|
private |
additional XML file setting Messager level thresholds (":" separated)
Definition at line 187 of file GENIEHelper.h.
Referenced by GENIEHelper(), and StartGENIEMessenger().
|
private |
name of file containing the Geometry description
Definition at line 117 of file GENIEHelper.h.
Referenced by SetMaxPathOutInfo().
|
private |
pointer to ROOT TGeoManager
Definition at line 116 of file GENIEHelper.h.
Referenced by InitializeGeometry(), and Sample().
|
private |
Definition at line 120 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 192 of file GENIEHelper.h.
Referenced by ConfigGeomScan(), GENIEHelper(), and SetMaxPathOutInfo().
|
private |
GHepRecord::SetPrintLevel(), -1=no-print.
Definition at line 188 of file GENIEHelper.h.
Referenced by GENIEHelper(), and Sample().
|
private |
overall time shift (ns) added to every particle time
Definition at line 173 of file GENIEHelper.h.
Referenced by GENIEHelper(), PackMCTruth(), and Sample().
|
private |
format for GENIE log message [BASIC]|SIMPLE (SIMPLE=no timestamps)
Definition at line 186 of file GENIEHelper.h.
Referenced by GENIEHelper(), and SetGMSGLAYOUT().
|
private |
locations for GENIE XML files
Definition at line 185 of file GENIEHelper.h.
Referenced by GENIEHelper(), ReadXSecTable(), and SetGXMLPATH().
|
private |
random # generator for GENIEHelper
Definition at line 128 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsDirect(), ExpandFluxFilePatternsIFDH(), GENIEHelper(), Initialize(), PackMCTruth(), Sample(), Stop(), and ~GENIEHelper().
|
private |
number of events per spill for histogram fluxes - changes each spill
Definition at line 156 of file GENIEHelper.h.
Referenced by GENIEHelper(), Initialize(), and Stop().
|
private |
(optional) flux file handling
Definition at line 126 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsIFDH(), and ~GENIEHelper().
|
private |
maximum size of flux files (MB)
Definition at line 138 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsDirect(), and ExpandFluxFilePatternsIFDH().
|
private |
maximum # of flux files
Definition at line 139 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsDirect(), and ExpandFluxFilePatternsIFDH().
|
private |
output info if writing PathLengthList from GeomScan
Definition at line 193 of file GENIEHelper.h.
Referenced by SetMaxPathOutInfo(), and ~GENIEHelper().
|
private |
baseline distance if genie flux can't calculate it
Definition at line 190 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
configuration string for genie GFlavorMixerI
Definition at line 189 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
energy of monoenergetic neutrinos
Definition at line 160 of file GENIEHelper.h.
Referenced by GENIEHelper(), and InitializeFluxDriver().
|
private |
number of pot per spill
Definition at line 155 of file GENIEHelper.h.
Referenced by GENIEHelper(), Initialize(), and Stop().
|
private |
additional random time shift (ns) added to every particle time
Definition at line 174 of file GENIEHelper.h.
Referenced by GENIEHelper(), PackMCTruth(), and Sample().
|
private |
flux files selected after wildcard expansion and subset selection
Definition at line 137 of file GENIEHelper.h.
Referenced by ExpandFluxFilePatternsDirect(), ExpandFluxFilePatternsIFDH(), GENIEHelper(), InitializeFluxDriver(), SetMaxPathOutInfo(), and ~GENIEHelper().
|
private |
total events for this spill
Definition at line 157 of file GENIEHelper.h.
Referenced by GENIEHelper(), Initialize(), Sample(), and Stop().
|
private |
total exposure (i.e. pot) for this spill
Definition at line 158 of file GENIEHelper.h.
Referenced by GENIEHelper(), Initialize(), Sample(), and Stop().
|
private |
alternative to flat spill distribution
Definition at line 175 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 171 of file GENIEHelper.h.
Referenced by GENIEHelper(), and Initialize().
|
private |
generator for time offset within a spill
Definition at line 130 of file GENIEHelper.h.
Referenced by GENIEHelper(), and Sample().
|
private |
top volume in the ROOT geometry in which to generate events
Definition at line 147 of file GENIEHelper.h.
Referenced by GENIEHelper(), InitializeGeometry(), InitializeRockBoxSelection(), Sample(), and SetMaxPathOutInfo().
|
private |
pot used from flux ntuple
Definition at line 159 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 166 of file GENIEHelper.h.
Referenced by GENIEHelper(), Initialize(), Stop(), and TotalHistFlux().
|
private |
use fHelperRandom for gRandom during Sample()
Definition at line 129 of file GENIEHelper.h.
Referenced by Sample().
|
private |
name of the world volume in the ROOT geometry
Definition at line 148 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 165 of file GENIEHelper.h.
Referenced by Initialize(), and Stop().
|
private |
cross section file (was $GSPLOAD)
Definition at line 183 of file GENIEHelper.h.
Referenced by GENIEHelper(), and ReadXSecTable().