Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4DCofThisEvent.hh 81087 2014-05-20 15:44:27Z gcosmo $
// $Id: G4DCofThisEvent.hh 94771 2015-12-09 09:44:05Z gcosmo $
//
#ifndef G4DCofThisEvent_h
@@ -74,10 +74,7 @@ class G4DCofThisEvent
inline G4int GetNumberOfCollections() const
{
G4int n = 0;
for(size_t i=0;i<DC->size();i++)
{
if((*DC)[i]) n++;
}
for(auto dc : *DC) if(dc) n++;
return n;
}
// Returns the number of digi collections which are stored in this class