slic/src
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);