Import Geant4 11.1.0 source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file TrackerSD.cc
|
||||
/// \file B2/B2a/src/TrackerSD.cc
|
||||
/// \brief Implementation of the B2::TrackerSD class
|
||||
|
||||
#include "TrackerSD.hh"
|
||||
@@ -48,11 +48,6 @@ TrackerSD::TrackerSD(const G4String& name,
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
TrackerSD::~TrackerSD()
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void TrackerSD::Initialize(G4HCofThisEvent* hce)
|
||||
{
|
||||
// Create hits collection
|
||||
@@ -77,7 +72,7 @@ G4bool TrackerSD::ProcessHits(G4Step* aStep,
|
||||
|
||||
if (edep==0.) return false;
|
||||
|
||||
TrackerHit* newHit = new TrackerHit();
|
||||
auto newHit = new TrackerHit();
|
||||
|
||||
newHit->SetTrackID (aStep->GetTrack()->GetTrackID());
|
||||
newHit->SetChamberNb(aStep->GetPreStepPoint()->GetTouchableHandle()
|
||||
|
||||
Reference in New Issue
Block a user