the codes below are from “Book For Application Developers”, version 10.7, page 246:
G4Material* Scnt = new G4Material(/…/);
std::vector energy = { 6.6eV, 6.7eV, 6.8eV, 6.9eV,
7.0eV, 7.1eV, 7.2eV, 7.3eV, 7.4eV };
std::vector Scnt_FAST = { 0.000134, 0.004432, 0.053991, 0.241971,
0.398942, 0.000134, 0.004432, 0.053991,
0.241971 };
std::vector Scnt_SLOW = { 0.000010, 0.000020, 0.000030, 0.004000,
0.008000, 0.005000, 0.020000, 0.001000,
0.000010 };
G4MaterialPropertiesTable Scnt_MPT = new G4MaterialPropertiesTable();
Scnt_MPT->AddProperty(“FASTCOMPONENT”, energy, Scnt_FAST);
Scnt_MPT->AddProperty(“SLOWCOMPONENT”, energy, Scnt_SLOW);
Scnt_MPT->AddConstProperty(“SCINTILLATIONYIELD”, 5000./MeV);
Scnt_MPT->AddConstProperty(“RESOLUTIONSCALE”, 2.0);
Scnt_MPT->AddConstProperty(“FASTTIMECONSTANT”, 1.*ns);
Scnt_MPT->AddConstProperty(“SLOWTIMECONSTANT”, 10.*ns);
Scnt_MPT->AddConstProperty(“YIELDRATIO”, 0.8);
Scnt->SetMaterialPropertiesTable(Scnt_MPT);
the energy spectrum “Scnt_MPT->AddProperty(“FASTCOMPONENT”, energy, Scnt_FAST)” and “Scnt_MPT->AddProperty(“SLOWCOMPONENT”, energy, Scnt_SLOW)”, but what exact meanings of { 0.000134, 0.004432, 0.053991, 0.241971,
0.398942, 0.000134, 0.004432, 0.053991,
0.241971 } and { 0.000010, 0.000020, 0.000030, 0.004000,
0.008000, 0.005000, 0.020000, 0.001000,
0.000010 } from
std::vector Scnt_FAST = { 0.000134, 0.004432, 0.053991, 0.241971,
0.398942, 0.000134, 0.004432, 0.053991,
0.241971 } and
std::vector Scnt_SLOW = { 0.000010, 0.000020, 0.000030, 0.004000,
0.008000, 0.005000, 0.020000, 0.001000,
0.000010 }