Commit in projects/lcdd/trunk/src/lcdd/detectors on MAIN | |||
OpticalCalorimeterHitProcessor.cc | +2 | -1 | 3032 -> 3033 |
Add header for compatibility with Geant4 10.00
--- projects/lcdd/trunk/src/lcdd/detectors/OpticalCalorimeterHitProcessor.cc 2014-02-27 01:13:27 UTC (rev 3032) +++ projects/lcdd/trunk/src/lcdd/detectors/OpticalCalorimeterHitProcessor.cc 2014-02-27 01:28:56 UTC (rev 3033) @@ -6,6 +6,7 @@
#include "lcdd/hits/TrackInformation.hh" // Geant4
+#include "G4SystemOfUnits.hh"
#include "G4OpticalPhoton.hh" #include "G4TransportationManager.hh" #include "G4VProcess.hh"
@@ -24,7 +25,7 @@
bool OpticalCalorimeterHitProcessor::processHits(G4Step* step) { // FIXME: This should not be here. Unfortunately, it appears that instantiating // it in the constructor does not work due to unintialized Geant4 data structures.
- // The HitProcessor may need an initialize method called in start of event.
+ // The HitProcessor may need an initialize method called in start of run.
if (_cerenGenerator == NULL) _cerenGenerator = new Cerenkov();
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