Import Geant4 4.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:18:25 +02:00
parent 36c080dca6
commit 921d3b1cda
3990 changed files with 185376 additions and 82884 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.4 2001/02/08 06:18:28 asaim Exp $
$Id: History,v 1.5 2001/10/18 20:28:18 asaim Exp $
-------------------------------------------------------------------
=========================================================
@@ -17,6 +17,9 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
Oct 18, 2001, M.Asai (readout-V03-02-00)
- Correction for warning messages by gcc-2.95.2
Feb 8, 2001, M.Asai (readout-V03-00-01)
- Migration to STL vector classes
affected files :
+2 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DCtable.hh,v 1.5.2.1 2001/06/28 19:15:17 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4DCtable.hh,v 1.6 2001/07/11 10:08:31 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
#ifndef G4DCtable_H
+2 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DMmessenger.hh,v 1.3.2.1 2001/06/28 19:15:18 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4DMmessenger.hh,v 1.4 2001/07/11 10:08:31 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
#ifndef G4DMmessenger_h
+2 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DigiManager.hh,v 1.5.2.1 2001/06/28 19:15:18 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4DigiManager.hh,v 1.6 2001/07/11 10:08:31 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
#ifndef G4DigiManager_h
+2 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VDigitizerModule.hh,v 1.5.2.1 2001/06/28 19:15:18 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VDigitizerModule.hh,v 1.6 2001/07/11 10:08:31 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
#ifndef G4VDigitizerModule_H
+5 -5
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DCtable.cc,v 1.4.2.1 2001/06/28 19:15:18 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4DCtable.cc,v 1.6 2001/10/18 20:28:19 asaim Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
#include "G4DCtable.hh"
@@ -33,7 +33,7 @@ G4DCtable::~G4DCtable() {;}
G4int G4DCtable::Registor(G4String DMname,G4String DCname)
{
for(int i=0;i<DClist.size();i++)
for(int i=0;i<int(DClist.size());i++)
{ if(DClist[i]==DCname && DMlist[i]==DMname) return -1; }
DClist.push_back(DCname);
DMlist.push_back(DMname);
@@ -45,7 +45,7 @@ G4int G4DCtable::GetCollectionID(G4String DCname)
G4int i = -1;
if(DCname.index("/")==G4std::string::npos) // DCname only
{
for(G4int j=0;j<DClist.size();j++)
for(int j=0;j<int(DClist.size());j++)
{
if(DClist[j]==DCname)
{
@@ -56,7 +56,7 @@ G4int G4DCtable::GetCollectionID(G4String DCname)
}
else
{
for(G4int j=0;j<DClist.size();j++)
for(int j=0;j<int(DClist.size());j++)
{
G4String tgt = DMlist[j];
tgt += "/";
+2 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DMmessenger.cc,v 1.2.2.1 2001/06/28 19:15:18 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4DMmessenger.cc,v 1.3 2001/07/11 10:08:31 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
// ---------------------------------------------------------------------
+7 -7
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DigiManager.cc,v 1.4.2.1 2001/06/28 19:15:18 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4DigiManager.cc,v 1.6 2001/10/18 20:28:19 asaim Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
#include "G4DigiManager.hh"
@@ -61,7 +61,7 @@ G4DigiManager::G4DigiManager():verboseLevel(0)
G4DigiManager::~G4DigiManager()
{
//DMtable.clearAndDestroy();
for(G4int i=0;i<DMtable.size();i++)
for(G4int i=0;i<int(DMtable.size());i++)
{ delete DMtable[i]; }
DMtable.clear();
delete DCtable;
@@ -71,7 +71,7 @@ G4DigiManager::~G4DigiManager()
void G4DigiManager::AddNewModule(G4VDigitizerModule* DM)
{
G4String DMname = DM->GetName();
for(int j=0;j<DMtable.size();j++)
for(int j=0;j<int(DMtable.size());j++)
{
if(DMtable[j]==DM)
{
@@ -117,7 +117,7 @@ void G4DigiManager::Digitize(G4String mName)
G4VDigitizerModule* G4DigiManager::FindDigitizerModule(G4String mName)
{
for(G4int i=0;i<DMtable.size();i++)
for(G4int i=0;i<int(DMtable.size());i++)
{
if(DMtable[i]->GetName() == mName) return DMtable[i];
}
@@ -199,13 +199,13 @@ void G4DigiManager::SetDigiCollection(G4int DCID,G4VDigiCollection* aDC)
void G4DigiManager::SetVerboseLevel(G4int val)
{
verboseLevel = val;
for(G4int i=0;i<DMtable.size();i++)
for(G4int i=0;i<int(DMtable.size());i++)
{ DMtable[i]->SetVerboseLevel(val); }
}
void G4DigiManager::List() const
{
for(G4int i=0;i<DMtable.size();i++)
for(G4int i=0;i<int(DMtable.size());i++)
{ G4cout << " " << i << " : " << DMtable[i]->GetName() << G4endl; }
}
+2 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VDigitizerModule.cc,v 1.2.2.1 2001/06/28 19:15:18 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VDigitizerModule.cc,v 1.3 2001/07/11 10:08:32 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
#include "G4VDigitizerModule.hh"