The simplest job module possible to illustrate the essential features of a job module. More...
Classes | |
class | App |
class | DemoModule |
class | DemoSyst1 |
class | DemoSyst2 |
class | MyEventAction |
class | MyPrimaryGeneratorAction |
class | MyRunAction |
class | MySteppingAction |
class | ScoreSD |
Functions | |
TCanvas * | DrawUpDownRatioCanvas (const PredictionInterp *pred, osc::IOscCalc *calc, const ISyst *syst) |
def | init_root () |
def | hini () |
def | hshow () |
def | posXZ (copyN) |
def | Configure () |
def | ConstructGeom () |
Variables | |
const DemoSyst1 | kDemoSyst1 |
const DemoSyst2 | kDemoSyst2 |
myDC = testem0.DetectorConstruction() | |
myPL = testem0.PhysicsList() | |
myPGA = testem0.PrimaryGeneratorAction(myDC) | |
myRA = testem0.RunAction(myDC,myPGA) | |
pg = g4.G4ParticleGun() | |
materialList = testem0.getMaterialTable(); | |
particleList = testem0.getParticleTable() | |
list | enrgyList = ["eV","keV","MeV","GeV","TeV","PeV"] |
list | cutsList = ["um", "mm" , "cm", "m", "km"] |
app = App() | |
rand_engine = Ranlux64Engine() | |
exN03geom = g4py.ExN03geom.ExN03DetectorConstruction() | |
exN03PL = g4py.EMSTDpl.PhysicsListEMstd() | |
heprepViewer = os.environ.get("G4HEPREPFILE_VIEWER") | |
heprepDir = os.environ.get("G4HEPREPFILE_DIR") | |
heprepName = os.environ.get("G4HEPREPFILE_NAME") | |
vrmlDir = os.environ.get("G4VRML_DEST_DIR") | |
vrmlViewer = os.environ.get("G4VRMLFILE_VIEWER") | |
The simplest job module possible to illustrate the essential features of a job module.
package to illustrate how to write modules
def demo.Configure | ( | ) |
def demo.ConstructGeom | ( | ) |
TCanvas* demo::DrawUpDownRatioCanvas | ( | const PredictionInterp * | pred, |
osc::IOscCalc * | calc, | ||
const ISyst * | syst | ||
) |
Definition at line 143 of file demoSysts.C.
References plot_validation_datamc::c, kBlue, kRed, MECModelEnuComparisons::leg, pot, ana::PredictionInterp::PredictSyst(), ana::IPrediction::PredictUnoscillated(), ana::SystShifts::SetShift(), ana::SplitCanvas(), top, and ana::Ratio::ToTH1().
Referenced by demoSysts().
def demo.posXZ | ( | copyN | ) |
Definition at line 140 of file demo.py.
References python.gApplyUICommand, hini(), and init_root().
Referenced by demo.ScoreSD.ProcessHits().
demo.app = App() |
Definition at line 189 of file demo.py.
Referenced by addToKeyPlotList(), ddt::SMMEff.analyze(), align::AlignInspect.analyze(), air::AirKalmanAna.analyze(), nova::database::Table.BulkInsertInDB(), nutools::dbi::Table.CacheDBCommand(), nova::dbi::Table.CacheDBCommand(), comi::DataCheck.endJob(), cmf::EventListManipulator.FillTextFile(), nova::database::Table.GetRowByColSet(), genie::NievesQELCCPXSec.LmunuAnumu(), evdb::RootEnv.LoadIncludes(), main(), makeCSVFile(), NuMu2020_MakePIDPlots(), evdb::EventDisplay.postProcessEvent(), PrintFitResults(), evdb::ScanFrame.Record(), evdb::RootEnv.RootEnv(), evdb::RootEnv.Run(), TEST_F(), nova::dbi::Table.WriteToCSV(), and nutools::dbi::Table.WriteToCSV().
const DemoSyst1 demo::kDemoSyst1 |
Definition at line 88 of file demoSysts.C.
Referenced by demoSysts().
const DemoSyst2 demo::kDemoSyst2 |
Definition at line 139 of file demoSysts.C.
Referenced by demoSysts().
demo.particleList = testem0.getParticleTable() |
Definition at line 41 of file demo.py.
Referenced by numue::NumuEAna.analyze(), murem::MuonRemove.FillTruthInfo(), numue::NumuEAlg.MCTruthEnergyVariables(), murem::MergeTruth.produce(), cheat::BackTracker.SliceToMCTruth(), cheat::BackTracker.SliceToNeutrinoIndex(), and cheat::BackTracker.SliceToNeutrinoInteractions().