Import Geant4 10.3.0 source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$Id: History 68015 2013-03-13 13:27:27Z gcosmo $
|
||||
$Id: History 98244 2016-07-04 17:21:15Z gcosmo $
|
||||
--------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -14,4 +14,19 @@ track of all tags.
|
||||
----------------------------------------------------------
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
04-07-16 I. Hrivnacova (analysisShared-V10-02-01)
|
||||
- Fixes for Doxygen documentation
|
||||
|
||||
01-07-16 I. Hrivnacova (analysisShared-V10-02-00)
|
||||
- Coding guidelines (function names)
|
||||
|
||||
27-08-15 I. Hrivnacova (analysisShared-V10-01-00)
|
||||
- Updated histogram ids in FillHiso (now starting from 0);
|
||||
updated for changed function names in HistoManager classes
|
||||
|
||||
06-11-14 I. Hrivnacova (analysisShared-V10-00-01)
|
||||
- Moved scripts from upper directory in shared
|
||||
|
||||
05-11-14 I. Hrivnacova (analysisShared-V10-00-00)
|
||||
- Tagged version which will be included in AnaEx0N examples
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file analysis/shared/include/DetectorConstruction.hh
|
||||
/// \file DetectorConstruction.hh
|
||||
/// \brief Definition of the DetectorConstruction class
|
||||
//
|
||||
//
|
||||
// $Id: DetectorConstruction.hh 77256 2013-11-22 10:10:23Z gcosmo $
|
||||
// $Id: DetectorConstruction.hh 98244 2016-07-04 17:21:15Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file analysis/shared/include/DetectorMessenger.hh
|
||||
/// \file DetectorMessenger.hh
|
||||
/// \brief Definition of the DetectorMessenger class
|
||||
//
|
||||
//
|
||||
// $Id: DetectorMessenger.hh 77256 2013-11-22 10:10:23Z gcosmo $
|
||||
// $Id: DetectorMessenger.hh 98244 2016-07-04 17:21:15Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file analysis/shared/include/EventAction.hh
|
||||
/// \file EventAction.hh
|
||||
/// \brief Definition of the EventAction class
|
||||
//
|
||||
//
|
||||
// $Id: EventAction.hh 68015 2013-03-13 13:27:27Z gcosmo $
|
||||
// $Id: EventAction.hh 98244 2016-07-04 17:21:15Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file analysis/shared/include/PrimaryGeneratorAction.hh
|
||||
/// \file PrimaryGeneratorAction.hh
|
||||
/// \brief Definition of the PrimaryGeneratorAction class
|
||||
//
|
||||
//
|
||||
// $Id: PrimaryGeneratorAction.hh 68015 2013-03-13 13:27:27Z gcosmo $
|
||||
// $Id: PrimaryGeneratorAction.hh 98244 2016-07-04 17:21:15Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file analysis/shared/include/RunAction.hh
|
||||
/// \file RunAction.hh
|
||||
/// \brief Definition of the RunAction class
|
||||
//
|
||||
//
|
||||
// $Id: RunAction.hh 68015 2013-03-13 13:27:27Z gcosmo $
|
||||
// $Id: RunAction.hh 98244 2016-07-04 17:21:15Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
virtual void BeginOfRunAction(const G4Run*);
|
||||
virtual void EndOfRunAction(const G4Run*);
|
||||
|
||||
void fillPerEvent(G4double, G4double, G4double, G4double);
|
||||
void FillPerEvent(G4double, G4double, G4double, G4double);
|
||||
|
||||
private:
|
||||
HistoManager* fHistoManager;
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file analysis/shared/include/SteppingAction.hh
|
||||
/// \file SteppingAction.hh
|
||||
/// \brief Definition of the SteppingAction class
|
||||
//
|
||||
//
|
||||
// $Id: SteppingAction.hh 68015 2013-03-13 13:27:27Z gcosmo $
|
||||
// $Id: SteppingAction.hh 98244 2016-07-04 17:21:15Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
$Id: History 85773 2014-11-05 11:31:15Z ihrivnac $
|
||||
--------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
|
||||
=========================================================
|
||||
|
||||
analysis/scripts History file
|
||||
----------------------------
|
||||
This file should be used by the G4 example coordinator to briefly
|
||||
summarize all major modifications introduced in the code and keep
|
||||
track of all tags.
|
||||
|
||||
----------------------------------------------------------
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
05-11-14 I. Hrivnacova (analysisScripts-V10-00-00)
|
||||
- Tagged version which will be included in AnaEx0N examples
|
||||
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Script to remove classes copied from shared directory into include and src
|
||||
# via copy_files.sh
|
||||
#
|
||||
# By I. Hrivnacova, IPN Orsay
|
||||
|
||||
DIRNAME=$1
|
||||
|
||||
for FILE in `ls $DIRNAME/include`; do
|
||||
rm -f include/$FILE
|
||||
done
|
||||
for FILE in `ls $DIRNAME/src`; do
|
||||
rm -f src/$FILE
|
||||
done
|
||||
|
||||
echo "... clean_files.sh from $1 finished"
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Script to copy classes from shared directory into include and src
|
||||
# as it is required by GNUmake build.
|
||||
# Usage: copy_files.sh directoryName
|
||||
#
|
||||
# By I. Hrivnacova, IPN Orsay
|
||||
|
||||
DIRNAME=$1
|
||||
|
||||
cp -rp $DIRNAME/include/* include
|
||||
cp -rp $DIRNAME/src/* src
|
||||
|
||||
echo "... copy_files.sh from $1 finished"
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file analysis/shared/src/DetectorConstruction.cc
|
||||
/// \file DetectorConstruction.cc
|
||||
/// \brief Implementation of the DetectorConstruction class
|
||||
//
|
||||
//
|
||||
// $Id: DetectorConstruction.cc 77256 2013-11-22 10:10:23Z gcosmo $
|
||||
// $Id: DetectorConstruction.cc 101905 2016-12-07 11:34:39Z gunter $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -242,7 +242,7 @@ G4VPhysicalVolume* DetectorConstruction::ConstructCalorimeter()
|
||||
//
|
||||
// Visualization attributes
|
||||
//
|
||||
fLogicWorld->SetVisAttributes (G4VisAttributes::Invisible);
|
||||
fLogicWorld->SetVisAttributes (G4VisAttributes::GetInvisible());
|
||||
|
||||
G4VisAttributes* simpleBoxVisAtt= new G4VisAttributes(G4Colour(1.0,1.0,1.0));
|
||||
simpleBoxVisAtt->SetVisibility(true);
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file analysis/shared/src/DetectorMessenger.cc
|
||||
/// \file DetectorMessenger.cc
|
||||
/// \brief Implementation of the DetectorMessenger class
|
||||
//
|
||||
//
|
||||
// $Id: DetectorMessenger.cc 77256 2013-11-22 10:10:23Z gcosmo $
|
||||
// $Id: DetectorMessenger.cc 98244 2016-07-04 17:21:15Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file analysis/shared/src/EventAction.cc
|
||||
/// \file EventAction.cc
|
||||
/// \brief Implementation of the EventAction class
|
||||
//
|
||||
//
|
||||
// $Id: EventAction.cc 68015 2013-03-13 13:27:27Z gcosmo $
|
||||
// $Id: EventAction.cc 98244 2016-07-04 17:21:15Z gcosmo $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -76,14 +76,14 @@ void EventAction::EndOfEventAction(const G4Event*)
|
||||
{
|
||||
//accumulates statistic
|
||||
//
|
||||
fRunAct->fillPerEvent(fEnergyAbs, fEnergyGap, fTrackLAbs, fTrackLGap);
|
||||
fRunAct->FillPerEvent(fEnergyAbs, fEnergyGap, fTrackLAbs, fTrackLGap);
|
||||
|
||||
//fill histograms
|
||||
//
|
||||
fHistoManager->FillHisto(1, fEnergyAbs);
|
||||
fHistoManager->FillHisto(2, fEnergyGap);
|
||||
fHistoManager->FillHisto(3, fTrackLAbs);
|
||||
fHistoManager->FillHisto(4, fTrackLGap);
|
||||
fHistoManager->FillHisto(0, fEnergyAbs);
|
||||
fHistoManager->FillHisto(1, fEnergyGap);
|
||||
fHistoManager->FillHisto(2, fTrackLAbs);
|
||||
fHistoManager->FillHisto(3, fTrackLGap);
|
||||
|
||||
//fill ntuple
|
||||
//
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file analysis/shared/src/PrimaryGeneratorAction.cc
|
||||
/// \file PrimaryGeneratorAction.cc
|
||||
/// \brief Implementation of the PrimaryGeneratorAction class
|
||||
//
|
||||
//
|
||||
// $Id: PrimaryGeneratorAction.cc 68015 2013-03-13 13:27:27Z gcosmo $
|
||||
// $Id: PrimaryGeneratorAction.cc 98244 2016-07-04 17:21:15Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file analysis/shared/src/RunAction.cc
|
||||
/// \file RunAction.cc
|
||||
/// \brief Implementation of the RunAction class
|
||||
//
|
||||
//
|
||||
// $Id: RunAction.cc 74272 2013-10-02 14:48:50Z gcosmo $
|
||||
// $Id: RunAction.cc 98244 2016-07-04 17:21:15Z gcosmo $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -68,12 +68,12 @@ void RunAction::BeginOfRunAction(const G4Run* aRun)
|
||||
|
||||
//histograms
|
||||
//
|
||||
fHistoManager->book();
|
||||
fHistoManager->Book();
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void RunAction::fillPerEvent(G4double EAbs, G4double EGap,
|
||||
void RunAction::FillPerEvent(G4double EAbs, G4double EGap,
|
||||
G4double LAbs, G4double LGap)
|
||||
{
|
||||
//accumulate statistic
|
||||
@@ -131,7 +131,7 @@ void RunAction::EndOfRunAction(const G4Run* aRun)
|
||||
//save histograms
|
||||
//
|
||||
fHistoManager->PrintStatistic();
|
||||
fHistoManager->save();
|
||||
fHistoManager->Save();
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file analysis/shared/src/SteppingAction.cc
|
||||
/// \file SteppingAction.cc
|
||||
/// \brief Implementation of the SteppingAction class
|
||||
//
|
||||
//
|
||||
// $Id: SteppingAction.cc 68015 2013-03-13 13:27:27Z gcosmo $
|
||||
// $Id: SteppingAction.cc 98244 2016-07-04 17:21:15Z gcosmo $
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
Reference in New Issue
Block a user