49 #include "G4CascadeKminusNChannel.hh" 50 #include "G4CascadeKminusPChannel.hh" 57 #include "G4CascadeLambdaNChannel.hh" 58 #include "G4CascadeLambdaPChannel.hh" 64 #include "G4CascadePiPlusNChannel.hh" 65 #include "G4CascadePiPlusPChannel.hh" 66 #include "G4CascadePiZeroNChannel.hh" 67 #include "G4CascadePiZeroPChannel.hh" 76 #include "G4CascadeXiZeroNChannel.hh" 77 #include "G4CascadeXiZeroPChannel.hh" 111 tables[
kmi*
neu] =
new G4CascadeKminusNChannel;
112 tables[
kmi*
pro] =
new G4CascadeKminusPChannel;
115 tables[
lam*
neu] =
new G4CascadeLambdaNChannel;
116 tables[
lam*
pro] =
new G4CascadeLambdaPChannel;
119 tables[
pi0*
neu] =
new G4CascadePiZeroNChannel;
120 tables[
pi0*
pro] =
new G4CascadePiZeroPChannel;
123 tables[
pip*
neu] =
new G4CascadePiPlusNChannel;
124 tables[
pip*
pro] =
new G4CascadePiPlusPChannel;
132 tables[
xi0*
neu] =
new G4CascadeXiZeroNChannel;
133 tables[
xi0*
pro] =
new G4CascadeXiZeroPChannel;
142 TableMap::iterator entry;
143 for (entry = tables.begin(); entry != tables.end(); ++entry) {
144 delete entry->second; entry->second = 0;
154 return instance().FindTable(initialState);
161 return GetTable(had1*had2);
168 #ifdef G4CASCADE_DEBUG_SAMPLER 169 G4cout <<
"G4CascadeChannelTables::FindTable " << initialState <<
G4endl;
171 TableMap::const_iterator entry = tables.find(initialState);
172 return (entry != tables.end()) ? entry->second : 0;
180 TableMap::const_iterator entry;
181 for (entry = theTables.begin(); entry != theTables.end(); ++entry) {
182 if (entry->second) entry->second->printTable(os);
static const G4CascadeChannel * GetTable(G4int initialState)
G4CascadeFunctions< G4CascadeKplusNChannelData, G4KaonSampler > G4CascadeKplusNChannel
~G4CascadeChannelTables()
G4CascadeFunctions< G4CascadeSigmaPlusPChannelData, G4KaonHypSampler > G4CascadeSigmaPlusPChannel
G4CascadeFunctions< G4CascadeKzeroPChannelData, G4KaonHypSampler > G4CascadeKzeroPChannel
G4CascadeFunctions< G4CascadeKzeroBarNChannelData, G4KaonHypSampler > G4CascadeKzeroBarNChannel
G4CascadeFunctions< G4CascadeSigmaPlusNChannelData, G4KaonHypSampler > G4CascadeSigmaPlusNChannel
virtual void printTable(std::ostream &os=G4cout) const =0
std::map< G4int, G4CascadeChannel * > TableMap
G4CascadeFunctions< G4CascadeSigmaMinusNChannelData, G4KaonHypSampler > G4CascadeSigmaMinusNChannel
G4CascadeFunctions< G4CascadeGamPChannelData, G4PionNucSampler > G4CascadeGamPChannel
G4CascadeFunctions< G4CascadeSigmaZeroPChannelData, G4KaonHypSampler > G4CascadeSigmaZeroPChannel
G4CascadeFunctions< G4CascadePiMinusNChannelData, G4PionNucSampler > G4CascadePiMinusNChannel
G4GLOB_DLL std::ostream G4cout
G4CascadeFunctions< G4CascadeKzeroNChannelData, G4KaonHypSampler > G4CascadeKzeroNChannel
G4CascadeFunctions< G4CascadeSigmaMinusPChannelData, G4KaonHypSampler > G4CascadeSigmaMinusPChannel
G4CascadeFunctions< G4CascadeXiMinusPChannelData, G4KaonHypSampler > G4CascadeXiMinusPChannel
static G4ThreadLocal G4CascadeChannelTables * theInstance
static void Print(std::ostream &os=G4cout)
const G4CascadeChannel * FindTable(G4int initialState) const
G4CascadeFunctions< G4CascadeGamNChannelData, G4PionNucSampler > G4CascadeGamNChannel
G4CascadeFunctions< G4CascadeOmegaMinusNChannelData, G4KaonHypSampler > G4CascadeOmegaMinusNChannel
G4CascadeFunctions< G4CascadeXiMinusNChannelData, G4KaonHypSampler > G4CascadeXiMinusNChannel
G4CascadeFunctions< G4CascadeOmegaMinusPChannelData, G4KaonHypSampler > G4CascadeOmegaMinusPChannel
static const G4CascadeChannelTables & instance()
G4CascadeFunctions< G4CascadeMuMinusPChannelData, G4PionNucSampler > G4CascadeMuMinusPChannel
static void PrintTable(G4int initialState, std::ostream &os=G4cout)
G4CascadeFunctions< G4CascadePiMinusPChannelData, G4PionNucSampler > G4CascadePiMinusPChannel
static MCTruthManager * instance
G4CascadeFunctions< G4CascadeSigmaZeroNChannelData, G4KaonHypSampler > G4CascadeSigmaZeroNChannel
G4CascadeFunctions< G4CascadeKplusPChannelData, G4KaonSampler > G4CascadeKplusPChannel
G4CascadeFunctions< G4CascadeKzeroBarPChannelData, G4KaonHypSampler > G4CascadeKzeroBarPChannel