W pliku MyRun.hh (zmiany kolorem czerwonym)
............................................................
//Method
void RecordEvent(const
G4Event*);
//Data
G4int fMapId;
G4int fCollectionId;
};
#endif
oooooooooooooooooooooooooooooooooooooooooooo
W pliku MyRun.cc (zmiany kolorem czerwonym)
........................................................................
MyRun::MyRun()
{
G4cout <<
"MyLog: MyRun constructor: index of photon scorer map:
" << fMapId << G4endl;
fCollectionId =
manager->GetCollectionID("Photon/PhotonCollection");
G4cout << "MyLog: MyRun constructor: index
of photon collection : " << fCollectionId <<
G4endl;
}