Dear VMC developers,
I am adapting Ex03 for my application in which I build geometry via TGeo and use vgm for converting it into g4 internally in memory. Some things are not yet clear to me:
id 1131 Energy release:1.26048e-05 step 0.000188367 Track 167.747 5.70718 10.3102 in ScintPlateLX1X2 ++++ TG4Warning: ++++
TG4StepManager::GetCurrentOffPhysicalVolume: Volume ScintPlateLX1X2 has not defined mother in the required level.
This is the output of the following lines:
//_____________________________________________________________________________void MCApplication::Stepping() {
// User actions at each step
// ---
fVerbose.Stepping();
TLorentzVector position;
gMC->TrackPosition(position);
cout << "Track "
<< position.X() << " " << position.Y() << " " << position.Z()
<< " in " << gMC->CurrentVolName() << " " << endl;
Int_t copyNo;
Int_t id = gMC->CurrentVolID(copyNo);
gMC->CurrentVolOffID(2, copyNo);
Double_t edep = gMC->Edep();
Double_t step = 0.;
if (gMC->TrackCharge() != 0.) step = gMC->TrackStep();
cout << "id " << id << " Energy release:"
<< edep << " step " << step << endl;
}
Sorry for a lot of questions, perhaps they are too trivial...
Thank you very much in advaince,
Dmitry Received on Tue May 03 2005 - 09:54:41 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:55:21 MET