13 if (!strcmp(volName.substr(9, 9).c_str(),
"VesselGas")) volNumber =
GASVES;
14 else if (!strcmp(volName.substr(9, 7).c_str(),
"TubeGas" )) volNumber =
GASTUB;
15 else if (!strcmp(volName.substr(9, 3).c_str(),
"Pmt" )) volNumber =
QUARTZ;
22 G4String volName = aStep->GetTrack()->GetVolume()->GetName();
26 if (!strcmp(volName.substr(5, 9).c_str(),
"VesselGas")) tubNumber = -1;
27 else if (!strcmp(volName.substr(5, 7).c_str(),
"TubeGas" )) tubNumber =
atoi(volName.substr(12, 2).c_str());
28 else if (!strcmp(volName.substr(5, 3).c_str(),
"Pmt" )) tubNumber =
atoi(volName.substr( 8, 2).c_str());