diff --git a/NPSimulation/include/DetectorConstruction.hh b/NPSimulation/include/DetectorConstruction.hh index 7c52c4ca18b2d0beb67ae18496e48c89e2d17bad..6fb3c6ef427101a1fddf8dcefcb38dcf6817570b 100644 --- a/NPSimulation/include/DetectorConstruction.hh +++ b/NPSimulation/include/DetectorConstruction.hh @@ -1,6 +1,28 @@ #ifndef DetectorConstruction_H #define DetectorConstruction_H 1 - +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This Class manage the virtual detector and call their method. * + * Every time a new detector is added to the project, a few line in the * + * ReadConfigurationFile method are needed in order to detect the associate * + * token. * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ class G4LogicalVolume; class G4VPhysicalVolume; diff --git a/NPSimulation/include/EventAction.hh b/NPSimulation/include/EventAction.hh index 17ad65c11eda5448b24eddea3381d44320e62fba..cbcf323de4775ea4f09a745dfc09ec96b4140cbb 100644 --- a/NPSimulation/include/EventAction.hh +++ b/NPSimulation/include/EventAction.hh @@ -1,8 +1,26 @@ -//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... - #ifndef EventAction_h #define EventAction_h 1 - +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * A quite Standard Geant4 EventAction class. * + * Call the Fill method of the output tree. * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ // G4 header defining G4 types #include "globals.hh" diff --git a/NPSimulation/include/EventGeneratorBeam.hh b/NPSimulation/include/EventGeneratorBeam.hh index 412d0638ad3191e473a8793878a3cce14fa9aa0b..5ab39044c098c82515fa6056893cd1949c7be8b4 100644 --- a/NPSimulation/include/EventGeneratorBeam.hh +++ b/NPSimulation/include/EventGeneratorBeam.hh @@ -1,6 +1,26 @@ #ifndef EventGeneratorBeam_h #define EventGeneratorBeam_h +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This event Generator is used to simulated Radioactive Ion beam * + * Emmitance, Energy spread and dispersion are taken into account * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ // C++ header #include <string> diff --git a/NPSimulation/include/EventGeneratorIsotropic.hh b/NPSimulation/include/EventGeneratorIsotropic.hh index 5472487efefa95b552e77e55add335278aa53204..03210f62d45df4ccc48126c8824eeff350d85ea0 100644 --- a/NPSimulation/include/EventGeneratorIsotropic.hh +++ b/NPSimulation/include/EventGeneratorIsotropic.hh @@ -1,6 +1,26 @@ #ifndef EventGeneratorIsotropic_h #define EventGeneratorIsotropic_h - +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This event Generator is used to simulated Isotropic ion Source * + * Very usefull to figure out Geometric Efficacity of experimental Set-Up * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ // C++ header #include <string> diff --git a/NPSimulation/include/EventGeneratorTransfert.hh b/NPSimulation/include/EventGeneratorTransfert.hh index ef7f075b9fa2f2fb607eeec6b32452870cf6f075..2380f0dc960382a93ad076a4a0cd9cfc451d242f 100644 --- a/NPSimulation/include/EventGeneratorTransfert.hh +++ b/NPSimulation/include/EventGeneratorTransfert.hh @@ -1,6 +1,28 @@ #ifndef EventGeneratorTransfert_H #define EventGeneratorTransfert_H - +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This event Generator is used to simulated two body TransfertReaction. * + * A Relativistic computation is performed to determine angle and energy of * + * the different particle, knowing the ThetaCM angle given by a cross * + * section shoot. Eleastic scattering can also be simulated. * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ // C++ headers #include <string> diff --git a/NPSimulation/include/EventGeneratorTransfertToResonance.hh b/NPSimulation/include/EventGeneratorTransfertToResonance.hh index 3582e182b823214a6ecc7c9b32e6f0fdf14063f2..312a3239c469882783f75322ac4b7fd6a7835a99 100644 --- a/NPSimulation/include/EventGeneratorTransfertToResonance.hh +++ b/NPSimulation/include/EventGeneratorTransfertToResonance.hh @@ -1,6 +1,26 @@ #ifndef EventGeneratorTransfertToResonance_H #define EventGeneratorTransfertToResonance_H - +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This event Generator is used to simulated two body TransfertReaction. * + * A Phase Space calculation is then performed to decay the Heavy product. * + *---------------------------------------------------------------------------* + * Comment: * + * This class is not yet operationnal. * + * * + *****************************************************************************/ // C++ header #include <string> diff --git a/NPSimulation/include/GeneralScorers.hh b/NPSimulation/include/GeneralScorers.hh index a77ea7f0e5eb55e929769f99337a60bb86fb7d99..e7320f4474e9b2c9a1f73416e56fa6601f590e01 100644 --- a/NPSimulation/include/GeneralScorers.hh +++ b/NPSimulation/include/GeneralScorers.hh @@ -1,6 +1,29 @@ #ifndef GeneralScorers_h #define GeneralScorers_h 1 - +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This class old some of the General Scorer, shared by different detector. + Thos scorer could be a could basis for your own scorer * + *---------------------------------------------------------------------------* + * Comment: * + * Those Scorer use TrackID as map index. This way ones can rebuild energy * + * deposit, time of flight or position,... particle by particle for each * + * event.Because standard scorer provide by G4 don't work this way but using* + * a global ID for each event you should not use those scorer with some G4 * + * provided ones or being very carefull doing so. * * + *****************************************************************************/ #include "G4VPrimitiveScorer.hh" #include "G4THitsMap.hh" diff --git a/NPSimulation/include/MUST2Array.hh b/NPSimulation/include/MUST2Array.hh index 61c9c4f66e078371ff7d839f3e91b0179d40ae41..efd9f95643a7ee49fd2c9e297765c1076dba2fae 100644 --- a/NPSimulation/include/MUST2Array.hh +++ b/NPSimulation/include/MUST2Array.hh @@ -1,6 +1,29 @@ #ifndef MUST2Array_h #define MUST2Array_h 1 - +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This file describe the MUST2 charge particle Detector * + * * + *---------------------------------------------------------------------------* + * Comment: * + * MUST2 is a modular array made of Telescope (1 to 8 telescope). Each * + * Telescope is made of Three Stage: * + * - A 300um Silicium, double-sided strip * + * - 16 Si(Li) pad * + * - 16 CsI scintillator Crystal * + *****************************************************************************/ #include "VDetector.hh" #include "TMust2Data.h" #include "G4SDManager.hh" diff --git a/NPSimulation/include/Must2Scorers.hh b/NPSimulation/include/Must2Scorers.hh index 7cba3cfcef1b85a034324bfbe55eef8609dab10e..798be053f47274fad8a41479cc925b1c06e22952 100644 --- a/NPSimulation/include/Must2Scorers.hh +++ b/NPSimulation/include/Must2Scorers.hh @@ -1,6 +1,29 @@ #ifndef Must2Scorers_h #define Must2Scorers_h 1 - +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * File old the scorer specific to the MUST2 Detector * + * * + *---------------------------------------------------------------------------* + * Comment: * + * Those Scorer use TrackID as map index. This way ones can rebuild energy * + * deposit, time of flight or position,... particle by particle for each * + * event.Because standard scorer provide by G4 don't work this way but using* + * a global ID for each event you should not use those scorer with some G4 * + * provided ones or being very carefull doing so. * + *****************************************************************************/ #include "G4VPrimitiveScorer.hh" #include "G4THitsMap.hh" namespace MUST2 { diff --git a/NPSimulation/include/PhysicsList.hh b/NPSimulation/include/PhysicsList.hh index 3082e720d5d8aa113b8519c59b27e9c0380fa841..79ecf3f40f302ea681fafb9e65692a0652cd9454 100644 --- a/NPSimulation/include/PhysicsList.hh +++ b/NPSimulation/include/PhysicsList.hh @@ -1,6 +1,27 @@ #ifndef PhysicsList_h #define PhysicsList_h 1 - +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * A quite standard, non-modulable Geant4 PPhysicis list. * + * Well suited for low energy ions physics. * + * * + *---------------------------------------------------------------------------* + * Comment: * + * A good improvement should be a modular physicis list in order to deal * + * accuratly with different physics cases. * + *****************************************************************************/ #include "G4VUserPhysicsList.hh" #include "globals.hh" diff --git a/NPSimulation/include/PrimaryGeneratorAction.hh b/NPSimulation/include/PrimaryGeneratorAction.hh index 9e0e328b9797c6ecf18fb76971cae2fd56bbbc53..5e2eec1d1f2fc718eabd05f490caf147a79e8011 100644 --- a/NPSimulation/include/PrimaryGeneratorAction.hh +++ b/NPSimulation/include/PrimaryGeneratorAction.hh @@ -1,7 +1,27 @@ -//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... #ifndef PrimaryGeneratorAction_h #define PrimaryGeneratorAction_h 1 +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This class manage the event Generator used in simulation * + * Every time you had a new kind of event generator, you need to add a few * + * line in the ReadConfiguration method to detect the associate Token * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + *****************************************************************************/ // C++ headers #include <string> diff --git a/NPSimulation/include/SteppingVerbose.hh b/NPSimulation/include/SteppingVerbose.hh index e5eff65e33ce1ab863e79d9b22b5d0dd3b607422..c9ab7c53e5614b6c3810817c8ed213cbbe43b435 100644 --- a/NPSimulation/include/SteppingVerbose.hh +++ b/NPSimulation/include/SteppingVerbose.hh @@ -1,9 +1,23 @@ -// -// $Id: SteppingVerbose.hh 38 2008-05-06 08:29:16Z jacquem $ -// -// SteppingVerbose.hh -// -//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * A standard Tracking Verbose class from Geant4 * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + *****************************************************************************/ #ifndef SteppingVerbose_h #define SteppingVerbose_h 1 diff --git a/NPSimulation/include/Target.hh b/NPSimulation/include/Target.hh index 5ba5bf90e902f1b6fd5f8b958f7957e3918bddcb..3e88dde62c0f8ea4bd2ad1ebb6e36e846ba9e414 100644 --- a/NPSimulation/include/Target.hh +++ b/NPSimulation/include/Target.hh @@ -1,6 +1,25 @@ #ifndef Target2Array_h #define Target2Array_h 1 - +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This class describe Cryogenic and standard Target. Derived from VDetector* + * * + *---------------------------------------------------------------------------* + * Comment: * + * Some improvment need to be done in material dealing * + *****************************************************************************/ // C++ headers #include <string> diff --git a/NPSimulation/include/ThinSi.hh b/NPSimulation/include/ThinSi.hh index da0c08ce3ebabd3c32c917956d4f7859838caa30..acf22cd4aa3b7a4e2ee3cd1284d7e8320dc1f1cc 100644 --- a/NPSimulation/include/ThinSi.hh +++ b/NPSimulation/include/ThinSi.hh @@ -1,6 +1,25 @@ #ifndef ThinSi_h #define ThinSi_h 1 - +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This class describe a 20um Silicium detector * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + *****************************************************************************/ // C++ header #include <string> #include <vector> diff --git a/NPSimulation/include/VDetector.hh b/NPSimulation/include/VDetector.hh index 5da53a6190122a4515d7adb488eb0b2dd02a731c..cd34e65017e0fa4d09dec1e3da354bacaa099a9d 100644 --- a/NPSimulation/include/VDetector.hh +++ b/NPSimulation/include/VDetector.hh @@ -1,6 +1,29 @@ #ifndef VDectector_H #define VDectector_H +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * All detector added in the project should derive from this virtual class * + * A vector of VDetector object is manage in the DetectorConstruction class * + * and call the virtual method of this class implemented in the daughter * + * class object. * + * This inheritance insure homogeneity and modularity of the code * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + *****************************************************************************/ // C++ header #include <string> diff --git a/NPSimulation/include/VEventGenerator.hh b/NPSimulation/include/VEventGenerator.hh index 99ed227649c391a0ebc6ad15e90e8c2e9f3482a2..b7a2ff2b944b3ec5cac7ae05afdcfd33004083cb 100644 --- a/NPSimulation/include/VEventGenerator.hh +++ b/NPSimulation/include/VEventGenerator.hh @@ -1,6 +1,30 @@ #ifndef VEventGenerator_h #define VEventGenerator_h +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * All event generator added in the project should derive from this virtual * + * class. * + * A VEventGenerator object is manage by the PrimaryGeneratorAction class * + * and call the virtual method of this class implemented in the daughter * + * class object. * + * This inheritance insure homogeneity and modularity of the code * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + *****************************************************************************/ // C++ header #include <string> diff --git a/NPSimulation/src/DetectorConstruction.cc b/NPSimulation/src/DetectorConstruction.cc index 7dab385c2ae9e4f17f602a8412517a29d00343c3..94fa7155aee3a192a0a29c88fad95181fb6a81fc 100644 --- a/NPSimulation/src/DetectorConstruction.cc +++ b/NPSimulation/src/DetectorConstruction.cc @@ -1,3 +1,26 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This Class manage the virtual detector and call their method. * + * Every time a new detector is added to the project, a few line in the * + * ReadConfigurationFile method are needed in order to detect the associate * + * token. * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ #include "DetectorConstruction.hh" #include "G4Material.hh" diff --git a/NPSimulation/src/EventAction.cc b/NPSimulation/src/EventAction.cc index 05ffbaf498a15850a027aea12c668005a5044bf9..bba98dd22f7fbad02af7d612dc0336bb2c7f0e87 100644 --- a/NPSimulation/src/EventAction.cc +++ b/NPSimulation/src/EventAction.cc @@ -1,3 +1,24 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * A quite Standard Geant4 EventAction class. * + * Call the Fill method of the output tree. * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ // G4 headers #include "G4Event.hh" #include "G4UnitsTable.hh" diff --git a/NPSimulation/src/EventGeneratorBeam.cc b/NPSimulation/src/EventGeneratorBeam.cc index 6d6955f550aeaa14ad29a915d41502e8d15573d2..bcccad2a9125bb6b67cfcc2edf6e33816a24ddd8 100644 --- a/NPSimulation/src/EventGeneratorBeam.cc +++ b/NPSimulation/src/EventGeneratorBeam.cc @@ -1,3 +1,24 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This event Generator is used to simulated Radioactive Ion beam * + * Emmitance, Energy spread and dispersion are taken into account * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ // G4 header #include "G4ParticleTable.hh" diff --git a/NPSimulation/src/EventGeneratorIsotropic.cc b/NPSimulation/src/EventGeneratorIsotropic.cc index d38d6a3814ba82013ffd0d00a2775bde485d53ef..9f1faf0ff77e0e0ca2f01b195bbe65994dfa20a5 100644 --- a/NPSimulation/src/EventGeneratorIsotropic.cc +++ b/NPSimulation/src/EventGeneratorIsotropic.cc @@ -1,3 +1,24 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This event Generator is used to simulated Isotropic ion Source * + * Very usefull to figure out Geometric Efficacity of experimental Set-Up * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ // G4 headers #include "G4ParticleTable.hh" diff --git a/NPSimulation/src/EventGeneratorTransfert.cc b/NPSimulation/src/EventGeneratorTransfert.cc index f70272bd2b2200fb4304192b0beeff8005d82262..41fd69c427f1ae59b9e4592c09d022b89921edb3 100644 --- a/NPSimulation/src/EventGeneratorTransfert.cc +++ b/NPSimulation/src/EventGeneratorTransfert.cc @@ -1,3 +1,26 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This event Generator is used to simulated two body TransfertReaction. * + * A Relativistic computation is performed to determine angle and energy of * + * the different particle, knowing the ThetaCM angle given by a cross * + * section shoot. Eleastic scattering can also be simulated. * + *---------------------------------------------------------------------------* + * Comment: * + * * + * * + *****************************************************************************/ // C++ headers #include <iostream> #include <fstream> diff --git a/NPSimulation/src/EventGeneratorTransfertToResonance.cc b/NPSimulation/src/EventGeneratorTransfertToResonance.cc index c6e789335688920a0a83627ee1fc441795a9bbe5..0a1fb9e2616f8f72f5b8940e8ea411fa4bf1d2ae 100644 --- a/NPSimulation/src/EventGeneratorTransfertToResonance.cc +++ b/NPSimulation/src/EventGeneratorTransfertToResonance.cc @@ -1,3 +1,25 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This event Generator is used to simulated two body TransfertReaction. * + * A Phase Space calculation is then performed to decay the Heavy product. * + *---------------------------------------------------------------------------* + * Comment: * + * This class is not yet operationnal. * + * * + *****************************************************************************/ + // C++ headers #include <iostream> #include <fstream> diff --git a/NPSimulation/src/GeneralScorers.cc b/NPSimulation/src/GeneralScorers.cc index 9f6db6cc5fcab84a2d9109c6b737b02f3791a962..b0c9f445e9293634068b76ea60fae9f256d4340a 100644 --- a/NPSimulation/src/GeneralScorers.cc +++ b/NPSimulation/src/GeneralScorers.cc @@ -1,12 +1,36 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This class old some of the General Scorer, shared by different detector. + Thos scorer could be a could basis for your own scorer * + *---------------------------------------------------------------------------* + * Comment: * + * Those Scorer use TrackID as map index. This way ones can rebuild energy * + * deposit, time of flight or position,... particle by particle for each * + * event.Because standard scorer provide by G4 don't work this way but using* + * a global ID for each event you should not use those scorer with some G4 * + * provided ones or being very carefull doing so. * * + *****************************************************************************/ #include "GeneralScorers.hh" #include "G4UnitsTable.hh" //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... // Added by Adrien MATTA: -// Those Scorer use TrackID as map index. This way ones can rebuild energy deposit, -// time of flight or position,... particle by particle for each event. Because standard -// scorer provide by G4 don't work this way but using a global ID for each event you should -// not use those scorer with some G4 provided ones or being very carefull doing so. +// +// +// +// //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... //Strip Energy Scorer (deal with multiple particle hit) diff --git a/NPSimulation/src/MUST2Array.cc b/NPSimulation/src/MUST2Array.cc index 78a36ec21be3071e8bf459482f26af4021321147..1343f4ebb8b6b647aced63c522f3767f1f9fa22a 100644 --- a/NPSimulation/src/MUST2Array.cc +++ b/NPSimulation/src/MUST2Array.cc @@ -1,3 +1,27 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This file describe the MUST2 charge particle Detector * + * * + *---------------------------------------------------------------------------* + * Comment: * + * MUST2 is a modular array made of Telescope (1 to 8 telescope). Each * + * Telescope is made of Three Stage: * + * - A 300um Silicium, double-sided strip * + * - 16 Si(Li) pad * + * - 16 CsI scintillator Crystal * + *****************************************************************************/ #include"MUST2Array.hh" //G4 Geometry object @@ -836,7 +860,7 @@ void MUST2Array::ConstructDetector(G4LogicalVolume* world) if (Theta == 0) { Theta = 0.0001 ; } - if (Theta == 2*cos(0)) { + if (Theta == 2*acos(0)) { Theta = 2 * acos(0) - 0.00001 ; } if (Phi == 0) { diff --git a/NPSimulation/src/Must2Scorers.cc b/NPSimulation/src/Must2Scorers.cc index fc4a519439f2f9defcacbacb9b648fd31cd6d57c..aff1db1b7ac44284d59ae8e50a914dbf7ea09bb3 100644 --- a/NPSimulation/src/Must2Scorers.cc +++ b/NPSimulation/src/Must2Scorers.cc @@ -1,3 +1,27 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * File old the scorer specific to the MUST2 Detector * + * * + *---------------------------------------------------------------------------* + * Comment: * + * Those Scorer use TrackID as map index. This way ones can rebuild energy * + * deposit, time of flight or position,... particle by particle for each * + * event.Because standard scorer provide by G4 don't work this way but using* + * a global ID for each event you should not use those scorer with some G4 * + * provided ones or being very carefull doing so. * + *****************************************************************************/ #include "Must2Scorers.hh" #include "G4UnitsTable.hh" #include <string> diff --git a/NPSimulation/src/PhysicsList.cc b/NPSimulation/src/PhysicsList.cc index 7f19c3ee038d110880587089dcc0af751adf24b0..b2830204201608cb20133a7d78c9670cb21749be 100644 --- a/NPSimulation/src/PhysicsList.cc +++ b/NPSimulation/src/PhysicsList.cc @@ -1,4 +1,26 @@ -#include "PhysicsList.hh" +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * A quite standard, non-modulable Geant4 PPhysicis list. * + * Well suited for low energy ions physics. * + * * + *---------------------------------------------------------------------------* + * Comment: * + * A good improvement should be a modular physicis list in order to deal * + * accuratly with different physics cases. * + *****************************************************************************/ + #include "PhysicsList.hh" // I/O #include "G4ios.hh" diff --git a/NPSimulation/src/PrimaryGeneratorAction.cc b/NPSimulation/src/PrimaryGeneratorAction.cc index 87ff1d8cfe6a74852a0ea06e38c6814f3114d88a..a83678dd4ce614aa0c7fe366032cf754790e7cee 100644 --- a/NPSimulation/src/PrimaryGeneratorAction.cc +++ b/NPSimulation/src/PrimaryGeneratorAction.cc @@ -1,3 +1,26 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This class manage the event Generator used in simulation * + * Every time you had a new kind of event generator, you need to add a few * + * line in the ReadConfiguration method to detect the associate Token * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + *****************************************************************************/ + #include "PrimaryGeneratorAction.hh" #include "PhysicsList.hh" #include "G4ParticleTable.hh" diff --git a/NPSimulation/src/SteppingVerbose.cc b/NPSimulation/src/SteppingVerbose.cc index b9282367d2761be01026539fee0411a5b25622b3..73018998e694a372f53a664bea20aa5e4680b77b 100644 --- a/NPSimulation/src/SteppingVerbose.cc +++ b/NPSimulation/src/SteppingVerbose.cc @@ -1,3 +1,23 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * A standard Tracking Verbose class from Geant4 * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + *****************************************************************************/ #include "SteppingVerbose.hh" #include "G4SteppingManager.hh" diff --git a/NPSimulation/src/Target.cc b/NPSimulation/src/Target.cc index 58c4ca820972ca54a4788cefb7cd8d325f252e3e..1d88eda135602fbe0a7030bb319ba20d8d17e830 100644 --- a/NPSimulation/src/Target.cc +++ b/NPSimulation/src/Target.cc @@ -1,3 +1,23 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This class describe Cryogenic and standard Target. Derived from VDetector* + * * + *---------------------------------------------------------------------------* + * Comment: * + * Some improvment need to be done in material dealing * + *****************************************************************************/ // C++ header #include <fstream> diff --git a/NPSimulation/src/ThinSi.cc b/NPSimulation/src/ThinSi.cc index 96794d603f1322e7a0af3e38fc7a6b865ac96f1d..cd4eb8f94a1480765c1aee2b665e5d6f576094e8 100644 --- a/NPSimulation/src/ThinSi.cc +++ b/NPSimulation/src/ThinSi.cc @@ -1,3 +1,24 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * This class describe a 20um Silicium detector * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + *****************************************************************************/ + // C++ headers #include <sstream> #include <cmath> diff --git a/NPSimulation/src/VDetector.cc b/NPSimulation/src/VDetector.cc index 8c8e6e3c6cf357f3312a66f16cbad66374d335b8..df74f1f014ae9d3907e9fdc8783898f5add0516b 100644 --- a/NPSimulation/src/VDetector.cc +++ b/NPSimulation/src/VDetector.cc @@ -1,3 +1,27 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * All detector added in the project should derive from this virtual class * + * A vector of VDetector object is manage in the DetectorConstruction class * + * and call the virtual method of this class implemented in the daughter * + * class object. * + * This inheritance insure homogeneity and modularity of the code * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + *****************************************************************************/ #include "VDetector.hh" #include "RootOutput.h" diff --git a/NPSimulation/src/VEventGenerator.cc b/NPSimulation/src/VEventGenerator.cc index 8510e8a3970cf2c3ac5650cdea392c0e60948836..128d1e71d448999630ee3b7c54133a2b0dc41920 100644 --- a/NPSimulation/src/VEventGenerator.cc +++ b/NPSimulation/src/VEventGenerator.cc @@ -1,3 +1,28 @@ +/***************************************************************************** + * Copyright (C) 2009 this file is part of the NPTool Project * + * * + * For the licensing terms see $NPTOOL/Licence/NPTool_Licence * + * For the list of contributors see $NPTOOL/Licence/Contributors * + *****************************************************************************/ + +/***************************************************************************** + * Original Author: Adrien MATTA contact address: matta@ipno.in2p3.fr * + * * + * Creation Date : January 2009 * + * Last update : * + *---------------------------------------------------------------------------* + * Decription: * + * All event generator added in the project should derive from this virtual * + * class. * + * A VEventGenerator object is manage by the PrimaryGeneratorAction class * + * and call the virtual method of this class implemented in the daughter * + * class object. * + * This inheritance insure homogeneity and modularity of the code * + * * + *---------------------------------------------------------------------------* + * Comment: * + * * + *****************************************************************************/ #include "VEventGenerator.hh" //Root