15 #include <unordered_map> 21 inline std::unordered_map<int, std::unordered_map<int, std::string> > &
processTable()
23 static std::unordered_map<int, std::unordered_map<int, std::string> > m_processTable;
24 static bool firstTime =
true;
31 m_processTable[1][91] =
"Transportation:Transportation";
32 m_processTable[1][92] =
"Transportation:CoupledTransportation";
35 m_processTable[2][1] =
"EM:CoulombScattering";
36 m_processTable[2][2] =
"EM:Ionisation";
37 m_processTable[2][3] =
"EM:Bremsstrahlung";
38 m_processTable[2][4] =
"EM:PairProductionByCharged";
39 m_processTable[2][5] =
"EM:Annihilation";
40 m_processTable[2][6] =
"EM:AnnihilationToMuMu";
41 m_processTable[2][7] =
"EM:AnnihilationToHadrons";
42 m_processTable[2][8] =
"EM:NuclearStopping";
43 m_processTable[2][10] =
"EM:MultipleScattering";
44 m_processTable[2][11] =
"EM:Rayleigh";
45 m_processTable[2][12] =
"EM:PhotoElectricEffect";
46 m_processTable[2][13] =
"EM:ComptonScattering";
47 m_processTable[2][14] =
"EM:GammaConversion";
48 m_processTable[2][15] =
"EM:GammaConversionToMuMu";
49 m_processTable[2][21] =
"EM:Cerenkov";
50 m_processTable[2][22] =
"EM:Scintillation";
51 m_processTable[2][23] =
"EM:SynchrotronRadiation";
52 m_processTable[2][24] =
"EM:TransitionRadiation";
55 m_processTable[4][31] =
"OPT:OpAbsorption";
56 m_processTable[4][32] =
"OPT:OpBoundary";
57 m_processTable[4][33] =
"OPT:OpRayleigh";
58 m_processTable[4][34] =
"OPT:OpWLS";
59 m_processTable[4][35] =
"OPT:OpMieHG";
62 m_processTable[4][111] =
"HAD:HadronElastic";
63 m_processTable[4][121] =
"HAD:HadronInelastic";
64 m_processTable[4][131] =
"HAD:Capture";
65 m_processTable[4][141] =
"HAD:Fission";
66 m_processTable[4][151] =
"HAD:HadronAtRest";
67 m_processTable[4][152] =
"HAD:LeptonAtRest";
68 m_processTable[4][161] =
"HAD:ChargeExchange";
69 m_processTable[4][210] =
"HAD:RadioactiveDecay";
74 m_processTable[6][201] =
"DEC:Decay";
75 m_processTable[6][202] =
"DEC:DecayWithSpin";
76 m_processTable[6][203] =
"DEC:DecayPionMakeSpin";
77 m_processTable[6][210] =
"DEC:Radioactive";
78 m_processTable[6][211] =
"DEC:Unknown";
79 m_processTable[6][231] =
"DEC:External";
82 m_processTable[7][401] =
"General:StepLimiter";
83 m_processTable[7][402] =
"General:UserSpecialCuts";
84 m_processTable[7][403] =
"General:NeutronKiller";
95 m_processTable[12][41] =
"UCN:UCNLoss";
96 m_processTable[12][42] =
"UCN:UCNAbsorption";
97 m_processTable[12][43] =
"UCN:UCNBoundary";
98 m_processTable[12][44] =
"UCN:UCNMultiScattering";
100 return m_processTable;
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
Namespace for general, non-LArSoft-specific utilities.
std::unordered_map< int, std::unordered_map< int, std::string > > & processTable()
std::string FindProcessName(int process, int subprocess)
General GArSoft Utilities.