Commit in projects/slic/trunk/src on MAIN | |||
LCExtendedParticles.cc | +6 | -3 | 3204 -> 3205 |
LCOpticalPhysics.cc | +2 | -2 | 3204 -> 3205 |
LCSUSYPhysics.cc | +3 | -2 | 3204 -> 3205 |
+11 | -7 |
Fix up backward compatibility change. The G4Version.hh file needs to be included for the G4VERSION_NUMBER definition.
--- projects/slic/trunk/src/LCExtendedParticles.cc 2014-07-25 01:03:12 UTC (rev 3204) +++ projects/slic/trunk/src/LCExtendedParticles.cc 2014-07-30 21:10:10 UTC (rev 3205) @@ -1,10 +1,13 @@
#include "LCExtendedParticles.hh"
-// slic
+// SLIC
#include "HepPDTManager.hh"
-// geant4
+// Geant4
+#include "G4Version.hh"
+#include "G4ParticleTable.hh"
#include "G4ProcessManager.hh"
+#include "G4ParticleDefinition.hh"
#include "G4SystemOfUnits.hh" namespace slic {
@@ -31,7 +34,7 @@
// Check for a built-in definition of this particle. G4ParticleDefinition* pdef = G4ParticleTable::GetParticleTable()->FindParticle(pdata.pid());
- // Add particles that Geant4 does not already know about.
+ // Add particles that Geant4 does not already know about.
if (pdef == 0) { //std::cout << "constructing new particle: " << pdata.PDTname() << std::endl;
--- projects/slic/trunk/src/LCOpticalPhysics.cc 2014-07-25 01:03:12 UTC (rev 3204) +++ projects/slic/trunk/src/LCOpticalPhysics.cc 2014-07-30 21:10:10 UTC (rev 3205) @@ -10,8 +10,8 @@
#include "LCOpticalPhysics.hh"
-// slic -#include "Geant4VersionInfo.hh"
+// Geant4 +#include "G4Version.hh"
LCOpticalPhysics::LCOpticalPhysics(const G4String& name) : G4VPhysicsConstructor(name) {
--- projects/slic/trunk/src/LCSUSYPhysics.cc 2014-07-25 01:03:12 UTC (rev 3204) +++ projects/slic/trunk/src/LCSUSYPhysics.cc 2014-07-30 21:10:10 UTC (rev 3205) @@ -1,10 +1,11 @@
#include "LCSUSYPhysics.hh"
-// slic
+// SLIC
#include "HepPDTManager.hh" #include "LCSUSYDecay.hh"
-// geant4
+// Geant4
+#include "G4Version.hh"
#include "G4ProcessManager.hh" #include "G4ParticleDefinition.hh" #include "G4UnknownDecay.hh"
Use REPLY-ALL to reply to list
To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1