Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4BaryonPartialWidth Class Reference

#include <G4BaryonPartialWidth.hh>

Inheritance diagram for G4BaryonPartialWidth:
Collaboration diagram for G4BaryonPartialWidth:

Public Member Functions

 G4BaryonPartialWidth ()
 
virtual ~G4BaryonPartialWidth ()
 
virtual G4PhysicsVectorMassDependentWidth (const G4String &name) const
 
- Public Member Functions inherited from G4ResonancePartialWidth
 G4ResonancePartialWidth ()
 
virtual ~G4ResonancePartialWidth ()
 

Detailed Description

Definition at line 51 of file G4BaryonPartialWidth.hh.

Constructor & Destructor Documentation

G4BaryonPartialWidth::G4BaryonPartialWidth ( )

Definition at line 906 of file G4BaryonPartialWidth.cc.

906  : wSize(120)
907 {
908  wMap["N1440_Npi"] = (G4double*) pwN1440_Npi;
909  wMap["N1440_Npipi"] = (G4double*) pwN1440_Npipi;
910  wMap["N1440_Dpi"] = (G4double*) pwN1440_Dpi;
911 
912  wMap["N1520_Ngamma"] = (G4double*) pwN1520_Ngamma;
913  wMap["N1520_Npi"] = (G4double*) pwN1520_Npi;
914  wMap["N1520_Npipi"] = (G4double*) pwN1520_Npipi;
915  wMap["N1520_Dp"] = (G4double*) pwN1520_Dpi;
916 
917  wMap["N1535_Ngamma"] = (G4double*) pwN1535_Ngamma;
918  wMap["N1535_Npi"] = (G4double*) pwN1535_Npi;
919  wMap["N1535_Neta"] = (G4double*) pwN1535_Neta;
920  wMap["N1535_Npipi"] = (G4double*) pwN1535_Npipi;
921  wMap["N1535_Nstarpi"] = (G4double*) pwN1535_Nstarpi;
922 
923  wMap["N1650_Ngamma"] = (G4double*) pwN1650_Ngamma;
924  wMap["N1650_Npi"] = (G4double*) pwN1650_Npi;
925  wMap["N1650_Neta"] = (G4double*) pwN1650_Neta;
926  wMap["N1650_Npipi"] = (G4double*) pwN1650_Npipi;
927  wMap["N1650_Dpi"] = (G4double*) pwN1650_Dpi;
928  wMap["N1650_Nstarpi"] = (G4double*) pwN1650_Nstarpi;
929  wMap["N1650_LK"] = (G4double*) pwN1650_LK;
930 
931  wMap["N1675_Npi"] = (G4double*) pwN1675_Npi;
932  wMap["N1675_Dpi"] = (G4double*) pwN1675_Dpi;
933 
934  wMap["N1680_Ngamma"] = (G4double*) pwN1680_Ngamma;
935  wMap["N1680_Npi"] = (G4double*) pwN1680_Npi;
936  wMap["N1680_Npipi"] = (G4double*) pwN1680_Npipi;
937  wMap["N1680_Dpi"] = (G4double*) pwN1680_Dpi;
938 
939  wMap["D1700_Npi"] = (G4double*) pwN1700_Npi;
940  wMap["D1700_Neta"] = (G4double*) pwN1700_Neta;
941  wMap["D1700_Nrho"] = (G4double*) pwN1700_Nrho;
942  wMap["D1700_Npipi"] = (G4double*) pwN1700_Npipi;
943  wMap["D1700_Dpi"] = (G4double*) pwN1700_Dpi;
944 
945  wMap["N1710_Npi"] = (G4double*) pwN1710_Npi;
946  wMap["N1710_Neta"] = (G4double*) pwN1710_Neta;
947  wMap["N1710_Nrho"] = (G4double*) pwN1710_Nrho;
948  wMap["N1710_Npipi"] = (G4double*) pwN1710_Npipi;
949  wMap["N1710_Dpi"] = (G4double*) pwN1710_Dpi;
950  wMap["N1710_Nstarpi"] = (G4double*) pwN1710_Nstarpi;
951  wMap["N1710_LK"] = (G4double*) pwN1710_LK;
952 
953  wMap["N1720_Ngamma"] = (G4double*) pwN1720_Ngamma;
954  wMap["N1720_Npi"] = (G4double*) pwN1720_Npi;
955  wMap["N1720_Nrho"] = (G4double*) pwN1720_Nrho;
956  wMap["N1720_Npipi"] = (G4double*) pwN1720_Npipi;
957  wMap["N1720_Dpi"] = (G4double*) pwN1720_Dpi;
958  wMap["N1720_LK"] = (G4double*) pwN1720_LK;
959 
960  wMap["N1900_Npi"] = (G4double*) pwN1900_Npi;
961  wMap["N1900_Nomega"] = (G4double*) pwN1900_Nomega;
962  wMap["N1900_Nrho"] = (G4double*) pwN1900_Nrho;
963  wMap["N1900_Dpi"] = (G4double*) pwN1900_Dpi;
964 
965  wMap["N1990_Npi"] = (G4double*) pwN1990_Npi;
966  wMap["N1990_Nrho"] = (G4double*) pwN1990_Nrho;
967  wMap["N1990_Npipi"] = (G4double*) pwN1990_Npipi;
968  wMap["N1990_Dpi"] = (G4double*) pwN1990_Dpi;
969  wMap["N1990_Nstarpi"] = (G4double*) pwN1990_Nstarpi;
970  wMap["N1990_LK"] = (G4double*) pwN1990_LK;
971 
972  wMap["N2090_Npi"] = (G4double*) pwN2090_Npi;
973  wMap["N2090_Neta"] = (G4double*) pwN2090_Neta;
974  wMap["N2090_Nrho"] = (G4double*) pwN2090_Nrho;
975  wMap["N2090_Npipi"] = (G4double*) pwN2090_Npipi;
976  wMap["N2090_Dpi"] = (G4double*) pwN2090_Dpi;
977 
978  wMap["N2190_Npi"] = (G4double*) pwN2190_Npi;
979  wMap["N2190_Nrho"] = (G4double*) pwN2190_Nrho;
980  wMap["N2190_Npipi"] = (G4double*) pwN2190_Npipi;
981  wMap["N2190_Dpi"] = (G4double*) pwN2190_Dpi;
982  wMap["N2190_Nstarpi"] = (G4double*) pwN2190_Nstarpi;
983 
984  wMap["N2220_Npi"] = (G4double*) pwN2220_Npi;
985  wMap["N2220_Nrho"] = (G4double*) pwN2220_Nrho;
986  wMap["N2220_Npipi"] = (G4double*) pwN2220_Npipi;
987  wMap["N2220_Dpi"] = (G4double*) pwN2220_Dpi;
988  wMap["N2250_Npi"] = (G4double*) pwN2250_Npi;
989  wMap["N2250_Nrho"] = (G4double*) pwN2250_Nrho;
990  wMap["N2250_Npipi"] = (G4double*) pwN2250_Npipi;
991  wMap["N2250_Dpi"] = (G4double*) pwN2250_Dpi;
992  wMap["N2250_Nstarpi"] = (G4double*) pwN2250_Nstarpi;
993 
994  wMap["D1232_Ngamma"] = (G4double*) pwD1232_Ngamma;
995  wMap["D1232_Npi"] = (G4double*) pwD1232_Npi;
996 
997  wMap["D1600_Npi"] = (G4double*) pwD1600_Npi;
998  wMap["D1600_Dpi"] = (G4double*) pwD1600_Dpi;
999  wMap["D1600_Nstarpi"] = (G4double*) pwD1600_Nstarpi;
1000 
1001  wMap["D1620_Ngamma"] = (G4double*) pwD1620_Ngamma;
1002  wMap["D1620_Npi"] = (G4double*) pwD1620_Npi;
1003  wMap["D1620_Dp"] = (G4double*) pwD1620_Dpi;
1004  wMap["D1620_Nstarpi"] = (G4double*) pwD1620_Nstarpi;
1005 
1006  wMap["D1700_Ngamma"] = (G4double*) pwD1700_Ngamma;
1007  wMap["D1700_Npi"] = (G4double*) pwD1700_Npi;
1008  wMap["D1700_Nrho"] = (G4double*) pwD1700_Nrho;
1009  wMap["D1700_Dpi"] = (G4double*) pwD1700_Dpi;
1010  wMap["D1700_Nstarpi"] = (G4double*) pwD1700_Nstarpi;
1011 
1012  wMap["D1900_Npi"] = (G4double*) pwD1900_Npi;
1013  wMap["D1900_Nrho"] = (G4double*) pwD1900_Nrho;
1014  wMap["D1900_Dpi"] = (G4double*) pwD1900_Dpi;
1015  wMap["D1900_Nstarpi"] = (G4double*) pwD1900_Nstarpi;
1016 
1017  wMap["D1905_Ngamma"] = (G4double*) pwD1905_Ngamma;
1018  wMap["D1905_Npi"] = (G4double*) pwD1905_Npi;
1019  wMap["D1905_Nrho"] = (G4double*) pwD1905_Nrho;
1020  wMap["D1905_Dpi"] = (G4double*) pwD1905_Dpi;
1021  wMap["D1905_Nstarpi"] = (G4double*) pwD1905_Nstarpi;
1022 
1023  wMap["D1910_Npi"] = (G4double*) pwD1910_Npi;
1024  wMap["D1910_Nrho"] = (G4double*) pwD1910_Nrho;
1025  wMap["D1910_Dpi"] = (G4double*) pwD1910_Dpi;
1026  wMap["D1910_Nstarpi"] = (G4double*) pwD1910_Nstarpi;
1027 
1028  wMap["D1920_Npi"] = (G4double*) pwD1920_Npi;
1029  wMap["D1920_Nrho"] = (G4double*) pwD1920_Nrho;
1030  wMap["D1920_Dpi"] = (G4double*) pwD1920_Dpi;
1031  wMap["D1920_Nstarpi"] = (G4double*) pwD1920_Nstarpi;
1032 
1033  wMap["D1930_Npi"] = (G4double*) pwD1930_Npi;
1034  wMap["D1930_Nrho"] = (G4double*) pwD1930_Nrho;
1035  wMap["D1930_Dpi"] = (G4double*) pwD1930_Dpi;
1036  wMap["D1930_Nstarpi"] = (G4double*) pwD1930_Nstarpi;
1037 
1038  wMap["D1950_Ngamma"] = (G4double*) pwD1950_Ngamma;
1039  wMap["D1950_Npi"] = (G4double*) pwD1950_Npi;
1040  wMap["D1950_Nrho"] = (G4double*) pwD1950_Nrho;
1041  wMap["D1950_Dpi"] = (G4double*) pwD1950_Dpi;
1042  wMap["D1950_Nstarpi"] = (G4double*) pwD1950_Nstarpi;
1043 
1044  wMap["L1405_Spi"] = (G4double*) pwL1405_Spi;
1045 
1046  wMap["L1520_NKbar"] = (G4double*) pwL1520_NKbar;
1047  wMap["L1520_Spi"] = (G4double*) pwL1520_Spi;
1048  wMap["L1520_Sstarpi"] = (G4double*) pwL1520_Sstarpi;
1049  wMap["L1520_Lgamma"] = (G4double*) pwL1520_Lgamma;
1050 
1051  wMap["L1600_NKbar"] = (G4double*) pwL1600_NKbar;
1052  wMap["L1600_Spi"] = (G4double*) pwL1600_Spi;
1053 
1054  wMap["L1670_NKbar"] = (G4double*) pwL1670_NKbar;
1055  wMap["L1670_Spi"] = (G4double*) pwL1670_Spi;
1056  wMap["L1670_Leta"] = (G4double*) pwL1670_Leta;
1057 
1058  wMap["L1690_NKbar"] = (G4double*) pwL1690_NKbar;
1059  wMap["L1690_Spi"] = (G4double*) pwL1690_Spi;
1060  wMap["L1690_Sstarpi"] = (G4double*) pwL1690_Sstarpi;
1061 
1062  wMap["L1800_NKbar"] = (G4double*) pwL1800_NKbar;
1063  wMap["L1800_NKstarbar"] = (G4double*) pwL1800_NKstarbar;
1064  wMap["L1800_Spi"] = (G4double*) pwL1800_Spi;
1065  wMap["L1800_Sstarpi"] = (G4double*) pwL1800_Sstarpi;
1066 
1067  wMap["L1810_NKbar"] = (G4double*) pwL1810_NKbar;
1068  wMap["L1810_NKstarbar"] = (G4double*) pwL1810_NKstarbar;
1069  wMap["L1810_Spi"] = (G4double*) pwL1810_Spi;
1070  wMap["L1810_Sstarpi"] = (G4double*) pwL1810_Sstarpi;
1071 
1072  wMap["L1820_NKbar"] = (G4double*) pwL1820_NKbar;
1073  wMap["L1820_Spi"] = (G4double*) pwL1820_Spi;
1074  wMap["L1820_Sstarpi"] = (G4double*) pwL1820_Sstarpi;
1075 
1076  wMap["L1830_NKbar"] = (G4double*) pwL1830_NKbar;
1077  wMap["L1830_Spi"] = (G4double*) pwL1830_Spi;
1078  wMap["L1830_Sstarpi"] = (G4double*) pwL1830_Sstarpi;
1079 
1080  wMap["L1890_NKbar"] = (G4double*) pwL1890_NKbar;
1081  wMap["L1890_NKstarbar"] = (G4double*) pwL1890_NKstarbar;
1082  wMap["L1890_Spi"] = (G4double*) pwL1890_Spi;
1083  wMap["L1890_Sstarpi"] = (G4double*) pwL1890_Sstarpi;
1084 
1085  wMap["L2100_NKbar"] = (G4double*) pwL2100_NKbar;
1086  wMap["L2100_NKstarbar"] = (G4double*) pwL2100_NKstarbar;
1087  wMap["L2100_Spi"] = (G4double*) pwL2100_Spi;
1088  wMap["L2100_Sstarpi"] = (G4double*) pwL2100_Sstarpi;
1089  wMap["L2100_Leta"] = (G4double*) pwL2100_Leta;
1090  wMap["L2100_Lomega"] = (G4double*) pwL2100_Lomega;
1091 
1092  wMap["L2110_NKbar"] = (G4double*) pwL2110_NKbar;
1093  wMap["L2110_NKstarbar"] = (G4double*) pwL2110_NKstarbar;
1094  wMap["L2110_Spi"] = (G4double*) pwL2110_Spi;
1095 
1096  wMap["S1385_Spi"] = (G4double*) pwS1385_Spi;
1097  wMap["S1385_Lpi"] = (G4double*) pwS1385_Lpi;
1098 
1099  wMap["S1660_NKbar"] = (G4double*) pwS1660_NKbar;
1100  wMap["S1660_Spi"] = (G4double*) pwS1660_Spi;
1101  wMap["S1660_Lpi"] = (G4double*) pwS1660_Lpi;
1102 
1103  wMap["S1670_NKbar"] = (G4double*) pwS1670_NKbar;
1104  wMap["S1670_Spi"] = (G4double*) pwS1670_Spi;
1105  wMap["S1670_Lpi"] = (G4double*) pwS1670_Lpi;
1106 
1107  wMap["S1750_NKbar"] = (G4double*) pwS1750_NKbar;
1108  wMap["S1750_Spi"] = (G4double*) pwS1750_Spi;
1109  wMap["S1750_Seta"] = (G4double*) pwS1750_Seta;
1110 
1111  wMap["S1775_NKbar"] = (G4double*) pwS1775_NKbar;
1112  wMap["S1775_Spi"] = (G4double*) pwS1775_Spi;
1113  wMap["S1775_Sstarpi"] = (G4double*) pwS1775_Sstarpi;
1114  wMap["S1775_Lpi"] = (G4double*) pwS1775_Lpi;
1115  wMap["S1775_Lstarpi"] = (G4double*) pwS1775_Lstarpi;
1116 
1117  wMap["S1915_NKbar"] = (G4double*) pwS1915_NKbar;
1118  wMap["S1915_Spi"] = (G4double*) pwS1915_Spi;
1119  wMap["S1915_Sstarpi"] = (G4double*) pwS1915_Sstarpi;
1120  wMap["S1915_Lpi"] = (G4double*) pwS1915_Lpi;
1121 
1122  wMap["S1940_NKbar"] = (G4double*) pwS1940_NKbar;
1123  wMap["S1940_NKstarbar"] = (G4double*) pwS1940_NKstarbar;
1124  wMap["S1940_Spi"] = (G4double*) pwS1940_Spi;
1125  wMap["S1940_Sstarpi"] = (G4double*) pwS1940_Sstarpi;
1126  wMap["S1940_Lpi"] = (G4double*) pwS1940_Lpi;
1127  wMap["S1940_Lstarpi"] = (G4double*) pwS1940_Lstarpi;
1128  wMap["S1940_DKbar"] = (G4double*) pwS1940_DKbar;
1129 
1130  wMap["S2030_NKbar"] = (G4double*) pwS2030_NKbar;
1131  wMap["S2030_NKstarbar"] = (G4double*) pwS2030_NKstarbar;
1132  wMap["S2030_Spi"] = (G4double*) pwS2030_Spi;
1133  wMap["S2030_Sstarpi"] = (G4double*) pwS2030_Sstarpi;
1134  wMap["S2030_Lpi"] = (G4double*) pwS2030_Lpi;
1135  wMap["S2030_Lstarpi"] = (G4double*) pwS2030_Lstarpi;
1136  wMap["S2030_DKbar"] = (G4double*) pwS2030_DKbar;
1137 
1138  wMap["X1530_Xpi"] = (G4double*) pwX1530_Xpi;
1139  wMap["X1530_Xgamma"] = (G4double*) pwX1530_Xgamma;
1140 
1141  wMap["X1690_Xpi"] = (G4double*) pwX1690_Xpi;
1142  wMap["X1690_LKbar"] = (G4double*) pwX1690_LKbar;
1143  wMap["X1690_SKbar"] = (G4double*) pwX1690_SKbar;
1144 
1145  wMap["X1820_Xpi"] = (G4double*) pwX1820_Xpi;
1146  wMap["X1820_LKbar"] = (G4double*) pwX1820_LKbar;
1147  wMap["X1820_SKbar"] = (G4double*) pwX1820_SKbar;
1148 
1149  wMap["X1950_Xpi"] = (G4double*) pwX1950_Xpi;
1150  wMap["X1950_LKbar"] = (G4double*) pwX1950_LKbar;
1151  wMap["X1950_SKbar"] = (G4double*) pwX1950_SKbar;
1152 
1153  wMap["X2030_Xpi"] = (G4double*) pwX2030_Xpi;
1154  wMap["X2030_LKbar"] = (G4double*) pwX2030_LKbar;
1155  wMap["X2030_SKbar"] = (G4double*) pwX2030_SKbar;
1156 
1157 }
double G4double
Definition: G4Types.hh:76
G4BaryonPartialWidth::~G4BaryonPartialWidth ( )
virtual

