Commit f6be3e0e authored by Chad Lantz's avatar Chad Lantz
Browse files

Changed some comments for accuracy

parent 6e0929d2
......@@ -99,13 +99,12 @@ G4bool FiberSD::ProcessHits(G4Step* aStep,G4TouchableHistory*){
G4double charge = aStep->GetPreStepPoint()->GetCharge();
//Get the number of Cherenkov photons created in this step
//If optical is off, stop that track
int capturedPhotons = 0;
const std::vector<const G4Track*>* secVec = aStep->GetSecondaryInCurrentStep();
for(uint i = 0; i < secVec->size(); i++){
if( secVec->at(i)->GetDefinition() == G4OpticalPhoton::OpticalPhotonDefinition()){
capturedPhotons++;
}//end if pid==0
}//end if photon
}//end secondary track loop
FiberHit* newHit = new FiberHit();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment