Import Geant4 11.1.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2022-07-01 10:44:02 +02:00
parent b3bf75a2a1
commit c07cea1fe0
2172 changed files with 183300 additions and 123938 deletions
+2 -6
View File
@@ -40,10 +40,6 @@ G4Allocator<G4Event>*& anEventAllocator()
return _instance;
}
G4Event::G4Event()
{
}
G4Event::G4Event(G4int evID)
: eventID(evID)
{
@@ -92,7 +88,7 @@ void G4Event::Draw() const
G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
if(pVVisManager == nullptr) return;
if(trajectoryContainer)
if(trajectoryContainer != nullptr)
{
G4int n_traj = trajectoryContainer->entries();
for(G4int i=0; i<n_traj; ++i)
@@ -115,7 +111,7 @@ void G4Event::Draw() const
for(G4int j=0; j<n_DC; ++j)
{
G4VDigiCollection* VDC = DC->GetDC(j);
if(VDC) VDC->DrawAllDigi();
if(VDC != nullptr) VDC->DrawAllDigi();
}
}
}