Definition at line 1160 of file G4BaryonPartialWidth.cc.

1161 { }

Member Function Documentation

G4PhysicsVector * G4BaryonPartialWidth::MassDependentWidth ( const G4String name) const
virtual

Implements G4ResonancePartialWidth.

Definition at line 1164 of file G4BaryonPartialWidth.cc.

1165 {
1166  // NOTE: the returned pointer is owned by the client
1167  std::map <G4String, G4double*, std::less<G4String> >::const_iterator iter;
1168 
1169  if ((iter=wMap.find(name)) != wMap.end())
1170  {
1171  // Cross section table for the requested particle available in the Map
1172  G4PhysicsFreeVector* wVector = new G4PhysicsFreeVector(wSize);
1173  G4String key = name;
1174  G4double* wPointer = (*iter).second;
1175 
1176  // G4double* wPointer = wMap[key];
1177  G4int i;
1178  for (i=0; i<wSize; i++)
1179  {
1180  G4double value = *(wPointer + i);
1181  G4double energy = energies[i] * GeV;
1182  wVector->PutValue(i,energy,value);
1183  }
1184  return wVector;
1185  }
1186  else
1187  {
1188  return 0;
1189  }
1190 }
const XML_Char * name
Definition: expat.h:151
void PutValue(size_t index, G4double energy, G4double dataValue)
int G4int
Definition: G4Types.hh:78
const XML_Char int const XML_Char * value
Definition: expat.h:331
G4double energy(const ThreeVector &p, const G4double m)
static constexpr double GeV
Definition: G4SIunits.hh:217
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:


The documentation for this class was generated from the following files: