Commit in slic/src on MAIN | |||
LCOpticalPhysics.cc | +6 | -6 | 1.8 -> 1.9 |
remove old backward compatibility check
diff -u -r1.8 -r1.9 --- LCOpticalPhysics.cc 9 Apr 2013 21:24:10 -0000 1.8 +++ LCOpticalPhysics.cc 11 Apr 2013 18:42:56 -0000 1.9 @@ -64,13 +64,13 @@
G4String particleName = particle->GetParticleName(); if (theCerenkovProcess->IsApplicable(*particle)) {
- if (Geant4VersionInfo::getMajorVersion() >= 9 && Geant4VersionInfo::getMinorVersion() >= 1) {
+ //if (Geant4VersionInfo::getMajorVersion() >= 9 && Geant4VersionInfo::getMinorVersion() >= 1) {
// Geant4 9.1 changes Cerenkov to be a post-step process.
- pmanager->AddProcess(theCerenkovProcess); - pmanager->SetProcessOrderingToLast(theCerenkovProcess, idxPostStep); - } else { - pmanager->AddContinuousProcess(theCerenkovProcess); - }
+ pmanager->AddProcess(theCerenkovProcess); + pmanager->SetProcessOrderingToLast(theCerenkovProcess, idxPostStep); + //} else { + // pmanager->AddContinuousProcess(theCerenkovProcess); + //}
} if (theScintillationProcess->IsApplicable(*particle)) { pmanager->AddProcess(theScintillationProcess);
Use REPLY-ALL to reply to list
To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1