Import Geant4 11.2.0 source tree
This commit is contained in:
@@ -66,15 +66,16 @@ G4int G4NtupleBookingManager::CreateNtupleTColumn(
|
||||
}
|
||||
|
||||
//_____________________________________________________________________________
|
||||
inline G4int G4NtupleBookingManager::GetNofNtupleBookings() const
|
||||
inline G4int G4NtupleBookingManager::GetNofNtuples(G4bool onlyIfExist) const
|
||||
{
|
||||
return G4int(fNtupleBookingVector.size());
|
||||
return (onlyIfExist) ? G4int(fNtupleBookingVector.size() - fFreeIds.size())
|
||||
: G4int(fNtupleBookingVector.size());
|
||||
}
|
||||
|
||||
//_____________________________________________________________________________
|
||||
inline G4int G4NtupleBookingManager::GetCurrentNtupleId() const
|
||||
{
|
||||
return GetNofNtupleBookings() + fFirstId - 1;
|
||||
return fCurrentNtupleId;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user