LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "LArG4Parameters.h"
Public Member Functions | |
LArG4Parameters (fhicl::ParameterSet const &pset, art::ActivityRegistry ®) | |
~LArG4Parameters () | |
void | reconfigure (fhicl::ParameterSet const &pset) |
int | OpVerbosity () const |
double | ParticleKineticEnergyCut () const |
bool | StoreTrajectories () const |
bool | DrawNeutrals () const |
double | VisualizationEnergyCut () const |
bool | UseCustomPhysics () const |
double | RecombA () const |
double | Recombk () const |
double | ModBoxA () const |
double | ModBoxB () const |
bool | UseModBoxRecomb () const |
double | GeVToElectrons () const |
double | LongitudinalDiffusion () const |
double | TransverseDiffusion () const |
double | ElectronClusterSize () const |
int | MinNumberOfElCluster () const |
const std::vector< std::string > & | EnabledPhysics () const |
int | K0Bias () const |
int | MNXBias () const |
int | MNXSBias () const |
bool | KeepEMShowerDaughters () const |
bool | DisableWireplanes () const |
const std::vector< unsigned short int > | SkipWireSignalInTPCs () const |
const std::string | IonAndScintCalculator () const |
const std::vector< std::string > | OpticalParamVolumes () const |
const std::vector< std::string > | OpticalParamModels () const |
const std::vector< int > | OpticalParamOrientations () const |
const std::vector< std::vector< std::vector< double > > > | OpticalParamParameters () const |
bool | UseLitePhotons () const |
bool | FillSimEnergyDeposits () const |
bool | NoElectronPropagation () const |
bool | NoPhotonPropagation () const |
Private Attributes | |
int | fOpVerbosity |
Verbosity of optical simulation - soon to be depricated. More... | |
double | fParticleKineticECut |
bool | fStoreTrajectories |
bool | fDrawNeutrals |
depricated More... | |
double | fVisualizationEnergyCut |
depricated, GeV More... | |
bool | fUseCustomPhysics |
double | fLongitudinalDiffusion |
Amount of diffusion in the longitudinal direction, cm^2/ns. More... | |
double | fTransverseDiffusion |
Amount of diffusion in the transverse direction, cm^2/ns. More... | |
double | fElectronClusterSize |
int | fMinNumberOfElCluster |
Minimum number of electron clusters. More... | |
std::vector< std::string > | fEnabledPhysics |
List of enabled physics processes if using Custom physics. More... | |
int | fK0Bias |
int | fXSBias |
Turns on cross-section bian in MuNuclear. More... | |
int | fXBias |
bool | fKeepEMShowerDaughters |
bool | fDisableWireplanes |
std::vector< unsigned short int > | fSkipWireSignalInTPCs |
selective disabling of drift simulation More... | |
double | fRecombA |
Possibly override the RecombA parameter. More... | |
double | fRecombk |
Possibly override the Recombk parameter. More... | |
double | fModBoxA |
Possibly override the ModBoxA parameter. More... | |
double | fModBoxB |
Possibly override the ModBoxB parameter. More... | |
bool | fUseModBoxRecomb |
Use Modified Box model recombination instead of Birks. More... | |
std::string | fIonAndScintCalculator |
std::vector< std::string > | fOpticalParamVolumes |
std::vector< std::string > | fOpticalParamModels |
List of names of those models. More... | |
std::vector< int > | fOpticalParamOrientations |
std::vector< std::vector< std::vector< double > > > | fOpticalParamParameters |
bool | fLitePhotons |
bool | fFillSimEnergyDeposits |
handle to fill SimEdeps or not More... | |
bool | fNoElectronPropagation |
specifically prevents electron propagation More... | |
bool | fNoPhotonPropagation |
specifically prevents photon propagation in opfast More... | |
Definition at line 30 of file LArG4Parameters.h.
sim::LArG4Parameters::LArG4Parameters | ( | fhicl::ParameterSet const & | pset, |
art::ActivityRegistry & | reg | ||
) |
Definition at line 21 of file LArG4Parameters_service.cc.
References reconfigure().
|
inline |
|
inline |
Definition at line 58 of file LArG4Parameters.h.
References fDisableWireplanes.
Referenced by larg4::ModularPhysicsList::ConstructProcess(), and larg4::LArVoxelReadout::Initialize().
|
inline |
Definition at line 40 of file LArG4Parameters.h.
References fDrawNeutrals.
Referenced by larg4::VisualizationAction::VisualizationAction().
|
inline |
Definition at line 51 of file LArG4Parameters.h.
References fElectronClusterSize.
Referenced by detsim::SimDriftElectrons::beginJob(), and larg4::LArVoxelReadout::Initialize().
|
inline |
Definition at line 53 of file LArG4Parameters.h.
References fEnabledPhysics.
Referenced by larg4::ModularPhysicsList::ConstructProcess().
|
inline |
Definition at line 67 of file LArG4Parameters.h.
References fFillSimEnergyDeposits.
Referenced by larg4::LArG4::LArG4(), larg4::LArG4::produce(), and larg4::OpFastScintillation::RecordPhotonsProduced().
|
inline |
Definition at line 48 of file LArG4Parameters.h.
References util::kGeVToElectrons.
Referenced by lar::example::AnalysisExample::beginRun(), sim::SimListUtils::GetLArVoxelList(), larg4::ISCalculationSeparate::Initialize(), larg4::ISCalcSeparate::Initialize(), and nnet::TrainingDataAlg::setEventData().
|
inline |
Definition at line 60 of file LArG4Parameters.h.
References fIonAndScintCalculator.
Referenced by larg4::IonizationAndScintillation::IonizationAndScintillation().
|
inline |
Definition at line 54 of file LArG4Parameters.h.
References fK0Bias.
Referenced by larg4::ModularPhysicsList::ConstructProcess().
|
inline |
Definition at line 57 of file LArG4Parameters.h.
References fKeepEMShowerDaughters.
Referenced by larg4::LArG4::beginJob().
|
inline |
Definition at line 49 of file LArG4Parameters.h.
References fLongitudinalDiffusion.
Referenced by detsim::SimDriftElectrons::beginJob(), and larg4::LArVoxelReadout::Initialize().
|
inline |
Definition at line 52 of file LArG4Parameters.h.
References fMinNumberOfElCluster.
Referenced by detsim::SimDriftElectrons::beginJob(), and larg4::LArVoxelReadout::Initialize().
|
inline |
Definition at line 55 of file LArG4Parameters.h.
References fXBias.
Referenced by larg4::ModularPhysicsList::ConstructProcess().
|
inline |
Definition at line 56 of file LArG4Parameters.h.
References fXSBias.
Referenced by larg4::ModularPhysicsList::ConstructProcess().
|
inline |
Definition at line 45 of file LArG4Parameters.h.
References fModBoxA.
Referenced by larg4::ISCalculationSeparate::Initialize(), and larg4::ISCalcSeparate::Initialize().
|
inline |
Definition at line 46 of file LArG4Parameters.h.
References fModBoxB.
Referenced by larg4::ISCalculationSeparate::Initialize(), and larg4::ISCalcSeparate::Initialize().
|
inline |
Definition at line 68 of file LArG4Parameters.h.
References fNoElectronPropagation.
Referenced by larg4::LArVoxelReadout::Initialize(), larg4::LArG4::LArG4(), and larg4::LArG4::produce().
|
inline |
Definition at line 69 of file LArG4Parameters.h.
References fNoPhotonPropagation.
Referenced by larg4::LArG4::LArG4(), and larg4::LArG4::produce().
|
inline |
Definition at line 62 of file LArG4Parameters.h.
References fOpticalParamModels.
Referenced by larg4::OpDetReadoutGeometry::Construct().
|
inline |
Definition at line 63 of file LArG4Parameters.h.
References fOpticalParamOrientations.
Referenced by larg4::OpDetReadoutGeometry::Construct().
|
inline |
Definition at line 64 of file LArG4Parameters.h.
References fOpticalParamParameters.
Referenced by larg4::OpDetReadoutGeometry::Construct().
|
inline |
Definition at line 61 of file LArG4Parameters.h.
References fOpticalParamVolumes.
Referenced by larg4::OpDetReadoutGeometry::Construct().
|
inline |
Definition at line 37 of file LArG4Parameters.h.
References fOpVerbosity.
Referenced by larg4::OpBoundaryProcessSimple::PostStepDoIt().
|
inline |
Definition at line 38 of file LArG4Parameters.h.
References fParticleKineticECut.
Referenced by larg4::LArG4::beginJob().
|
inline |
Definition at line 43 of file LArG4Parameters.h.
References fRecombA.
Referenced by larg4::ISCalculationSeparate::Initialize(), and larg4::ISCalcSeparate::Initialize().
|
inline |
Definition at line 44 of file LArG4Parameters.h.
References fRecombk.
Referenced by larg4::ISCalculationSeparate::Initialize(), and larg4::ISCalcSeparate::Initialize().
void sim::LArG4Parameters::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 27 of file LArG4Parameters_service.cc.
References DEFINE_ART_SERVICE, fDisableWireplanes, fDrawNeutrals, fElectronClusterSize, fEnabledPhysics, fFillSimEnergyDeposits, fIonAndScintCalculator, fK0Bias, fKeepEMShowerDaughters, fLitePhotons, fLongitudinalDiffusion, fMinNumberOfElCluster, fModBoxA, fModBoxB, fNoElectronPropagation, fNoPhotonPropagation, fOpticalParamModels, fOpticalParamOrientations, fOpticalParamParameters, fOpticalParamVolumes, fOpVerbosity, fParticleKineticECut, fRecombA, fRecombk, fSkipWireSignalInTPCs, fStoreTrajectories, fTransverseDiffusion, fUseCustomPhysics, fUseModBoxRecomb, fVisualizationEnergyCut, fXBias, fXSBias, fhicl::ParameterSet::get(), util::kModBoxA, util::kModBoxB, util::kRecombA, and util::kRecombk.
Referenced by LArG4Parameters(), and ~LArG4Parameters().
|
inline |
Definition at line 59 of file LArG4Parameters.h.
References fSkipWireSignalInTPCs.
Referenced by larg4::LArVoxelReadout::Initialize().
|
inline |
Definition at line 39 of file LArG4Parameters.h.
References fStoreTrajectories.
Referenced by larg4::LArG4::beginJob().
|
inline |
Definition at line 50 of file LArG4Parameters.h.
References fTransverseDiffusion.
Referenced by detsim::SimDriftElectrons::beginJob(), and larg4::LArVoxelReadout::Initialize().
|
inline |
Definition at line 42 of file LArG4Parameters.h.
References fUseCustomPhysics.
Referenced by larg4::ModularPhysicsList::ConstructProcess().
|
inline |
Definition at line 65 of file LArG4Parameters.h.
References fLitePhotons.
Referenced by opdet::SimPhotonCounter::analyze(), larg4::LArG4::LArG4(), sim::MergeSimSources::MergeSimSources(), phot::PhotonLibraryPropagation::PhotonLibraryPropagation(), opdet::OpMCDigi::produce(), phot::PhotonLibraryPropagation::produce(), and larg4::OpFastScintillation::RecordPhotonsProduced().
|
inline |
Definition at line 47 of file LArG4Parameters.h.
References fUseModBoxRecomb.
Referenced by larg4::ISCalculationSeparate::Initialize(), and larg4::ISCalcSeparate::Initialize().
|
inline |
Definition at line 41 of file LArG4Parameters.h.
References fVisualizationEnergyCut.
Referenced by larg4::VisualizationAction::VisualizationAction().
|
private |
Turn of LAr sensitivity and remove charge drift simulation - use for running pure optical sims
Definition at line 94 of file LArG4Parameters.h.
Referenced by DisableWireplanes(), and reconfigure().
|
private |
depricated
Definition at line 77 of file LArG4Parameters.h.
Referenced by DrawNeutrals(), and reconfigure().
|
private |
Number of ionization electrons in a given cluster to be simulated in the readout simulation
Definition at line 83 of file LArG4Parameters.h.
Referenced by ElectronClusterSize(), and reconfigure().
|
private |
List of enabled physics processes if using Custom physics.
Definition at line 86 of file LArG4Parameters.h.
Referenced by EnabledPhysics(), and reconfigure().
|
private |
handle to fill SimEdeps or not
Definition at line 117 of file LArG4Parameters.h.
Referenced by FillSimEnergyDeposits(), and reconfigure().
|
private |
Name of algorithm to use to calculate the number of ionization electrons and scintillation photons for each G4 step, used by LArG4/IonizationAndScintillation.cxx
Definition at line 102 of file LArG4Parameters.h.
Referenced by IonAndScintCalculator(), and reconfigure().
|
private |
Turns on secondary particle bias for K0, Lambda, neutrons in MuNuclear
Definition at line 87 of file LArG4Parameters.h.
Referenced by K0Bias(), and reconfigure().
|
private |
Whether to keep the secondary, tertiary, etc. particles from an EM shower in the output
Definition at line 92 of file LArG4Parameters.h.
Referenced by KeepEMShowerDaughters(), and reconfigure().
|
private |
Definition at line 115 of file LArG4Parameters.h.
Referenced by reconfigure(), and UseLitePhotons().
|
private |
Amount of diffusion in the longitudinal direction, cm^2/ns.
Definition at line 81 of file LArG4Parameters.h.
Referenced by LongitudinalDiffusion(), and reconfigure().
|
private |
Minimum number of electron clusters.
Definition at line 85 of file LArG4Parameters.h.
Referenced by MinNumberOfElCluster(), and reconfigure().
|
private |
Possibly override the ModBoxA parameter.
Definition at line 99 of file LArG4Parameters.h.
Referenced by ModBoxA(), and reconfigure().
|
private |
Possibly override the ModBoxB parameter.
Definition at line 100 of file LArG4Parameters.h.
Referenced by ModBoxB(), and reconfigure().
|
private |
specifically prevents electron propagation
Definition at line 119 of file LArG4Parameters.h.
Referenced by NoElectronPropagation(), and reconfigure().
|
private |
specifically prevents photon propagation in opfast
Definition at line 120 of file LArG4Parameters.h.
Referenced by NoPhotonPropagation(), and reconfigure().
|
private |
List of names of those models.
Definition at line 108 of file LArG4Parameters.h.
Referenced by OpticalParamModels(), and reconfigure().
|
private |
List of orientations of (eg wireplane) in each param volume
Definition at line 109 of file LArG4Parameters.h.
Referenced by OpticalParamOrientations(), and reconfigure().
|
private |
Model dependent list of parameters for optically paramaterized volumes
Definition at line 111 of file LArG4Parameters.h.
Referenced by OpticalParamParameters(), and reconfigure().
|
private |
List of volume names which have parameterized optical models
Definition at line 106 of file LArG4Parameters.h.
Referenced by OpticalParamVolumes(), and reconfigure().
|
private |
Verbosity of optical simulation - soon to be depricated.
Definition at line 72 of file LArG4Parameters.h.
Referenced by OpVerbosity(), and reconfigure().
|
private |
Minimum energy a particle needs before asking Geant4 to track it, GeV
Definition at line 73 of file LArG4Parameters.h.
Referenced by ParticleKineticEnergyCut(), and reconfigure().
|
private |
Possibly override the RecombA parameter.
Definition at line 97 of file LArG4Parameters.h.
Referenced by RecombA(), and reconfigure().
|
private |
Possibly override the Recombk parameter.
Definition at line 98 of file LArG4Parameters.h.
Referenced by Recombk(), and reconfigure().
|
private |
selective disabling of drift simulation
Definition at line 96 of file LArG4Parameters.h.
Referenced by reconfigure(), and SkipWireSignalInTPCs().
|
private |
Whether to store full trajectories for every particle simulated by Geant4
Definition at line 75 of file LArG4Parameters.h.
Referenced by reconfigure(), and StoreTrajectories().
|
private |
Amount of diffusion in the transverse direction, cm^2/ns.
Definition at line 82 of file LArG4Parameters.h.
Referenced by reconfigure(), and TransverseDiffusion().
|
private |
Whether to use a custom list of physics processes or the default
Definition at line 79 of file LArG4Parameters.h.
Referenced by reconfigure(), and UseCustomPhysics().
|
private |
Use Modified Box model recombination instead of Birks.
Definition at line 101 of file LArG4Parameters.h.
Referenced by reconfigure(), and UseModBoxRecomb().
|
private |
depricated, GeV
Definition at line 78 of file LArG4Parameters.h.
Referenced by reconfigure(), and VisualizationEnergyCut().
|
private |
Enhancement factor for cross-section bian in MuNuclear, should be <= 100
Definition at line 90 of file LArG4Parameters.h.
Referenced by MNXBias(), and reconfigure().
|
private |
Turns on cross-section bian in MuNuclear.
Definition at line 89 of file LArG4Parameters.h.
Referenced by MNXSBias(), and reconfigure().