lcdd/src
diff -u -r1.32 -r1.33
--- G4CalorimeterSD.cc 12 Jul 2007 23:48:38 -0000 1.32
+++ G4CalorimeterSD.cc 5 Oct 2007 23:17:28 -0000 1.33
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/lcdd/src/G4CalorimeterSD.cc,v 1.32 2007/07/12 23:48:38 jeremy Exp $
+// $Header: /cvs/lcd/lcdd/src/G4CalorimeterSD.cc,v 1.33 2007/10/05 23:17:28 jeremy Exp $
#include "G4CalorimeterSD.hh"
// lcdd
@@ -13,6 +13,7 @@
#include "G4Track.hh"
#include "G4StepPoint.hh"
#include "G4Timer.hh"
+#include "G4Geantino.hh"
// stl
#include <iostream>
@@ -87,7 +88,7 @@
G4double theEdep = edep();
// This needs to be a <= comparison for cutting on 0.
- if ( theEdep <= getEcut() ) {
+ if ( theEdep <= getEcut() && aStep->GetTrack()->GetDefinition() != G4Geantino::Definition() ) {
#ifdef G4VERBOSE
if ( getVerbose() > 2 ) {
std::cout << "G4CalorimeterSD::ProcessHits - cut on edep " << theEdep << std::endl;
lcdd/src
diff -u -r1.32 -r1.33
--- G4TrackerSD.cc 12 Jul 2007 23:48:38 -0000 1.32
+++ G4TrackerSD.cc 5 Oct 2007 23:17:28 -0000 1.33
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/lcdd/src/G4TrackerSD.cc,v 1.32 2007/07/12 23:48:38 jeremy Exp $
+// $Header: /cvs/lcd/lcdd/src/G4TrackerSD.cc,v 1.33 2007/10/05 23:17:28 jeremy Exp $
// LCDD
#include "IdManager.hh"
@@ -9,6 +9,7 @@
#include "G4TrackerSD.hh"
#include "G4TrackerHit.hh"
#include "TrackInformation.hh"
+#include "G4Geantino.hh"
#include <iostream>
@@ -50,7 +51,7 @@
G4double e = edep();
// check edep < cut
- if ( e <= getEcut() ) {
+ if ( e <= getEcut() && aStep->GetTrack()->GetDefinition() != G4Geantino::Definition() ) {
return false;
}