Index: unk/source/geometry/magneticfield/include/G4MonopoleEq.hh
===================================================================
--- /trunk/source/geometry/magneticfield/include/G4MonopoleEq.hh	(revision 1319)
+++ 	(revision )
@@ -1,74 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//
-// $Id: G4MonopoleEq.hh,v 1.1 2009/11/17 09:53:03 grichine Exp $
-// GEANT4 tag $Name:  $
-//
-//
-// class G4MonopoleEq
-//
-// Class description:
-//
-// This is the right-hand side of equation of motion 
-// for monopole in a combined
-// electric and magnetic field.
-
-// History:
-// - Created. V.Grichine, 17.11.09
-// -------------------------------------------------------------------
-
-#ifndef G4EQMAGELECTRICFIELD_hh
-#define G4EQMAGELECTRICFIELD_hh
-
-#include "G4EquationOfMotion.hh"
-#include "G4ElectroMagneticField.hh"
-
-class G4MonopoleEq : public G4EquationOfMotion
-{
-  public:  // with description
-
-    G4MonopoleEq(G4ElectroMagneticField *emField )
-      : G4EquationOfMotion( emField ) {;}
-
-    ~G4MonopoleEq() {;} 
-
-    void  SetChargeMomentumMass(G4double particleCharge, // in e+ units
-                                G4double MomentumXc,
-                                G4double mass);
-
-    void EvaluateRhsGivenB(const G4double y[],
-                           const G4double Field[],
-                                 G4double dydx[] ) const;
-      // Given the value of the electromagnetic field, this function 
-      // calculates the value of the derivative dydx.
-
-  private:
-
-    G4double        fElectroMagCof ;
-    G4double        fMassCof;
-};
-
-#endif
Index: unk/source/geometry/magneticfield/src/G4MonopoleEq.cc
===================================================================
--- /trunk/source/geometry/magneticfield/src/G4MonopoleEq.cc	(revision 1319)
+++ 	(revision )
@@ -1,99 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//
-// $Id: G4MonopoleEq.cc,v 1.1 2009/11/17 09:53:03 grichine Exp $
-// GEANT4 tag $Name:  $
-//
-//
-//  This is the standard right-hand side for equation of motion.
-//
-//  d(p_c)/ds=g{c-energyB_ - p_c x E}/pc
-//
-//  The only case another is required is when using a moving reference
-//  frame ... or extending the class to include additional Forces,
-//  eg an electric field
-//
-//  17.11.09   V.Grichine
-//
-// -------------------------------------------------------------------
-
-#include "G4MonopoleEq.hh"
-#include "globals.hh"
-
-void  
-G4MonopoleEq::SetChargeMomentumMass(G4double particleCharge, // e+ units
-		                            G4double,
-                                            G4double particleMass)
-{
-  fElectroMagCof =  eplus*particleCharge;  // no *c_light as for ususal q
-  fElectroMagCof /= 2*fine_structure_const;
-
-  fMassCof = particleMass*particleMass ; 
-}
-
-
-
-void
-G4MonopoleEq::EvaluateRhsGivenB(const G4double y[],
-			                const G4double Field[],
-				              G4double dydx[] ) const
-{
-
-   // Components of y:
-   //    0-2 dr/ds, 
-   //    3-5 dpc/ds - momentum derivatives 
-
-   G4double pSquared = y[3]*y[3] + y[4]*y[4] + y[5]*y[5] ;
-
-   G4double Energy   = std::sqrt( pSquared + fMassCof );
-   G4double cof2     = Energy*c_light ;
-
-   G4double pModuleInverse  = 1.0/std::sqrt(pSquared) ;
-
-   //  G4double inverse_velocity = Energy * c_light * pModuleInverse;
-   G4double inverse_velocity = Energy * pModuleInverse / c_light;
-
-   G4double cof1     = fElectroMagCof*pModuleInverse ;
-
-   //  G4double vDotE = y[3]*Field[3] + y[4]*Field[4] + y[5]*Field[5] ;
-
-
-   dydx[0] = y[3]*pModuleInverse ;                         
-   dydx[1] = y[4]*pModuleInverse ;                         
-   dydx[2] = y[5]*pModuleInverse ;                        
-
-   dydx[3] = cof1*(cof2*Field[0] - (y[4]*Field[5] - y[5]*Field[4])) ;
-   
-   dydx[4] = cof1*(cof2*Field[1] - (y[5]*Field[3] - y[3]*Field[5])) ; 
- 
-   dydx[5] = cof1*(cof2*Field[2] - (y[3]*Field[4] - y[4]*Field[3])) ;  
-
-   dydx[6] = 0.;//not used
-
-   // Lab Time of flight
-   dydx[7] = inverse_velocity;
-   return ;
-}
Index: unk/source/interfaces/XVT/include/G4UIxvt.hh
===================================================================
--- /trunk/source/interfaces/XVT/include/G4UIxvt.hh	(revision 1319)
+++ 	(revision )
@@ -1,236 +1,0 @@
-//
-// ********************************************************************
-// * DISCLAIMER                                                       *
-// *                                                                  *
-// * The following disclaimer summarizes all the specific disclaimers *
-// * of contributors to this software. The specific disclaimers,which *
-// * govern, are listed with their locations in:                      *
-// *   http://cern.ch/geant4/license                                  *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.                                                             *
-// *                                                                  *
-// * This  code  implementation is the  intellectual property  of the *
-// * GEANT4 collaboration.                                            *
-// * By copying,  distributing  or modifying the Program (or any work *
-// * based  on  the Program)  you indicate  your  acceptance of  this *
-// * statement, and all its terms.                                    *
-// ********************************************************************
-//
-//
-// $Id: G4UIxvt.hh,v 1.5 2003/06/16 16:55:53 gunter Exp $
-// GEANT4 tag $Name:  $
-//
-////////////////////////////////////////////////////////////////////////
-//                     XVT driver class header                        //
-//                     ~~~~~~~~~~~~~~~~~~~~~~~                        //
-// Written by: Simon Prior                                            //
-//       Date: 22/04/97                                               //
-//                                                                    //
-// Updated for state machine: 12/08/97                                //
-//                                                                    //
-////////////////////////////////////////////////////////////////////////
-#ifndef G4UIxvt_h
-#define G4UIxvt_h
-
-#if defined(G4UI_BUILD_XVT_SESSION) || defined(G4UI_USE_XVT)
-
-////////////////////////////////////////////////////////////////////////
-// define the named pipe names                                        //
-////////////////////////////////////////////////////////////////////////
-
-#define XvtToGeant "XvtToGeant.tmp"  
-#define GeantToXvt "GeantToXvt.tmp"
-
-
-////////////////////////////////////////////////////////////////////////
-// mode for opening a named pipe                                      //
-////////////////////////////////////////////////////////////////////////
-
-#define FILE_MODE (0664 | S_IFIFO)    
-
-
-////////////////////////////////////////////////////////////////////////
-// If compiling using AFS different libraries required                //
-////////////////////////////////////////////////////////////////////////
-
-#ifdef _AIX              
-#include <sys/mode.h>    // mkfifo utils 
-#endif
-
-#include <unistd.h>      // POSIX standards for stdin, out, err.
-//#include <values.h>
-#include <sys/stat.h>    // mkfifo utils for HP 
-#include <fcntl.h>       // Open, Close, Unlink etc 
-#include <sys/ioctl.h>
-#include <stdio.h>       // sscanf, sprinf 
-
-#ifndef FIONREAD
-#include <sys/filio.h>   // FIONREAD defines
-#endif
-
-////////////////////////////////////////////////////////////////////////
-// Geant4 specific includes                                           //
-////////////////////////////////////////////////////////////////////////
-
-#include "G4UIsession.hh"
-#include "G4UImanager.hh"
-#include "G4UIcommandTree.hh"
-
-
-////////////////////////////////////////////////////////////////////////
-// State machine Geant4 includes                                      //
-////////////////////////////////////////////////////////////////////////
-
-#include "G4VStateDependent.hh"
-#include <fstream>
-
-
-////////////////////////////////////////////////////////////////////////
-// New data structures, one to hold the parameter information of a    //
-// command and one to hold information on the command itself.         //
-////////////////////////////////////////////////////////////////////////
-
-typedef struct G4parameterData
-{
-  G4String name;
-  G4String guidance;
-  G4String defaultValue;
-  G4String range;
-  G4String candidate;
-  char     type;
-  G4String omittable; 
-} G4parameterData;
-
-typedef struct G4commandData
-{
-  int flag;
-  G4String name;
-  G4String guidance;
-  int numOfParameters;
-  G4parameterData parameters[10];
-  
-//  G4String bitmapName;
-
-  int commandNumber;
-} G4commandData;
-
-
-class G4UIxvt : public G4UIsession//, public G4VStateDependent
-{
-  public:
-    G4UIxvt();
-    ~G4UIxvt();
-    
-    ////////////////////////////////////////////////////////////////////
-    // Inherited virtual functions                                    //
-    ////////////////////////////////////////////////////////////////////
-
-//    void SessionStart(void);    
-G4UIsession*  SessionStart(void);    
-    G4String GetCommand(void);
-    void SessionTerminate(void);
-
-
-    ////////////////////////////////////////////////////////////////////
-    // New state machine methods                                      //
-    ////////////////////////////////////////////////////////////////////
-    
-    G4bool Notify(G4ApplicationState requestedState);
-
-    inline void set_breakPointAt(int id,G4bool flg)
-    { 
-      brktbl[id] = flg; 
-      noBreakFlag = !(brktbl[0]||brktbl[1]||brktbl[2]||brktbl[3]);
-    };
-
-    void set_verbose(void);    
-    
-  private:
-  
-    ////////////////////////////////////////////////////////////////////
-    // Terminal and interface data members (might be taken out as     //   
-    // they are not needed for the XVT GUI)                           //
-    ////////////////////////////////////////////////////////////////////    
-        
-    G4UImanager * UI;          
-
-
-    ////////////////////////////////////////////////////////////////////
-    // New state machine data members                                 //
-    ////////////////////////////////////////////////////////////////////
-    
-    G4bool iExit;
-    G4bool iCont;
-    G4bool brktbl[4];
-    G4bool noBreakFlag;
-    G4bool verboseFlag;
-
-
-    ////////////////////////////////////////////////////////////////////
-    // New state machine methods                                      //
-    ////////////////////////////////////////////////////////////////////
-    
-    void additionalSession(void);    
-    G4bool breakRequested(G4ApplicationState,G4ApplicationState);
-
-
-    ////////////////////////////////////////////////////////////////////
-    // IPC Data Members                                               //
-    ////////////////////////////////////////////////////////////////////
-    
-    int fd_XvtToGeant, fd_GeantToXvt; 
-    char textDump[100];  
-    int number;   
-
-
-    ////////////////////////////////////////////////////////////////////
-    // IPC methods                                                    //
-    ////////////////////////////////////////////////////////////////////
-    
-    void openConnections(void);
-    int checkXvtToGeantPipe(void);
-    G4String readXvtToGeant(void);
-    void writeGeantToXvt(const G4String& theString); 
-
-
-    ////////////////////////////////////////////////////////////////////
-    // Terminal and TCL methods updated for use with XVT              //
-    ////////////////////////////////////////////////////////////////////
-    
-    void codeGen(G4UIcommandTree *,int recursive_level);                           
-    void listCurrentDirectory(void);
-
-    
-    ////////////////////////////////////////////////////////////////////
-    // Command handling data members                                  //
-    ////////////////////////////////////////////////////////////////////
-    
-    G4commandData commandArray[200];
-    int currentPosition, lastPosition;
-
-
-    ////////////////////////////////////////////////////////////////////
-    // Command handling methods                                       //
-    ////////////////////////////////////////////////////////////////////
-    
-    void fillArrayEntries(G4UIcommandTree * tree, int level);
-    void sendArrayEntriesToXvt(void);
-    void briefListCommands(void);
-
-        
-    ////////////////////////////////////////////////////////////////////
-    // Debugging methods                                              //
-    ////////////////////////////////////////////////////////////////////
-    void listCommandArray(void);
-    void errorHandler(const G4String& theError);
-
-
-};
-
-#endif
-
-#endif
Index: unk/source/interfaces/XVT/include/G4UIxvtMessenger.hh
===================================================================
--- /trunk/source/interfaces/XVT/include/G4UIxvtMessenger.hh	(revision 1319)
+++ 	(revision )
@@ -1,57 +1,0 @@
-//
-// ********************************************************************
-// * DISCLAIMER                                                       *
-// *                                                                  *
-// * The following disclaimer summarizes all the specific disclaimers *
-// * of contributors to this software. The specific disclaimers,which *
-// * govern, are listed with their locations in:                      *
-// *   http://cern.ch/geant4/license                                  *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.                                                             *
-// *                                                                  *
-// * This  code  implementation is the  intellectual property  of the *
-// * GEANT4 collaboration.                                            *
-// * By copying,  distributing  or modifying the Program (or any work *
-// * based  on  the Program)  you indicate  your  acceptance of  this *
-// * statement, and all its terms.                                    *
-// ********************************************************************
-//
-//
-// $Id: G4UIxvtMessenger.hh,v 1.4 2001/07/11 10:01:19 gunter Exp $
-// GEANT4 tag $Name:  $
-//
-//////////////////////////////////////////////////////////////////////////////
-//                                                                          //
-// The original code (written by Makoto Asai) has been adapted for use      //
-// with the XVT Geant GUI                                                   //
-//                                                                          //
-// By: Simon Prior 11/08/97                                                 //
-//                                                                          //
-//////////////////////////////////////////////////////////////////////////////
-#ifndef G4UIxvtMessenger_h
-#define G4UIxvtMessenger_h 1
-
-#if defined(G4UI_BUILD_XVT_SESSION) || defined(G4UI_USE_XVT)
-
-#include "G4UImessenger.hh"
-#include "G4UImanager.hh"
-
-class G4UIxvt;
-
-class G4UIxvtMessenger : public G4UImessenger 
-{
-  public:
-      G4UIxvtMessenger(G4UIxvt*);
-      void SetNewValue(G4UIcommand * command,G4String newValue);
-  private:
-      G4UIxvt* xvtptr;
-};
-
-#endif
-
-#endif
-
Index: unk/source/interfaces/XVT/src/G4UIxvt.cc
===================================================================
--- /trunk/source/interfaces/XVT/src/G4UIxvt.cc	(revision 1319)
+++ 	(revision )
@@ -1,819 +1,0 @@
-//
-// ********************************************************************
-// * DISCLAIMER                                                       *
-// *                                                                  *
-// * The following disclaimer summarizes all the specific disclaimers *
-// * of contributors to this software. The specific disclaimers,which *
-// * govern, are listed with their locations in:                      *
-// *   http://cern.ch/geant4/license                                  *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.                                                             *
-// *                                                                  *
-// * This  code  implementation is the  intellectual property  of the *
-// * GEANT4 collaboration.                                            *
-// * By copying,  distributing  or modifying the Program (or any work *
-// * based  on  the Program)  you indicate  your  acceptance of  this *
-// * statement, and all its terms.                                    *
-// ********************************************************************
-//
-//
-// $Id: G4UIxvt.cc,v 1.5 2002/12/04 22:03:09 asaim Exp $
-// GEANT4 tag $Name:  $
-//
-#ifdef G4UI_BUILD_XVT_SESSION
-
-////////////////////////////////////////////////////////////////////////////
-//                   XVT driver class implementation
-//                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-// Written by: Simon Prior
-//       Date: 23/04/97
-//
-// Updated for state machine: 12/08/97
-//
-// The update consisted of adding the new state methods and I also deleted
-// a lot of old redundant code (like ChangeDirectory etc which aren't 
-// needed with the XVT GUI).
-//
-////////////////////////////////////////////////////////////////////////////
-#include "G4UIxvt.hh"
-#include "G4StateManager.hh"
-#include "G4UIxvtMessenger.hh"
-
-////////////////////////////////////////////////////////////////////////////
-//                   
-// G4UIxvt - Consructor
-//
-// Initalise the class variables.
-//
-// Note: number is the number of bytes transfered with each read or write.
-//
-////////////////////////////////////////////////////////////////////////////
-G4UIxvt::G4UIxvt()
-{  
-  UI = G4UImanager::GetUIpointer();
-
-  iExit = false;
-  iCont = false;
-  
-  for(int i=0;i<4;i++)
-  { 
-    brktbl[i] = false; 
-  }
-  
-  noBreakFlag = true;
-  verboseFlag = true;
-  new G4UIxvtMessenger(this);
-
-  number = 100;
-  currentPosition = 0;
-  lastPosition = 100;
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-//
-// ~G4UIxvt - Destructor
-//
-////////////////////////////////////////////////////////////////////////////
-G4UIxvt::~G4UIxvt()
-{
-
-}
-
-////////////////////////////////////////////////////////////////////////////
-// 
-// Notify
-//
-// Notifies the user of the state changes of the system.
-//
-////////////////////////////////////////////////////////////////////////////
-//G4bool G4UIxvt::Notify(G4ApplicationState requestedState)
-//{
-//  G4StateManager * statM = G4StateManager::GetStateManager();
-//  G4ApplicationState previousState = statM->GetPreviousState();
-//
-//  if(verboseFlag) 
-//  {
-//    writeGeantToXvt("========== STATE CHANGE ===========");
-//    writeGeantToXvt("FROM: " + statM->GetStateString(previousState));
-//    writeGeantToXvt("  TO: " + statM->GetStateString(requestedState));
-//    writeGeantToXvt("===================================");
-//  }
-//
-//  if(requestedState==Pause || breakRequested(previousState,requestedState))
-//  { 
-//    additionalSession(); 
-//  }
-//  
-//  return true;
-//}
- 
-////////////////////////////////////////////////////////////////////////////
-// 
-// breakRequested
-//
-// Notifies and puts breaks in the Geant4 run.
-//
-////////////////////////////////////////////////////////////////////////////
-G4bool G4UIxvt::breakRequested(G4ApplicationState previousState,
-                                    G4ApplicationState requestedState)
-{
-  if(noBreakFlag) return false;
-
-  G4bool ans = false;
-
-  if(previousState==G4State_Idle && requestedState==G4State_GeomClosed && brktbl[0])
-  { 
-    writeGeantToXvt("====== BREAKPOINT NOTIFICATION ======");
-    writeGeantToXvt("BreakPoint at: BEGIN OF RUN");
-    writeGeantToXvt("Enter 'continue' command to proceed");
-    writeGeantToXvt("=====================================");
-    
-    ans = true;
-  }
-
-  if(previousState==G4State_GeomClosed && requestedState==G4State_EventProc && brktbl[1])
-  { 
-    writeGeantToXvt("====== BREAKPOINT NOTIFICATION ======");
-    writeGeantToXvt("BreakPoint at: BEGIN OF EVENT");
-    writeGeantToXvt("Enter 'continue' command to proceed");
-    writeGeantToXvt("=====================================");
-    
-    ans = true;
-  }
-
-  if(previousState==G4State_EventProc && requestedState==G4State_GeomClosed && brktbl[2])
-  {     
-    writeGeantToXvt("====== BREAKPOINT NOTIFICATION ======");
-    writeGeantToXvt("BreakPoint at: END OF EVENT");
-    writeGeantToXvt("Enter 'continue' command to proceed");
-    writeGeantToXvt("=====================================");
-    
-    ans = true;
-  }
-
-  if(previousState==G4State_GeomClosed && requestedState==G4State_Idle && brktbl[3])
-  { 
-    writeGeantToXvt("====== BREAKPOINT NOTIFICATION ======");
-    writeGeantToXvt("BreakPoint at: END OF RUN");    
-    writeGeantToXvt("Enter 'continue' command to proceed");
-    writeGeantToXvt("=====================================");
-    
-    ans = true;
-  }
-
-  return ans;
-}
-
-////////////////////////////////////////////////////////////////////////////
-//
-// set_verbose
-//
-// Toggles the Verbose state of the GUI concerning the state machine.
-//
-////////////////////////////////////////////////////////////////////////////
-void G4UIxvt::set_verbose(void)
-{
-  verboseFlag = !verboseFlag;
-  
-  if (verboseFlag)   
-  {
-    writeGeantToXvt("Verbose mode switched ON");
-  }
-  else
-  {
-    writeGeantToXvt("Verbose mode switched OFF");
-  }
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-// 
-// SessionStart
-//
-// Informs user of Geant Kernel starting and does a 'brief' command listing.
-// Update: 12/08/97 - now used as main control of Geant (get command is 
-//         currently called from here NOT from the UIManager.
-//
-////////////////////////////////////////////////////////////////////////////
-//void G4UIxvt::SessionStart(void)
-G4UIsession*  G4UIxvt::SessionStart(void)
-{
-  openConnections();
-  writeGeantToXvt("Connection to Geant open...\0");    
-  
-  G4UImanager * UI = G4UImanager::GetUIpointer();
-  G4UIcommandTree * comTree = UI->GetTree();
-
-  fillArrayEntries(comTree, 0);
-
-  G4cout << " --------- List of Array Entries ---------- " << G4endl;
-
-  listCommandArray();
-  briefListCommands();
-  
-  // --- Enter main program control --- //
-  
-  iExit = true;
-
-  while( iExit )
-  {
-    G4String newCommand = GetCommand();
-    if(newCommand.length()>1) UI->ApplyCommand(newCommand);
-  }    
-  return NULL;
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-// 
-// additionalSession
-//
-// 
-//
-////////////////////////////////////////////////////////////////////////////
-void G4UIxvt::additionalSession(void)
-{
-  writeGeantToXvt("=== Entering Addtional Session ===");
-  iCont = true;
-  while( iCont )
-  {
-    G4String newCommand = GetCommand();
-    if(newCommand.length()>1) UI->ApplyCommand(newCommand);
-  }
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-//
-// SessionTerminate
-//
-// Informs user that Geant has terminated.
-//
-////////////////////////////////////////////////////////////////////////////
-void G4UIxvt::SessionTerminate(void)
-{
-  writeGeantToXvt("XVT <-> Geant4 terminating...");
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-//
-// openConnections                 
-//
-// This method opens the IPC connection.   
-// 
-// Open the named pipes in the current directory using the 
-// appropriate permissions.
-//
-////////////////////////////////////////////////////////////////////////////
-void G4UIxvt::openConnections(void)
-{          
-  int o_flags;
-  
-  o_flags = O_WRONLY | O_NONBLOCK;
-  
-  if((fd_GeantToXvt = open(GeantToXvt, o_flags)) == -1)
-  {
-    errorHandler("GeantToXvt pipe opening");
-  }
-  
-  o_flags = O_RDONLY | O_NONBLOCK;
-  
-  if((fd_XvtToGeant = open(XvtToGeant, o_flags)) == -1)
-  {
-    errorHandler("XvtToGeant pipe opening"); 
-  } 
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-//                   
-// checkXvtToGeantPipe
-//
-// This method checks to see if the XvtToGeant pipe contains anything.
-// Thus meaning it will be readable without blocking.
-//
-// Returns 0 if nothing present, 1 otherwise. 
-// 
-////////////////////////////////////////////////////////////////////////////
-int G4UIxvt::checkXvtToGeantPipe(void)
-{
-  int nbytes;
-  ioctl(fd_XvtToGeant, FIONREAD, &nbytes);
-  
-  if (nbytes > 0)
-    return 1;
-  else
-    return 0;
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-//                   
-// readXvtToGeant
-//
-// This method grabs the data in the XvtToGeant named pipe, and 
-// returns it to the caller.
-//
-////////////////////////////////////////////////////////////////////////////
-G4String G4UIxvt::readXvtToGeant(void)
-{
-  int bytes_read = read(fd_XvtToGeant, textDump, number);
-  textDump[bytes_read] = '\0'; 
-  G4String newString = textDump;
-  return newString;
-}
- 
- 
-////////////////////////////////////////////////////////////////////////////
-//
-// writeGeantToXvt                 
-//
-// This method writes the passed string to the GeantToXvt named pipe.
-//
-////////////////////////////////////////////////////////////////////////////
-void G4UIxvt::writeGeantToXvt(const G4String& theString)
-{
-  int write_check = write(fd_GeantToXvt, theString, number);
-    
-  if(write_check == -1)
-    G4cout << "ERROR WITH WRITE!!" << G4endl;
-}
-
-
-///////////////////////////////////////////////////////////////////////////////
-//
-// errorHandler
-//
-// A general purpose error handler.  It can be called by any method.  A string
-// is passed so that this method simply prints a message via G4cout that explains 
-// what the error is.
-//
-///////////////////////////////////////////////////////////////////////////////
-void G4UIxvt::errorHandler(const G4String& theError)
-{
-  G4cout << "Error with " << theError << G4endl;  
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-//
-// GetCommand
-//
-// This method is called by SessionStart to get a command from the user.
-//
-// It enters a loop to repeatedly check the Geant end of the named pipe.
-// When something is present in the pipe (sent by XVT GUI) it then grabs it 
-// and returns the string to the caller.
-//
-////////////////////////////////////////////////////////////////////////////
-G4String G4UIxvt::GetCommand()
-{
-  G4String newCommand('\0');
-  G4UImanager * UI = G4UImanager::GetUIpointer();
-  while( 1 )
-  {
-    int Done = 0;
-  
-    while (!Done)
-    {
-      if (checkXvtToGeantPipe())
-      {
-        newCommand = readXvtToGeant();
-        Done = 1;
-      }
-      else
-        ; // Pipe is empty so loop again
-    }
-
-    G4String nC = newCommand;
-    
-    if(nC == "getCommands")
-    {
-      sendArrayEntriesToXvt();
-    }
-    else if( nC == "/control/exit" )
-    { 
-      if( iCont )
-      { 
-        writeGeantToXvt("You are now processing RUN.");
-        writeGeantToXvt("Please abort it using \"/run/abort\" command first");
-        writeGeantToXvt("and use \"continue\" command until the application");
-        writeGeantToXvt("becomes Idle.");        
-      }
-      else
-      {
-        iExit = false;
-        newCommand = "/";
-        break;
-      }
-    }    
-    else if( nC(0,4) == "cont" )
-    { 
-      iCont = false;
-      newCommand = "/";
-      break;
-    }    
-    else
-    { 
-      break; 
-    }
-  }
-
-  if( newCommand(0) != '/' )
-    G4cerr << "IT GOT THERE!!!!" << G4endl;
-    // If you ever see the error message in the output something has gone
-    // wrong.
-
-  return newCommand;
-
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-//
-// codeGen
-//
-// Traverses the command tree and retrieves the directories and 
-// subdirectories of available commands.
-// 
-// This does a 'brief' listing, i.e. does not List the guidance or 
-// parameters.
-//
-// I have updated this method from the TCL implementation for XVT.
-// The differences are that G4cout is not used and some string concatenation
-// is Done differently (i.e. not with G4cout).
-//
-// This is still however not really needed and might be deleted.
-// 
-////////////////////////////////////////////////////////////////////////////
-void G4UIxvt::codeGen(G4UIcommandTree * tree, int level)
-{ 
-  int treeEntry;
-  int commandEntry; 
-  treeEntry = tree->GetTreeEntry();
-  commandEntry = tree->GetCommandEntry();
-  G4String commandPath;
-  G4String pathName; //tree name
-  G4UIcommandTree * t;
-
-  // --- this loop lists the current directory and its commands --- //
-  
-  for(int com=0; com<commandEntry; com++)
-  {
-    commandPath = tree->GetCommand(com+1)->GetCommandPath();
-    if(level==0) 
-    {
-      // This is not normally executed    
-      writeGeantToXvt(commandPath);  // Unsure as to what this does         
-    }
-    else     
-    {      
-      writeGeantToXvt(commandPath + " command");  // this gives the commands
-    }
-  }
-
-  if(treeEntry == 0) 
-    return; //end recursion
-
-  for(int i=0; i< treeEntry; i++)
-  {
-    t = tree->GetTree(i+1);
-    pathName =  t->GetPathName();   
-    if(level == 0) 
-    {
-      writeGeantToXvt(pathName);  // This is the directory name
-    }
-    else
-    {      
-      writeGeantToXvt(pathName + " cascade"); // This is the sub dirs      
-    }
-      
-    codeGen(t, level+1);
-  }
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-//
-// briefListCommands
-//
-// This method uses codeGen to traverse the tree and List the commands
-// and directories - it does a brief listing, i.e. no parameters or guidance
-// accompanying the text.
-//
-////////////////////////////////////////////////////////////////////////////
-void G4UIxvt::briefListCommands(void)
-{
-  writeGeantToXvt("--- Brief List of available commands ---");
-  G4UIcommandTree * comTree = UI->GetTree();
-  codeGen(comTree, 0);
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-//
-// ListCurrentDirectory
-//
-// This is the XVT specific implementation of the 'List Current' method
-// from the G4UICommandTree class.
-// 
-// It is almost the same only instead of any couts all the data is written
-// to the named pipe for XVT to process.
-//
-// Although this is entirely XVT specific it may be deleted because it is
-// not really needed. (most directory navigation methods that were so
-// important in the terminal session aren't needed in this XVT GUI
-// implementation.)
-//
-// I have left it here in case similar code is needed in the future - this
-// demonstrates how to access the command tree etc.
-//
-////////////////////////////////////////////////////////////////////////////
-void G4UIxvt::listCurrentDirectory(void)
-{
-  G4UIcommandTree * comTree = UI->GetTree();
-  G4String path = comTree->GetPathName();
-  
-  writeGeantToXvt("Command Directory Path: " + path);
-
-  // --- Guidance code --- //
-
-  G4UIcommand * tempGuidance = (G4UIcommand *)comTree->GetGuidance();
- 
-  if (tempGuidance != NULL)
-  {
-    writeGeantToXvt("Command: " + tempGuidance->GetCommandPath());
-    writeGeantToXvt("Guidance: ");
-
-    int n_guidanceEntry = tempGuidance->GetGuidanceEntries();
-
-    for (int i_thGuidance=0; i_thGuidance < n_guidanceEntry; i_thGuidance++ )
-    {
-      writeGeantToXvt(tempGuidance->GetGuidanceLine(i_thGuidance));
-    }
-
-    int n_parameterEntry = tempGuidance->GetParameterEntries();
-  
-    if(n_parameterEntry > 0)
-    {
-      for( int i_thParameter=0; i_thParameter<n_parameterEntry; i_thParameter++ )
-      {
-        G4UIparameter * tempParameter = (G4UIparameter *)tempGuidance->GetParameter(i_thParameter);
-    
-        writeGeantToXvt("Parameter: " + tempParameter->GetParameterName());
-        writeGeantToXvt(tempParameter->GetParameterGuidance());
-        writeGeantToXvt("Parameter type: " + tempParameter->GetParameterType());
-      
-        // --- remember to fix the below bug --- //
-      
-        // writeGeantToXvt("Omittable: " + tempParameter->IsOmittable());
-      
-        writeGeantToXvt("Default Value: " + tempParameter->GetDefaultValue());
-        writeGeantToXvt("Parameter Range: " + tempParameter->GetParameterRange());
-      }
-    }                    
-  }
-  
-  // --- End of Guidance code --- //
-  
-  writeGeantToXvt("Sub Directories: ");
-  
-  int n_treeEntry = comTree->GetTreeEntry();
-  
-  for( int i_thTree = 0; i_thTree < n_treeEntry; i_thTree++ )
-  {
-    G4UIcommandTree * tempTree = comTree->GetTree(i_thTree + 1);    
-    writeGeantToXvt(tempTree->GetPathName() + tempTree->GetTitle());
-  }                     
-  
-  writeGeantToXvt("Commands : ");
-  
-  int n_commandEntry = comTree->GetCommandEntry();
-  
-  for( int i_thCommand = 0; i_thCommand < n_commandEntry; i_thCommand++ )
-  {
-    G4UIcommand * tempCommand = comTree->GetCommand(i_thCommand + 1);    
-    writeGeantToXvt(tempCommand->GetCommandName() + tempCommand->GetTitle());
-  }                     
-}
-
-////////////////////////////////////////////////////////////////////////////
-// Methods for handling the command information                           //
-////////////////////////////////////////////////////////////////////////////
-
-////////////////////////////////////////////////////////////////////////////
-//
-// sendArrayEntriesToXvt
-//
-// This goes through the commandArray when called and sends all the command
-// information down the named pipe to XVT.
-// 
-// It must first send the control command 'comTree' to alert XVT of the 
-// following commands - XVT can then take action to fill its own 'commandArray'
-// with the ensuing strings passed to it.
-//
-////////////////////////////////////////////////////////////////////////////
-void G4UIxvt::sendArrayEntriesToXvt(void)
-{
-  writeGeantToXvt("comTree");
-  
-  char theInt[5];
-  sprintf(theInt, "%d", currentPosition);
-  
-  writeGeantToXvt(theInt);
-
-  // --- Output all the Data from the array to the named pipe --- //
-  
-  for (int i = 0; i < currentPosition; i++)
-  {
-    // --- Send flag to XVT --- //
-    sprintf(theInt, "%d",commandArray[i].flag);     
-    writeGeantToXvt(theInt);
-    
-    // --- Send name and guidance --- //
-    writeGeantToXvt(commandArray[i].name);
-    writeGeantToXvt(commandArray[i].guidance);
-    
-    // --- Send number of parameters --- //
-    sprintf(theInt, "%d", commandArray[i].numOfParameters);
-    writeGeantToXvt(theInt);
-    
-    // --- if there are parameters send them next --- //
-    if (commandArray[i].numOfParameters > 0)
-    {
-      for(int x = 0; x < commandArray[i].numOfParameters; x++)
-      {
-        writeGeantToXvt(commandArray[i].parameters[x].name);
-        writeGeantToXvt(commandArray[i].parameters[x].guidance);
-        writeGeantToXvt(commandArray[i].parameters[x].defaultValue);
-        writeGeantToXvt(commandArray[i].parameters[x].range);
-        writeGeantToXvt(commandArray[i].parameters[x].candidate);
-        writeGeantToXvt(commandArray[i].parameters[x].type);
-        writeGeantToXvt(commandArray[i].parameters[x].omittable);      
-      }    
-    }             
-    
-    // --- Send number --- //
-    sprintf(theInt, "%d", commandArray[i].commandNumber);    
-    writeGeantToXvt(theInt);
-  }   
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-//
-// fillArrayEntries
-//
-// This traverses the command tree and fills in the command structures in 
-// the class variable 'commandArray'.
-//
-// Note: for flag value:
-//
-//       0 = Directory
-//       1 = command
-//       2 = subdirectory
-// 
-////////////////////////////////////////////////////////////////////////////
-void G4UIxvt::fillArrayEntries(G4UIcommandTree * tree, int level)
-{
-  int treeEntry;
-  int commandEntry; 
-
-  treeEntry = tree->GetTreeEntry();
-  commandEntry = tree->GetCommandEntry();
-
-  G4String commandPath;
-  G4String pathName; //tree name
-  G4UIcommandTree * t;
-
-  // New variables
-  G4UIcommand * tempCommand;
-  G4UIparameter * tempParameter;
-  
-  // --- this loop lists the current directory and its commands --- //
-  
-  for(int com=0; com<commandEntry; com++)
-  {
-    tempCommand = (G4UIcommand *)tree->GetCommand(com+1);    
-    
-    commandPath = tree->GetCommand(com+1)->GetCommandPath();        
-    if(level==0) 
-    {
-      // --- This code shouldn't ever get executed --- //
-      G4cout << "Printing command Path" << commandPath << G4endl;
-    }
-    else     
-    {
-      commandArray[currentPosition].flag = 1;
-      commandArray[currentPosition].name = commandPath;      
-      commandArray[currentPosition].guidance = tempCommand->GetTitle();      
-      commandArray[currentPosition].numOfParameters = tempCommand->GetParameterEntries();
-            
-      int numParam = tempCommand->GetParameterEntries();
-      
-      if(numParam != 0)
-      {              
-        for(int x = 0; x < numParam; x++)
-        {
-          tempParameter = (G4UIparameter*)tempCommand->GetParameter(x); 
-
-          commandArray[currentPosition].parameters[x].name = tempParameter->GetParameterName();
-          commandArray[currentPosition].parameters[x].guidance = tempParameter->GetParameterGuidance();
-          commandArray[currentPosition].parameters[x].defaultValue = tempParameter->GetDefaultValue();
-          commandArray[currentPosition].parameters[x].range = tempParameter->GetParameterRange();
-          commandArray[currentPosition].parameters[x].candidate = tempParameter->GetParameterCandidate();
-          commandArray[currentPosition].parameters[x].type = tempParameter->GetParameterType();
-//          commandArray[currentPosition].parameters[x].omittable = tempParameter->IsOmittable();
-        }      
-      }
-      
-      commandArray[currentPosition].commandNumber = currentPosition;
-
-      currentPosition = currentPosition + 1;
-    }
-  }
-
-  if(treeEntry == 0) 
-    return; //end recursion
-  
-  G4UIcommand * treeGuidance;  
-  
-  for(int i=0; i< treeEntry; i++)
-  {
-    t = tree->GetTree(i+1);
-    pathName =  t->GetPathName();   
-    
-    treeGuidance = (G4UIcommand *)t->GetGuidance();
-    
-    if(level == 0) 
-    {
-      commandArray[currentPosition].flag = 0;
-      commandArray[currentPosition].name = pathName;
-      commandArray[currentPosition].guidance = treeGuidance->GetTitle();      
-      commandArray[currentPosition].numOfParameters = 0;
-      commandArray[currentPosition].commandNumber = currentPosition;
-
-      currentPosition = currentPosition + 1;
-    }
-    else
-    {      
-      commandArray[currentPosition].flag = 2;
-      commandArray[currentPosition].name = pathName;
-      commandArray[currentPosition].guidance = treeGuidance->GetTitle();      
-      commandArray[currentPosition].numOfParameters = 0;
-      commandArray[currentPosition].commandNumber = currentPosition;
-      
-      currentPosition = currentPosition + 1;
-    }
-      
-    fillArrayEntries(t, level+1);
-  }
-}
-
-
-////////////////////////////////////////////////////////////////////////////
-// A debugging routine                                                    //
-//                                                                        //
-// This method is purely used for debugging purposes - will be deleted    //
-// from the final code (when we are sure it is bug free)                  //
-//                                                                        //
-////////////////////////////////////////////////////////////////////////////
-void G4UIxvt::listCommandArray(void)
-{
-  for(int i = 0; i < currentPosition; i++)
-  {
-    G4cout << "CommandArray, Entry-> " << i << G4endl
-         << "Flag-> " << commandArray[i].flag << G4endl
-         << "Name-> " << commandArray[i].name << G4endl
-         << "Guidance-> " << commandArray[i].guidance << G4endl
-         << "Number of Parameters-> " << commandArray[i].numOfParameters << G4endl;
-         
-         int numParam = commandArray[i].numOfParameters;
-         
-         if (numParam != 0)
-         {
-           for(int x = 0; x < numParam; x++)
-           {
-             G4cout << "Parameters for this command: " << G4endl << G4endl
-                  << "Parameter Name-> "          << commandArray[i].parameters[x].name         << G4endl
-                  << "Parameter Guidance-> "      << commandArray[i].parameters[x].guidance     << G4endl
-                  << "Parameter Default Value-> " << commandArray[i].parameters[x].defaultValue << G4endl
-                  << "Parameter Range-> "         << commandArray[i].parameters[x].range        << G4endl
-                  << "Parameter Candidate-> "     << commandArray[i].parameters[x].candidate    << G4endl
-                  << "Parameter Type-> "          << commandArray[i].parameters[x].type         << G4endl
-                  << "Parameter Omittable-> "     << commandArray[i].parameters[x].omittable    << G4endl 
-                  << G4endl << G4endl;
-           }
-         }
-         
-         G4cout << "Number-> " << commandArray[i].commandNumber << G4endl << G4endl;
-  }
-}
-
-#endif
Index: unk/source/interfaces/XVT/src/G4UIxvtMessenger.cc
===================================================================
--- /trunk/source/interfaces/XVT/src/G4UIxvtMessenger.cc	(revision 1319)
+++ 	(revision )
@@ -1,94 +1,0 @@
-//
-// ********************************************************************
-// * DISCLAIMER                                                       *
-// *                                                                  *
-// * The following disclaimer summarizes all the specific disclaimers *
-// * of contributors to this software. The specific disclaimers,which *
-// * govern, are listed with their locations in:                      *
-// *   http://cern.ch/geant4/license                                  *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.                                                             *
-// *                                                                  *
-// * This  code  implementation is the  intellectual property  of the *
-// * GEANT4 collaboration.                                            *
-// * By copying,  distributing  or modifying the Program (or any work *
-// * based  on  the Program)  you indicate  your  acceptance of  this *
-// * statement, and all its terms.                                    *
-// ********************************************************************
-//
-//
-// $Id: G4UIxvtMessenger.cc,v 1.4 2001/07/11 10:01:19 gunter Exp $
-// GEANT4 tag $Name:  $
-//
-#ifdef G4UI_BUILD_XVT_SESSION
-
-//////////////////////////////////////////////////////////////////////////////
-//                                                                          //
-// The original code (written by Makoto Asai) has been adapted for use      //
-// with the XVT Geant GUI                                                   //
-//                                                                          //
-// By: Simon Prior 11/08/97                                                 //
-//                                                                          //
-//////////////////////////////////////////////////////////////////////////////
-#include "G4UIxvtMessenger.hh"
-#include "G4UIcommand.hh"
-#include "G4UIparameter.hh"
-#include "G4UIxvt.hh"
-#include "G4ios.hh"
-
-
-G4UIxvtMessenger::G4UIxvtMessenger(G4UIxvt* tempxvt)
-:xvtptr(tempxvt)
-{
-  G4UIcommand * command;
-  G4UIparameter * param;
-
-  command = new G4UIcommand("/control/setBreakAt",this);
-  command->SetGuidance("Set a break point at the begining or end of");
-  command->SetGuidance("each run or event.");
-  command->SetGuidance(" Available points :");
-  command->SetGuidance("  beginOfRun, endOfRun, beginOfEvent, EndOfEvent");
-  param = new G4UIparameter("point",'c',false);
-  command->SetParameter(param);
-  AddUIcommand( command );
-
-  command = new G4UIcommand("/control/removeBreakPoint",this);
-  command->SetGuidance("Reset all of assigned break.");
-  AddUIcommand( command );
-
-  command = new G4UIcommand("/control/noticeState",this);
-  command->SetGuidance("Toggle Verbose flag of G4UIxvt for state change.");
-  command->SetGuidance("If it is on, all state change will be displayed.");
-  AddUIcommand( command );
-}
-
-void G4UIxvtMessenger::SetNewValue(G4UIcommand * command,G4String newValue)
-{
-  if(command->GetCommandName()=="setBreakAt")
-  {
-    int id = -1;
-    if(newValue=="beginOfRun") id=0;
-    if(newValue=="beginOfEvent") id=1;
-    if(newValue=="EndOfEvent") id=2;
-    if(newValue=="endOfRun") id=3;
-    if(id<0)
-    { G4cout << "Unknown break point <" << newValue << "> ignored." << G4endl; }
-    else
-    { xvtptr->set_breakPointAt(id,true); }
-  }
-  if(command->GetCommandName()=="removeBreakPoint")
-  {
-    for(int i=0;i<4;i++)
-    { xvtptr->set_breakPointAt(i,false); }
-  }
-  if(command->GetCommandName()=="noticeState")
-  {
-    xvtptr->set_verbose();
-  }
-}
-
-#endif
Index: unk/source/interfaces/test/G4cout_test01/G4cout_test01.cc
===================================================================
--- /trunk/source/interfaces/test/G4cout_test01/G4cout_test01.cc	(revision 1319)
+++ 	(revision )
@@ -1,108 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//  G4cout_test02
-// --------------------------------------------------------------
-
-#include "G4RunManager.hh"
-#include "G4UImanager.hh"
-#include "G4UIsession.hh"
-
-#include "ExN01DetectorConstruction.hh"
-#include "ExN01PhysicsList.hh"
-#include "ExN01PrimaryGeneratorAction.hh"
-#include "MySession.hh"
-#include "G4UIterminal.hh"
-#include "G4UItcsh.hh"
-
-int main()
-{
-  
-  // Construct the default run manager
-  G4RunManager* runManager = new G4RunManager;
-
-  // set mandatory initialization classes
-  runManager->SetUserInitialization(new ExN01DetectorConstruction);
-  runManager->SetUserInitialization(new ExN01PhysicsList);
-
-  // set mandatory user action class
-  runManager->SetUserAction(new ExN01PrimaryGeneratorAction);
-
-  // Initialize G4 kernel
-  runManager->Initialize();
-
-  // get the pointer to the User Interface manager 
-  G4UImanager* UI = G4UImanager::GetUIpointer();  
-  // construct two sessions which receive G4cout/G4cerr
-
-
-  G4UIsession * termSession = new G4UIterminal(new G4UItcsh); 
-
-
-  // get the pointer to the UI manager and set verbosities
-  UI->ApplyCommand("/run/verbose 1");
-  UI->ApplyCommand("/event/verbose 1");
-  UI->ApplyCommand("/tracking/verbose 1");
-
-  // First, start tcsh session to see if all works well
-
-  UI->SetCoutDestination(termSession);
-  termSession->SessionStart();
-
-  //  OK now end this interactive session
-  delete termSession;
-  //  delete termSession;
-
-  G4cout << "term session end. now mySession starts to take a log file" << G4endl;
-
-  // outputs are directed to the loggingSession from now on
-  MySession * LoggingSession = new MySession;
-  UI->SetCoutDestination(LoggingSession);
-  // session->SessionStart(); // not required in this case
-  // because we start a batch run directly here
-  int numberOfEvent = 100;
-  runManager->BeamOn(numberOfEvent);
-
-  G4cout << "loggingSession is now deleted" << G4endl;
-
-  delete LoggingSession;
-  //  delete termSession;
-
-  G4cout << "oooooooooooooooooooooooooooooooooooooooooooooooooo"<< G4endl;
-  G4cout << "The output of G4cout/G4cerr is logged to a file" << G4endl;
-    //       << LoggingSession->logFileName << "\"." << G4endl;
-  G4cout << "Please have a look." << G4endl;
-  G4cout << "oooooooooooooooooooooooooooooooooooooooooooooooooo" << G4endl;
-
-
-
-  // job termination
-  delete runManager;
-
-
-  return 0;
-}
-
-
Index: unk/source/interfaces/test/G4cout_test01/GNUmakefile
===================================================================
--- /trunk/source/interfaces/test/G4cout_test01/GNUmakefile	(revision 1319)
+++ 	(revision )
@@ -1,13 +1,0 @@
-
-name := G4cout_test01
-G4TARGET := $(name)
-G4EXLIB := true
-
-ifndef G4INSTALL
-  G4INSTALL = ../../../..
-endif
-
-.PHONY: all
-all: lib bin
-
-include $(G4INSTALL)/config/binmake.gmk
Index: unk/source/interfaces/test/G4cout_test01/Mylog
===================================================================
--- /trunk/source/interfaces/test/G4cout_test01/Mylog	(revision 1319)
+++ 	(revision )
@@ -1,192 +1,0 @@
-Start Run processing.
-=====================================
-  G4EventManager::ProcessOneEvent()  
-=====================================
-1 primaries are passed from G4EventTransformer.
-!!!!!!! Now start processing an event !!!!!!!
-### pop requested out of 1 stacked tracks.
-
-*********************************************************************************************************
-* G4Track Information:   Particle = geantino,   Track ID = 1,   Parent ID = 0
-*********************************************************************************************************
-
-Step#     X(mm)     Y(mm)     Z(mm) KinE(MeV)   dE(MeV)  StepLeng TrackLeng         NextVolume   ProcName
-    0    -2e+03         0         0     1e+03         0         0         0            expHall  Init Step
-    1  -1.6e+03         0         0     1e+03         0       400       400            tracker Transportation
-    2      -400         0         0     1e+03         0   1.2e+03   1.6e+03            expHall Transportation
-    3         0         0         0     1e+03         0       400     2e+03          caloBlock Transportation
-    4        90         0         0     1e+03         0        90  2.09e+03          caloLayer Transportation
-    5       110         0         0     1e+03         0        20  2.11e+03          caloBlock Transportation
-    6       190         0         0     1e+03         0        80  2.19e+03          caloLayer Transportation
-    7       210         0         0     1e+03         0        20  2.21e+03          caloBlock Transportation
-    8       290         0         0     1e+03         0        80  2.29e+03          caloLayer Transportation
-    9       310         0         0     1e+03         0        20  2.31e+03          caloBlock Transportation
-   10       390         0         0     1e+03         0        80  2.39e+03          caloLayer Transportation
-   11       410         0         0     1e+03         0        20  2.41e+03          caloBlock Transportation
-   12       490         0         0     1e+03         0        80  2.49e+03          caloLayer Transportation
-   13       510         0         0     1e+03         0        20  2.51e+03          caloBlock Transportation
-   14       590         0         0     1e+03         0        80  2.59e+03          caloLayer Transportation
-   15       610         0         0     1e+03         0        20  2.61e+03          caloBlock Transportation
-   16       690         0         0     1e+03         0        80  2.69e+03          caloLayer Transportation
-   17       710         0         0     1e+03         0        20  2.71e+03          caloBlock Transportation
-   18       790         0         0     1e+03         0        80  2.79e+03          caloLayer Transportation
-   19       810         0         0     1e+03         0        20  2.81e+03          caloBlock Transportation
-   20       890         0         0     1e+03         0        80  2.89e+03          caloLayer Transportation
-   21       910         0         0     1e+03         0        20  2.91e+03          caloBlock Transportation
-   22       990         0         0     1e+03         0        80  2.99e+03          caloLayer Transportation
-   23  1.01e+03         0         0     1e+03         0        20  3.01e+03          caloBlock Transportation
-   24  1.09e+03         0         0     1e+03         0        80  3.09e+03          caloLayer Transportation
-   25  1.11e+03         0         0     1e+03         0        20  3.11e+03          caloBlock Transportation
-   26  1.19e+03         0         0     1e+03         0        80  3.19e+03          caloLayer Transportation
-   27  1.21e+03         0         0     1e+03         0        20  3.21e+03          caloBlock Transportation
-   28  1.29e+03         0         0     1e+03         0        80  3.29e+03          caloLayer Transportation
-   29  1.31e+03         0         0     1e+03         0        20  3.31e+03          caloBlock Transportation
-   30  1.39e+03         0         0     1e+03         0        80  3.39e+03          caloLayer Transportation
-   31  1.41e+03         0         0     1e+03         0        20  3.41e+03          caloBlock Transportation
-   32  1.49e+03         0         0     1e+03         0        80  3.49e+03          caloLayer Transportation
-   33  1.51e+03         0         0     1e+03         0        20  3.51e+03          caloBlock Transportation
-   34  1.59e+03         0         0     1e+03         0        80  3.59e+03          caloLayer Transportation
-   35  1.61e+03         0         0     1e+03         0        20  3.61e+03          caloBlock Transportation
-   36  1.69e+03         0         0     1e+03         0        80  3.69e+03          caloLayer Transportation
-   37  1.71e+03         0         0     1e+03         0        20  3.71e+03          caloBlock Transportation
-   38  1.79e+03         0         0     1e+03         0        80  3.79e+03          caloLayer Transportation
-   39  1.81e+03         0         0     1e+03         0        20  3.81e+03          caloBlock Transportation
-   40  1.89e+03         0         0     1e+03         0        80  3.89e+03          caloLayer Transportation
-   41  1.91e+03         0         0     1e+03         0        20  3.91e+03          caloBlock Transportation
-   42     2e+03         0         0     1e+03         0        90     4e+03            expHall Transportation
-   43     3e+03         0         0     1e+03         0     1e+03     5e+03         OutOfWorld Transportation
-Track (trackID 1, parentID 0) is processed with stopping code 2
-### pop requested out of 0 stacked tracks.
-### 0 waiting tracks are re-classified to
-     0 urgent tracks and 0 waiting tracks.
-NULL returned from G4StackManager.
-Terminate current event processing.
-=====================================
-  G4EventManager::ProcessOneEvent()  
-=====================================
-1 primaries are passed from G4EventTransformer.
-!!!!!!! Now start processing an event !!!!!!!
-### pop requested out of 1 stacked tracks.
-
-*********************************************************************************************************
-* G4Track Information:   Particle = geantino,   Track ID = 1,   Parent ID = 0
-*********************************************************************************************************
-
-Step#     X(mm)     Y(mm)     Z(mm) KinE(MeV)   dE(MeV)  StepLeng TrackLeng         NextVolume   ProcName
-    0    -2e+03         0         0     1e+03         0         0         0            expHall  Init Step
-    1  -1.6e+03      40.1         0     1e+03         0       403       403            tracker Transportation
-    2      -421       158         0     1e+03         0  1.18e+03  1.59e+03            expHall Transportation
-    3  1.06e-13       200         0     1e+03         0       423  2.01e+03          caloBlock Transportation
-    4        90       209         0     1e+03         0      90.4   2.1e+03          caloLayer Transportation
-    5       110       211         0     1e+03         0      20.1  2.12e+03          caloBlock Transportation
-    6       190       219         0     1e+03         0      80.4   2.2e+03          caloLayer Transportation
-    7       210       221         0     1e+03         0      20.1  2.22e+03          caloBlock Transportation
-    8       290       229         0     1e+03         0      80.4   2.3e+03          caloLayer Transportation
-    9       310       231         0     1e+03         0      20.1  2.32e+03          caloBlock Transportation
-   10       390       239         0     1e+03         0      80.4   2.4e+03          caloLayer Transportation
-   11       410       241         0     1e+03         0      20.1  2.42e+03          caloBlock Transportation
-   12       490       249         0     1e+03         0      80.4   2.5e+03          caloLayer Transportation
-   13       510       251         0     1e+03         0      20.1  2.52e+03          caloBlock Transportation
-   14       590       259         0     1e+03         0      80.4   2.6e+03          caloLayer Transportation
-   15       610       261         0     1e+03         0      20.1  2.62e+03          caloBlock Transportation
-   16       690       269         0     1e+03         0      80.4   2.7e+03          caloLayer Transportation
-   17       710       271         0     1e+03         0      20.1  2.72e+03          caloBlock Transportation
-   18       790       279         0     1e+03         0      80.4   2.8e+03          caloLayer Transportation
-   19       810       281         0     1e+03         0      20.1  2.82e+03          caloBlock Transportation
-   20       890       289         0     1e+03         0      80.4   2.9e+03          caloLayer Transportation
-   21       910       291         0     1e+03         0      20.1  2.92e+03          caloBlock Transportation
-   22       990       299         0     1e+03         0      80.4     3e+03          caloLayer Transportation
-   23  1.01e+03       301         0     1e+03         0      20.1  3.03e+03          caloBlock Transportation
-   24  1.09e+03       309         0     1e+03         0      80.4  3.11e+03          caloLayer Transportation
-   25  1.11e+03       311         0     1e+03         0      20.1  3.13e+03          caloBlock Transportation
-   26  1.19e+03       319         0     1e+03         0      80.4  3.21e+03          caloLayer Transportation
-   27  1.21e+03       321         0     1e+03         0      20.1  3.23e+03          caloBlock Transportation
-   28  1.29e+03       329         0     1e+03         0      80.4  3.31e+03          caloLayer Transportation
-   29  1.31e+03       331         0     1e+03         0      20.1  3.33e+03          caloBlock Transportation
-   30  1.39e+03       339         0     1e+03         0      80.4  3.41e+03          caloLayer Transportation
-   31  1.41e+03       341         0     1e+03         0      20.1  3.43e+03          caloBlock Transportation
-   32  1.49e+03       349         0     1e+03         0      80.4  3.51e+03          caloLayer Transportation
-   33  1.51e+03       351         0     1e+03         0      20.1  3.53e+03          caloBlock Transportation
-   34  1.59e+03       359         0     1e+03         0      80.4  3.61e+03          caloLayer Transportation
-   35  1.61e+03       361         0     1e+03         0      20.1  3.63e+03          caloBlock Transportation
-   36  1.69e+03       369         0     1e+03         0      80.4  3.71e+03          caloLayer Transportation
-   37  1.71e+03       371         0     1e+03         0      20.1  3.73e+03          caloBlock Transportation
-   38  1.79e+03       379         0     1e+03         0      80.4  3.81e+03          caloLayer Transportation
-   39  1.81e+03       381         0     1e+03         0      20.1  3.83e+03          caloBlock Transportation
-   40  1.89e+03       389         0     1e+03         0      80.4  3.91e+03          caloLayer Transportation
-   41  1.91e+03       391         0     1e+03         0      20.1  3.93e+03          caloBlock Transportation
-   42     2e+03       400         0     1e+03         0      90.4  4.02e+03            expHall Transportation
-   43     3e+03       500         0     1e+03         0     1e+03  5.02e+03         OutOfWorld Transportation
-Track (trackID 1, parentID 0) is processed with stopping code 2
-### pop requested out of 0 stacked tracks.
-### 0 waiting tracks are re-classified to
-     0 urgent tracks and 0 waiting tracks.
-NULL returned from G4StackManager.
-Terminate current event processing.
-=====================================
-  G4EventManager::ProcessOneEvent()  
-=====================================
-1 primaries are passed from G4EventTransformer.
-!!!!!!! Now start processing an event !!!!!!!
-### pop requested out of 1 stacked tracks.
-
-*********************************************************************************************************
-* G4Track Information:   Particle = geantino,   Track ID = 1,   Parent ID = 0
-*********************************************************************************************************
-
-Step#     X(mm)     Y(mm)     Z(mm) KinE(MeV)   dE(MeV)  StepLeng TrackLeng         NextVolume   ProcName
-    0    -2e+03         0         0     1e+03         0         0         0            expHall  Init Step
-    1  -1.6e+03         0        40     1e+03         0       402       402            tracker Transportation
-    2      -400         0       160     1e+03         0  1.21e+03  1.61e+03            expHall Transportation
-    3 -5.94e-15         0       200     1e+03         0       402  2.01e+03          caloBlock Transportation
-    4        90         0       209     1e+03         0      90.4   2.1e+03          caloLayer Transportation
-    5       110         0       211     1e+03         0      20.1  2.12e+03          caloBlock Transportation
-    6       190         0       219     1e+03         0      80.4   2.2e+03          caloLayer Transportation
-    7       210         0       221     1e+03         0      20.1  2.22e+03          caloBlock Transportation
-    8       290         0       229     1e+03         0      80.4   2.3e+03          caloLayer Transportation
-    9       310         0       231     1e+03         0      20.1  2.32e+03          caloBlock Transportation
-   10       390         0       239     1e+03         0      80.4   2.4e+03          caloLayer Transportation
-   11       410         0       241     1e+03         0      20.1  2.42e+03          caloBlock Transportation
-   12       490         0       249     1e+03         0      80.4   2.5e+03          caloLayer Transportation
-   13       510         0       251     1e+03         0      20.1  2.52e+03          caloBlock Transportation
-   14       590         0       259     1e+03         0      80.4   2.6e+03          caloLayer Transportation
-   15       610         0       261     1e+03         0      20.1  2.62e+03          caloBlock Transportation
-   16       690         0       269     1e+03         0      80.4   2.7e+03          caloLayer Transportation
-   17       710         0       271     1e+03         0      20.1  2.72e+03          caloBlock Transportation
-   18       790         0       279     1e+03         0      80.4   2.8e+03          caloLayer Transportation
-   19       810         0       281     1e+03         0      20.1  2.82e+03          caloBlock Transportation
-   20       890         0       289     1e+03         0      80.4   2.9e+03          caloLayer Transportation
-   21       910         0       291     1e+03         0      20.1  2.92e+03          caloBlock Transportation
-   22       990         0       299     1e+03         0      80.4     3e+03          caloLayer Transportation
-   23  1.01e+03         0       301     1e+03         0      20.1  3.03e+03          caloBlock Transportation
-   24  1.09e+03         0       309     1e+03         0      80.4  3.11e+03          caloLayer Transportation
-   25  1.11e+03         0       311     1e+03         0      20.1  3.13e+03          caloBlock Transportation
-   26  1.19e+03         0       319     1e+03         0      80.4  3.21e+03          caloLayer Transportation
-   27  1.21e+03         0       321     1e+03         0      20.1  3.23e+03          caloBlock Transportation
-   28  1.29e+03         0       329     1e+03         0      80.4  3.31e+03          caloLayer Transportation
-   29  1.31e+03         0       331     1e+03         0      20.1  3.33e+03          caloBlock Transportation
-   30  1.39e+03         0       339     1e+03         0      80.4  3.41e+03          caloLayer Transportation
-   31  1.41e+03         0       341     1e+03         0      20.1  3.43e+03          caloBlock Transportation
-   32  1.49e+03         0       349     1e+03         0      80.4  3.51e+03          caloLayer Transportation
-   33  1.51e+03         0       351     1e+03         0      20.1  3.53e+03          caloBlock Transportation
-   34  1.59e+03         0       359     1e+03         0      80.4  3.61e+03          caloLayer Transportation
-   35  1.61e+03         0       361     1e+03         0      20.1  3.63e+03          caloBlock Transportation
-   36  1.69e+03         0       369     1e+03         0      80.4  3.71e+03          caloLayer Transportation
-   37  1.71e+03         0       371     1e+03         0      20.1  3.73e+03          caloBlock Transportation
-   38  1.79e+03         0       379     1e+03         0      80.4  3.81e+03          caloLayer Transportation
-   39  1.81e+03         0       381     1e+03         0      20.1  3.83e+03          caloBlock Transportation
-   40  1.89e+03         0       389     1e+03         0      80.4  3.91e+03          caloLayer Transportation
-   41  1.91e+03         0       391     1e+03         0      20.1  3.93e+03          caloBlock Transportation
-   42     2e+03         0       400     1e+03         0      90.4  4.02e+03            expHall Transportation
-   43     3e+03         0       500     1e+03         0     1e+03  5.02e+03         OutOfWorld Transportation
-Track (trackID 1, parentID 0) is processed with stopping code 2
-### pop requested out of 0 stacked tracks.
-### 0 waiting tracks are re-classified to
-     0 urgent tracks and 0 waiting tracks.
-NULL returned from G4StackManager.
-Terminate current event processing.
-Run terminated.
-Run Summary
-  Number of events processed : 3
-  User=0.04s Real=0.05s Sys=0.01s
-G4 kernel has come to Quit state.
Index: unk/source/interfaces/test/G4cout_test01/README
===================================================================
--- /trunk/source/interfaces/test/G4cout_test01/README	(revision 1319)
+++ 	(revision )
@@ -1,32 +1,0 @@
-		README G4cout_test01:
-
-					Nov. 09 2002
-					H. Yoshida
-						update for Geant4.4.1
-
- This example program illustrates how to use "setCoutDestination" of G4cout
-in order to redirect the stream between two sessions. Usually the constructor
-of a UI class, f.e., G4UIterminal, does setCoutDestination(this) and 
-the destructor does setCoutDestination(NULL). 
-By explicitly using setCoutDestination, user can redirect G4cout/cerr to one of 
-the sessions opened.
-
- This example is created after examples/novice/exampleN01 which is a pure batch
-one. But this example has an interactive session G4UITerminal(new G4UItcsh) and
-another session "MySession" to  redirect the output to a file named "Mylog".
-
-
-At first, G4UItcsh is instantiated to provide an interactive session.
-When user types in "exit" command, G4UItcsh session is closed, and
-then MySession is used so that all subsequent G4cout/cerr are saved 
-in the file "Mylog".
-
-Finally both instances are deleted and the last messages are shown
-on the default display.
-
-Note that when there is no instance of UI sessions, G4cout/cerr are sent to
-the display by default.
-
-
-
-
Index: unk/source/interfaces/test/G4cout_test01/include/ExN01DetectorConstruction.hh
===================================================================
--- /trunk/source/interfaces/test/G4cout_test01/include/ExN01DetectorConstruction.hh	(revision 1319)
+++ 	(revision )
@@ -1,66 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//
-// $Id: ExN01DetectorConstruction.hh,v 1.5 2006/06/29 19:10:36 gunter Exp $
-// GEANT4 tag $Name:  $
-//
-
-#ifndef ExN01DetectorConstruction_H
-#define ExN01DetectorConstruction_H 1
-
-class G4LogicalVolume;
-class G4VPhysicalVolume;
-
-#include "G4VUserDetectorConstruction.hh"
-
-class ExN01DetectorConstruction : public G4VUserDetectorConstruction
-{
-  public:
-
-    ExN01DetectorConstruction();
-    ~ExN01DetectorConstruction();
-
-    G4VPhysicalVolume* Construct();
-
-  private:
-    
-    // Logical volumes
-    //
-    G4LogicalVolume* experimentalHall_log;
-    G4LogicalVolume* tracker_log;
-    G4LogicalVolume* calorimeterBlock_log;
-    G4LogicalVolume* calorimeterLayer_log;
-
-    // Physical volumes
-    //
-    G4VPhysicalVolume* experimentalHall_phys;
-    G4VPhysicalVolume* calorimeterLayer_phys;
-    G4VPhysicalVolume* calorimeterBlock_phys;
-    G4VPhysicalVolume* tracker_phys;
-};
-
-#endif
-
Index: unk/source/interfaces/test/G4cout_test01/include/ExN01PhysicsList.hh
===================================================================
--- /trunk/source/interfaces/test/G4cout_test01/include/ExN01PhysicsList.hh	(revision 1319)
+++ 	(revision )
@@ -1,69 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//
-// $Id: ExN01PhysicsList.hh,v 1.5 2006/06/29 19:10:38 gunter Exp $
-// GEANT4 tag $Name:  $
-//
-// 
-//
-// ExN01PhysicsList
-//  Construct/define particles and physics processes
-//
-//  Particle defined in ExampleN01
-//    geantino
-//
-//  Process defined in ExampleN01
-//    transportation
-//
-
-#ifndef ExN01PhysicsList_h
-#define ExN01PhysicsList_h 1
-
-#include "G4VUserPhysicsList.hh"
-#include "globals.hh"
-
-class ExN01PhysicsList: public G4VUserPhysicsList
-{
-  public:
-    ExN01PhysicsList();
-    ~ExN01PhysicsList();
-
-  protected:
-    // Construct particle and physics process
-    void ConstructParticle();
-    void ConstructProcess();
-    void SetCuts();
-
-};
-
-#endif
-
-
-
-
-
-
-
Index: unk/source/interfaces/test/G4cout_test01/include/ExN01PrimaryGeneratorAction.hh
===================================================================
--- /trunk/source/interfaces/test/G4cout_test01/include/ExN01PrimaryGeneratorAction.hh	(revision 1319)
+++ 	(revision )
@@ -1,54 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//
-// $Id: ExN01PrimaryGeneratorAction.hh,v 1.5 2006/06/29 19:10:40 gunter Exp $
-// GEANT4 tag $Name:  $
-//
-
-#ifndef ExN01PrimaryGeneratorAction_h
-#define ExN01PrimaryGeneratorAction_h 1
-
-#include "G4VUserPrimaryGeneratorAction.hh"
-
-class G4ParticleGun;
-class G4Event;
-
-class ExN01PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
-{
-  public:
-    ExN01PrimaryGeneratorAction();
-    ~ExN01PrimaryGeneratorAction();
-
-  public:
-    void GeneratePrimaries(G4Event* anEvent);
-
-  private:
-    G4ParticleGun* particleGun;
-};
-
-#endif
-
-
Index: unk/source/interfaces/test/G4cout_test01/include/MySession.hh
===================================================================
--- /trunk/source/interfaces/test/G4cout_test01/include/MySession.hh	(revision 1319)
+++ 	(revision )
@@ -1,72 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//
-// $Id: MySession.hh,v 1.6 2006/06/29 19:10:42 gunter Exp $
-// GEANT4 tag $Name:  $
-//
-// $id$
-
-#ifndef MySession_h
-#define MySession_h 1
-
-#include "globals.hh"
-#include "G4UIsession.hh"
-#include "G4UImanager.hh"
-#include <fstream>
-
-class MySession : public G4UIsession 
-{
-  // Base class of UI/GUI session
-  
-  public:
-      MySession();
-      ~MySession();
-
-      MySession * SessionStart();
-      // This method will be invoked by main().
-      // Optionally, it can be invoked by another session.
-      
-      //void PauseSessionStart(G4String Prompt);
-      // This method will be invoked by G4UImanager
-      // when G4kernel becomes to Pause state.
-      
-      G4int ReceiveG4cout(G4String coutString);
-      G4int ReceiveG4cerr(G4String cerrString);
-      // These two methods will be invoked by G4strstreambuf.
-      
-      std::ofstream logFile;
-      G4String logFileName;
-  private:
-
-      G4UImanager * UI;
-
-
-};
-
-
-
-#endif
-
Index: unk/source/interfaces/test/G4cout_test01/src/ExN01DetectorConstruction.cc
===================================================================
--- /trunk/source/interfaces/test/G4cout_test01/src/ExN01DetectorConstruction.cc	(revision 1319)
+++ 	(revision )
@@ -1,146 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//
-// $Id: ExN01DetectorConstruction.cc,v 1.5 2006/06/29 19:10:44 gunter Exp $
-// GEANT4 tag $Name:  $
-//
-
-#include "ExN01DetectorConstruction.hh"
-
-#include "G4Material.hh"
-#include "G4Box.hh"
-#include "G4Tubs.hh"
-#include "G4LogicalVolume.hh"
-#include "G4ThreeVector.hh"
-#include "G4PVPlacement.hh"
-#include "globals.hh"
-
-ExN01DetectorConstruction::ExN01DetectorConstruction()
- :  experimentalHall_log(0), tracker_log(0),
-    calorimeterBlock_log(0), calorimeterLayer_log(0),
-    experimentalHall_phys(0), calorimeterLayer_phys(0),
-    calorimeterBlock_phys(0), tracker_phys(0)
-{;}
-
-ExN01DetectorConstruction::~ExN01DetectorConstruction()
-{
-}
-
-G4VPhysicalVolume* ExN01DetectorConstruction::Construct()
-{
-
-  //------------------------------------------------------ materials
-
-  G4double a;  // atomic mass
-  G4double z;  // atomic number
-  G4double density;
-  G4String name;
-
-  a = 39.95*g/mole;
-  density = 1.782e-03*g/cm3;
-  G4Material* Ar = new G4Material(name="ArgonGas", z=18., a, density);
-
-  a = 26.98*g/mole;
-  density = 2.7*g/cm3;
-  G4Material* Al = new G4Material(name="Aluminum", z=13., a, density);
-
-  a = 207.19*g/mole;
-  density = 11.35*g/cm3;
-  G4Material* Pb = new G4Material(name="Lead", z=82., a, density);
-
-  //------------------------------------------------------ volumes
-
-  //------------------------------ experimental hall (world volume)
-  //------------------------------ beam line along x axis
-
-  G4double expHall_x = 3.0*m;
-  G4double expHall_y = 1.0*m;
-  G4double expHall_z = 1.0*m;
-  G4Box* experimentalHall_box
-    = new G4Box("expHall_box",expHall_x,expHall_y,expHall_z);
-  experimentalHall_log = new G4LogicalVolume(experimentalHall_box,
-                                             Ar,"expHall_log",0,0,0);
-  experimentalHall_phys = new G4PVPlacement(0,G4ThreeVector(),"expHall",
-                                            experimentalHall_log,0,false,0);
-
-  //------------------------------ a tracker tube
-
-  G4double innerRadiusOfTheTube = 0.*cm;
-  G4double outerRadiusOfTheTube = 60.*cm;
-  G4double hightOfTheTube = 50.*cm;
-  G4double startAngleOfTheTube = 0.*deg;
-  G4double spanningAngleOfTheTube = 360.*deg;
-  G4Tubs* tracker_tube = new G4Tubs("tracker_tube",innerRadiusOfTheTube,
-                                    outerRadiusOfTheTube,hightOfTheTube,
-                                    startAngleOfTheTube,spanningAngleOfTheTube);
-  tracker_log = new G4LogicalVolume(tracker_tube,Al,"tracker_log",0,0,0);
-  G4double trackerPos_x = -1.0*m;
-  G4double trackerPos_y = 0.*m;
-  G4double trackerPos_z = 0.*m;
-  tracker_phys = new G4PVPlacement(0,
-             G4ThreeVector(trackerPos_x,trackerPos_y,trackerPos_z),
-             tracker_log,"tracker",experimentalHall_log,false,0);
-
-  //------------------------------ a calorimeter block
-
-  G4double block_x = 1.0*m;
-  G4double block_y = 50.0*cm;
-  G4double block_z = 50.0*cm;
-  G4Box* calorimeterBlock_box = new G4Box("calBlock_box",block_x,
-                                          block_y,block_z);
-  calorimeterBlock_log = new G4LogicalVolume(calorimeterBlock_box,
-                                             Pb,"caloBlock_log",0,0,0);
-  G4double blockPos_x = 1.0*m;
-  G4double blockPos_y = 0.0*m;
-  G4double blockPos_z = 0.0*m;
-  calorimeterBlock_phys = new G4PVPlacement(0,
-             G4ThreeVector(blockPos_x,blockPos_y,blockPos_z),
-             calorimeterBlock_log,"caloBlock",experimentalHall_log,false,0);
-
-  //------------------------------ calorimeter layers
-
-  G4double calo_x = 1.*cm;
-  G4double calo_y = 40.*cm;
-  G4double calo_z = 40.*cm;
-  G4Box* calorimeterLayer_box = new G4Box("caloLayer_box",
-                                          calo_x,calo_y,calo_z);
-  calorimeterLayer_log = new G4LogicalVolume(calorimeterLayer_box,
-                                             Al,"caloLayer_log",0,0,0);
-  for(G4int i=0;i<19;i++) // loop for 19 layers
-  {
-    G4double caloPos_x = (i-9)*10.*cm;
-    G4double caloPos_y = 0.0*m;
-    G4double caloPos_z = 0.0*m;
-    calorimeterLayer_phys = new G4PVPlacement(0,
-               G4ThreeVector(caloPos_x,caloPos_y,caloPos_z),
-               calorimeterLayer_log,"caloLayer",calorimeterBlock_log,false,i);
-  }
-
-  //------------------------------------------------------------------
-
-  return experimentalHall_phys;
-}
-
Index: unk/source/interfaces/test/G4cout_test01/src/ExN01PhysicsList.cc
===================================================================
--- /trunk/source/interfaces/test/G4cout_test01/src/ExN01PhysicsList.cc	(revision 1319)
+++ 	(revision )
@@ -1,70 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//
-// $Id: ExN01PhysicsList.cc,v 1.5 2006/06/29 19:10:46 gunter Exp $
-// GEANT4 tag $Name:  $
-//
-// 
-
-#include "ExN01PhysicsList.hh"
-#include "G4ParticleTypes.hh"
-
-
-ExN01PhysicsList::ExN01PhysicsList()
-{;}
-
-ExN01PhysicsList::~ExN01PhysicsList()
-{;}
-
-void ExN01PhysicsList::ConstructParticle()
-{
-  // In this method, static member functions should be called
-  // for all particles which you want to use.
-  // This ensures that objects of these particle types will be
-  // created in the program. 
-
-  G4Geantino::GeantinoDefinition();
-}
-
-void ExN01PhysicsList::ConstructProcess()
-{
-  // Define transportation process
-
-  AddTransportation();
-}
-
-void ExN01PhysicsList::SetCuts()
-{
-  // uppress error messages even in case e/gamma/proton do not exist            
-  G4int temp = GetVerboseLevel();                                                SetVerboseLevel(0);                                                           
-  //  " G4VUserPhysicsList::SetCutsWithDefault" method sets 
-  //   the default cut value for all particle types 
-  SetCutsWithDefault();   
-
-  // Retrieve verbose level
-  SetVerboseLevel(temp);  
-}
-
Index: unk/source/interfaces/test/G4cout_test01/src/ExN01PrimaryGeneratorAction.cc
===================================================================
--- /trunk/source/interfaces/test/G4cout_test01/src/ExN01PrimaryGeneratorAction.cc	(revision 1319)
+++ 	(revision )
@@ -1,75 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//
-// $Id: ExN01PrimaryGeneratorAction.cc,v 1.5 2006/06/29 19:10:48 gunter Exp $
-// GEANT4 tag $Name:  $
-//
-
-#include "ExN01PrimaryGeneratorAction.hh"
-
-#include "G4Event.hh"
-#include "G4ParticleGun.hh"
-#include "G4ParticleTable.hh"
-#include "G4ParticleDefinition.hh"
-#include "globals.hh"
-
-ExN01PrimaryGeneratorAction::ExN01PrimaryGeneratorAction()
-{
-  G4int n_particle = 1;
-  particleGun = new G4ParticleGun(n_particle);
-
-  G4ParticleTable* particleTable = G4ParticleTable::GetParticleTable();
-  G4String particleName;
-  particleGun->SetParticleDefinition(particleTable->FindParticle(particleName="geantino"));
-  particleGun->SetParticleEnergy(1.0*GeV);
-  particleGun->SetParticlePosition(G4ThreeVector(-2.0*m, 0.0, 0.0));
-}
-
-ExN01PrimaryGeneratorAction::~ExN01PrimaryGeneratorAction()
-{
-  delete particleGun;
-}
-
-void ExN01PrimaryGeneratorAction::GeneratePrimaries(G4Event* anEvent)
-{
-  G4int i = anEvent->GetEventID() % 3;
-  G4ThreeVector v(1.0,0.0,0.0);
-  switch(i)
-  {
-    case 0:
-      break;
-    case 1:
-      v.setY(0.1);
-      break;
-    case 2:
-      v.setZ(0.1);
-      break;
-  }
-  particleGun->SetParticleMomentumDirection(v);
-  particleGun->GeneratePrimaryVertex(anEvent);
-}
-
-
Index: unk/source/interfaces/test/G4cout_test01/src/MySession.cc
===================================================================
--- /trunk/source/interfaces/test/G4cout_test01/src/MySession.cc	(revision 1319)
+++ 	(revision )
@@ -1,63 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//
-// $Id: MySession.cc,v 1.6 2006/06/29 19:10:50 gunter Exp $
-// GEANT4 tag $Name:  $
-//
-// 
-// ---------------------------------------------------------------------
-
-#include "MySession.hh"
-
-MySession::MySession() : logFileName("Mylog")
-{ 
-  //  G4UImanager * UI = G4UImanager::GetUIpointer();
-  G4cout <<"MySession starts G4cout redirection" << G4endl;
-     const char* theFileName = logFileName;
-     logFile.open((char*)theFileName);
-}
-
-MySession::~MySession() {// close file for logging;
-     logFile.close();
-  G4cout <<"end of MySession" << G4endl;
-  UI->SetCoutDestination(NULL);
-}
-
-MySession * MySession::SessionStart() { return NULL; }
-
-G4int MySession::ReceiveG4cout(G4String coutString)
-{
-  //  G4cout << coutString << std::flush;
-  logFile << coutString << std::flush;
-  return 0;
-}
-
-G4int MySession::ReceiveG4cerr(G4String cerrString)
-{
-  G4cerr << cerrString << std::flush;
-  logFile << cerrString << std::flush;
-  return 0;
-}                                                                       
Index: unk/source/interfaces/test/GNUmakefile
===================================================================
--- /trunk/source/interfaces/test/GNUmakefile	(revision 1319)
+++ 	(revision )
@@ -1,21 +1,0 @@
-# $Id: GNUmakefile,v 1.1 1999/01/08 16:32:06 gunter Exp $
-# ----------------------------------------------------------------
-# Makes test program in environment variable G4TARGET.
-# ----------------------------------------------------------------
-
-ifndef G4TARGET
-  G4TARGET := $(TESTTARGET)
-endif
-
-ifndef G4INSTALL
-  G4INSTALL = ../../..
-endif
-
-include $(G4INSTALL)/config/architecture.gmk
-
-# Override some variables for binmake.gmk.
-#
-# INCFLAGS :=
-# LDLIBS   :=
-
-include $(G4INSTALL)/config/binmake.gmk
Index: unk/source/interfaces/test/benchmark.cc
===================================================================
--- /trunk/source/interfaces/test/benchmark.cc	(revision 1319)
+++ 	(revision )
@@ -1,277 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-//
-// $Id: benchmark.cc,v 1.5 2006/06/29 19:10:32 gunter Exp $
-// GEANT4 tag $Name:  $
-//
-// 
-// ---------------------------------------------------------------------
-// 
-// Test routine for combining "events+tracks", "tracking","geometry"
-// and "particle+matter"
-//
-// Calorimeter geometry
-//
-//   Arranged by R.Kiuchi 09. Oct. 1995
-//
-//   Original source written by Makoto Asai   5/Sep/95
-//   revised for New G4ParticleDefinition by H.Kurashige  21/Apr/96
-//   revised for New G4ParticleGun by H.Kurashige  3/May/96
-//   revised for interactive version by M.Asai 11/Jun/96
-//   revised for tag 0.5 by G.Cosmo  12/Feb/97
-//   revised for alpha01-tag by G.Cosmo  8/Apr/97
-// 
-
-#include "G4ios.hh"
-#include <stdlib.h>
-
-#include "G4ThreeVector.hh"
-
-#include "G4ParticleGun.hh"
-#include "G4Event.hh"
-#include "G4EventManager.hh"
-
-#include "G4GeometryManager.hh"
-#include "G4TransportationManager.hh"
-
-#include "G4PVPlacement.hh"
-#include "G4LogicalVolume.hh"
-#include "G4Box.hh"
-#include "G4Tubs.hh"
-
-#include "G4ParticleTable.hh"
-#include "G4Material.hh"
-#include "G4ProcessManager.hh"
-#include "G4MuDeltaRay.hh"
-#include "G4MuPairProduction.hh"
-#include "G4MuBremsstrahlung.hh"
-#include "G4MuEnergyLoss.hh"
-#include "G4Transportation.hh"
-#include "G4Geantino.hh"
-#include "G4Electron.hh"
-#include "G4MuonPlus.hh"
-#include "G4Gamma.hh"
-#include "G4Positron.hh"
-
-#include "G4UImanager.hh"
-#include "G4UIterminal.hh"
-
-G4VPhysicalVolume* BuildCalorimeter(G4Material* Air,
-				    G4Material* Lead,
-				    G4Material* Alluminium)
-{
-    G4double offset=22.5*cm, xTlate, yTlate;
-    G4int i,j,copyNo;
-
-    G4Box *myWorldBox= new G4Box ("WBox",10000*cm, 10000*cm, 10000*cm);
-    G4Box *myCalBox = new G4Box ("CBox",1500*cm, 1500*cm, 1000*cm);
-    G4Tubs *myTargetTube = new G4Tubs ("TTube",0*cm, 22.5*cm, 1000*cm, 0.*deg, 360.*deg);
-
-    G4LogicalVolume *myWorldLog=new G4LogicalVolume(myWorldBox,Air,
-						    "WLog", 0, 0, 0);
-    G4LogicalVolume *myCalLog=new G4LogicalVolume(myCalBox,Alluminium,
-						  "CLog", 0, 0, 0);
-    G4LogicalVolume *myTargetLog=new G4LogicalVolume(myTargetTube,Lead,
-						     "TLog", 0, 0, 0);
-
-    G4PVPlacement *myWorldPhys=new G4PVPlacement(0,G4ThreeVector(),
-						 "WPhys",
-						 myWorldLog,
-						 0,false,0);
-    G4PVPlacement *myCalPhys=new G4PVPlacement(0,G4ThreeVector(),
-					       "CalPhys",
-					       myCalLog,
-					       myWorldPhys,false,0);
-
-    G4String tName1("TPhys1");	// Allow all target physicals to share
-				// same name (delayed copy)
-    copyNo=0;
-    for (j=1;j<=25;j++)
-      {
-	yTlate = -1000.0*cm - 40.0*cm + j*80.0*cm;
-	
-	for (i=1;i<=50;i++)
-	  {
-	    copyNo++;
-	    xTlate = -1000.0*cm - 20.0*cm + i*45.0*cm - offset;
-	    G4PVPlacement *myTargetPhys=new G4PVPlacement(0,G4ThreeVector(xTlate,yTlate,0*cm),
-							  tName1,
-							  myTargetLog,
-							  myCalPhys,
-							  false,
-							  copyNo);
-	  }
-      }
-
-    G4String tName2("TPhys2");	// Allow all target physicals to share
-				// same name (delayed copy)
-    copyNo=0;
-    for (j=1;j<=26;j++)
-	{
-	  yTlate = -1000.0*cm - 80.0*cm + j*80.0*cm;
-	  for (i=1;i<=50;i++)
-	    {
-	      copyNo++;
-	      xTlate = -1000.0*cm - 20.0*cm + i*45.0*cm;
-	      G4PVPlacement *myTargetPhys=new G4PVPlacement(0,G4ThreeVector(xTlate,yTlate,0*cm),
-							    tName2,
-							    myTargetLog,
-							    myCalPhys,
-							    false,
-							    copyNo);
-	    }
-	}
-
-    return myWorldPhys;
-}
-
-int main()
-{
-//-------- set output format-------
-    G4cout.setf( std::ios:: scientific, std::ios :: floatfield );
-
-//--------- Material definition ---------
-
-  G4double a, iz, z, density;
-  G4String name, symbol;
-  G4int nel;
-
-  a = 14.01*g/mole;
-  G4Element* elN = new G4Element(name="Nitrogen", symbol="N", iz=7., a);
-  a = 16.00*g/mole;
-  G4Element* elO = new G4Element(name="Oxigen", symbol="O", iz=8., a);
-
-  a = 26.98*g/mole;
-  density = 2.7*g/cm3;
-  G4Material* Al = new G4Material(name="Aluminium", z=13., a, density);
-  a = 55.85*g/mole;
-  density = 7.87*g/cm3;
-  G4Material* Fe = new G4Material(name="Iron", z=26., a, density);
-  a = 207.19*g/mole;
-  density = 11.35*g/cm3;
-  G4Material* Pb = new G4Material(name="Lead", z=82., a, density);
-  density = 1.29e-03*g/cm3;
-  G4Material* Air = new G4Material(name="Air", density, nel=2);
-  Air->AddElement(elN, .7);
-  Air->AddElement(elO, .3);
-
-// Geometry definitions
-
-    G4VPhysicalVolume *myTopNode;
-
-    G4cout << "Calorimeter volume Performance Test" << G4endl;
-    myTopNode=BuildCalorimeter(Air,Pb,Al);	// Build the geometry
-    G4GeometryManager::GetInstance()->CloseGeometry();
-
-    G4TransportationManager::GetTransportationManager()
-      ->GetNavigatorForTracking()->SetWorldVolume( myTopNode );
-
-// Particle and Process definitions
-
-// Particle definitions
-
-    G4ParticleDefinition* Gamma    = G4Gamma::Gamma();
-    G4ParticleDefinition* Geantino = G4Geantino::Geantino();
-    G4ParticleDefinition* MuonPlus = G4MuonPlus::MuonPlus();
-    G4ParticleDefinition* Electron = G4Electron::Electron();
-    G4ParticleDefinition* Positron = G4Positron::Positron();
-    G4ParticleTable* theParticleTable = G4ParticleTable::GetParticleTable();
-
-// Process definitions
-
-   G4ProcessManager* pmanager;
-   G4Transportation* theTransportationProcess= new G4Transportation();
-
-   G4ParticleTable::G4PTblDicIterator *piter = theParticleTable->GetIterator();
-   piter -> reset();
-   while( (*piter)() ){
-     pmanager = piter->value()->GetProcessManager();
-     // add Transportation
-     pmanager -> AddContinuousProcess(theTransportationProcess, 1);
-   }
-
-/* !!!!!!!!!!!!!!!!!!!  Muons temporary commented out !!!!!!!!!!!!!!!!!
-    G4MuDeltaRay theDeltaRayProcess;
-    G4MuPairProduction thePairProductionProcess;
-    G4MuBremsstrahlung theBremsstrahlungProcess;
-
-    G4MuEnergyLoss theEnergyLossProcess;
-
-    G4ProcessManager* muonProcessManager= MuonPlus->GetProcessManager();
-    G4ProcessManager* geantinoProcessManager= Geantino->GetProcessManager();
-    G4ProcessManager* electronProcessManager= Electron->GetProcessManager();
-
-    muonProcessManager->AddDiscreteProcess(&theDeltaRayProcess);
-    muonProcessManager->AddDiscreteProcess(&thePairProductionProcess); 
-    muonProcessManager->AddDiscreteProcess(&theBremsstrahlungProcess);
-
-    muonProcessManager->AddContinuousProcess(&theEnergyLossProcess);
-
-// Set the cut and Build cross-sections table for physics processes
-
-    Gamma->SetCuts(1.*cm);
-    Positron->SetCuts(1.*cm);
-    Electron->SetCuts(1.*cm);
-    MuonPlus->SetCuts(1.*cm);
- !!!!!!!!!!!!!!!!!!!  Muons temporary commented out !!!!!!!!!!!!!!!!! */
-
-// Event manager
-
-    G4EventManager * eventManager = new G4EventManager;
-
-// Event generator
-
-    G4int numPrimaries =1;    //1 particle per event
-    G4ParticleGun * particleGun = new G4ParticleGun(numPrimaries);
-
-// Set navigator from transportation manager
-
-    eventManager->
-      set_Navigator(G4TransportationManager::GetTransportationManager()->
-                    GetNavigatorForTracking() );
-
-// Prepare UI session
-
-    G4UImanager * UI = G4UImanager::GetUIpointer();
-    G4UIterminal * terminal = new G4UIterminal;
-    UI->SetSession( terminal );
-
-// OK. Let's start benchmarks............
-
-    UI->Interact("G4> ");
-
-// End of run business
-
-    G4GeometryManager::GetInstance()->OpenGeometry();
-
-    delete Air; delete Pb; delete Fe; delete Al;
-    delete elO; delete elN;
-    delete theTransportationProcess;
-    delete eventManager;
-    delete particleGun;
-
-    return EXIT_SUCCESS;
-}
Index: unk/source/physics_lists/lists/include/FTFP_EMV.hh
===================================================================
--- /trunk/source/physics_lists/lists/include/FTFP_EMV.hh	(revision 1319)
+++ 	(revision )
@@ -1,69 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-// $Id: FTFP_EMV.hh,v 1.1 2007/04/26 14:47:10 gunter Exp $
-// GEANT4 tag $Name: geant4-09-03 $
-//
-//---------------------------------------------------------------------------
-//
-// ClassName: FTFP_EMV
-//
-// Author: 2007 G.Folger
-//    Created as copy from FTFP
-//
-// Modified:
-//
-//----------------------------------------------------------------------------
-//
-#ifndef TFTFP_EMV_h
-#define TFTFP_EMV_h 1
-
-#include "G4VModularPhysicsList.hh"
-#include "globals.hh"
-#include "CompileTimeConstraints.hh"
-
-template<class T>
-class TFTFP_EMV: public T
-{
-public:
-  TFTFP_EMV(G4int ver = 1);
-  virtual ~TFTFP_EMV();
-  
-public:
-  // SetCuts() 
-  virtual void SetCuts();
-
-private:
-  enum {ok = CompileTimeConstraints::IsA<T, G4VModularPhysicsList>::ok };
-};
-#include "FTFP_EMV.icc"
-typedef TFTFP_EMV<G4VModularPhysicsList> FTFP_EMV;
-
-// 2002 by J.P. Wellisch
-
-#endif
-
-
-
Index: unk/source/physics_lists/lists/include/FTFP_EMV.icc
===================================================================
--- /trunk/source/physics_lists/lists/include/FTFP_EMV.icc	(revision 1319)
+++ 	(revision )
@@ -1,137 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-// $Id: FTFP_EMV.icc,v 1.6 2009/12/04 13:08:42 gcosmo Exp $
-// GEANT4 tag $Name: geant4-09-03 $
-//
-//---------------------------------------------------------------------------
-//
-// ClassName: FTFP_EMV  
-//
-// Author: 2007 G.Folger
-//    Created as copy from FTFP
-//
-// Modified:
-// 18.05.2009 G.Folger: obsoleted
-// 28.11.2005 G.Folger: migration to non static particles
-// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
-// 02.12.2005 V.Ivanchenko: rename components
-// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
-// 15.06.2006 G.Folger: Migrate to HadronElasticPhysics using improved elastic
-// 20.11.2006 G.Folger: add Tracking Cut for neutrons
-// 16.05.2007 V.Ivanchenko: rename EM builders
-// 19.06.2008 G.Folger: don't use chips quasielastic in FTF
-//
-//----------------------------------------------------------------------------
-//
-
-#include "globals.hh"
-#include "G4ParticleDefinition.hh"
-#include "G4ParticleWithCuts.hh"
-#include "G4ProcessManager.hh"
-#include "G4ProcessVector.hh"
-#include "G4ParticleTypes.hh"
-#include "G4ParticleTable.hh"
-
-#include "G4Material.hh"
-#include "G4MaterialTable.hh"
-#include "G4ios.hh"
-#include <iomanip>   
-
-#include "G4DecayPhysics.hh"
-#include "G4EmStandardPhysics_option1.hh"
-#include "G4EmExtraPhysics.hh"
-#include "G4IonPhysics.hh"
-#include "G4QStoppingPhysics.hh"
-#include "G4HadronElasticPhysics.hh"
-#include "G4NeutronTrackingCut.hh"
-
-#include "G4DataQuestionaire.hh"
-#include "HadronPhysicsFTFP.hh"
-
-#include "G4WarnPLStatus.hh"
-
-template<class T> TFTFP_EMV<T>::TFTFP_EMV(G4int ver):  T()
-{
-  // default cut value  (1.0mm) 
-  // defaultCutValue = 1.0*mm;
-  G4DataQuestionaire it(photon);
-  G4cout << "<<< Geant4 Physics List simulation engine: FTFP_EMV 1.1"<<G4endl;
-  G4cout <<G4endl;
-  this->defaultCutValue = 0.7*mm;  
-  this->SetVerboseLevel(ver);
-
-  G4WarnPLStatus obs;
-  obs.Replaced("FTFP_EMV","FTFP_BERT_EMV");
-  G4Exception(" Crash for usage of replaced physics list");
-
-  // EM Physics
-  this->RegisterPhysics( new G4EmStandardPhysics_option1(ver));
-
-  // Synchroton Radiation & GN Physics
-  this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
-
-  // Decays 
-  this->RegisterPhysics( new G4DecayPhysics("decay",ver) );
-
-   // Hadron Elastic scattering
-  this-> RegisterPhysics( new G4HadronElasticPhysics("elastic",ver,false));
-
-   // Hadron Physics
-   G4bool quasiElastic;
-  this->RegisterPhysics(  new HadronPhysicsFTFP("hadron",quasiElastic=false));
-
-  // Stopping Physics
-  this->RegisterPhysics( new G4QStoppingPhysics("stopping"));
-
-  // Ion Physics
-  this->RegisterPhysics( new G4IonPhysics("ion"));
-  
-  // Neutron tracking cut
-  this->RegisterPhysics( new G4NeutronTrackingCut("Neutron tracking cut", ver));
-
-}
-
-template<class T> TFTFP_EMV<T>::~TFTFP_EMV()
-{
-}
-
-template<class T> void TFTFP_EMV<T>::SetCuts()
-{
-  if (this->verboseLevel >1){
-    G4cout << "FTFP_EMV::SetCuts:";
-  }  
-  //  " G4VUserPhysicsList::SetCutsWithDefault" method sets 
-  //   the default cut value for all particle types 
-
-  this->SetCutsWithDefault();   
- 
-//  if (this->verboseLevel > 0)
-//    G4VUserPhysicsList::DumpCutValuesTable();  
-}
-
-
-
-// 2002 by J.P. Wellisch
Index: unk/source/physics_lists/lists/include/QGSC_EFLOW.hh
===================================================================
--- /trunk/source/physics_lists/lists/include/QGSC_EFLOW.hh	(revision 1319)
+++ 	(revision )
@@ -1,55 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-#ifndef TQGSC_EFLOW_h
-#define TQGSC_EFLOW_h 1
-
-#include "G4VModularPhysicsList.hh"
-#include "globals.hh"
-#include "CompileTimeConstraints.hh"
-
-template<class T>
-class TQGSC_EFLOW: public T
-{
-public:
-  TQGSC_EFLOW(G4int ver = 1);
-  virtual ~TQGSC_EFLOW();
-  
-public:
-  // SetCuts() 
-  virtual void SetCuts();
-
-private:
-  enum {ok = CompileTimeConstraints::IsA<T, G4VModularPhysicsList>::ok };
-};
-#include "QGSC_EFLOW.icc"
-typedef TQGSC_EFLOW<G4VModularPhysicsList> QGSC_EFLOW;
-
-// 2002 by J.P. Wellisch
-
-#endif
-
-
-
Index: unk/source/physics_lists/lists/include/QGSC_EFLOW.icc
===================================================================
--- /trunk/source/physics_lists/lists/include/QGSC_EFLOW.icc	(revision 1319)
+++ 	(revision )
@@ -1,133 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-// $Id: QGSC_EFLOW.icc,v 1.6 2009/11/27 17:28:18 gunter Exp $
-// GEANT4 tag $Name: geant4-09-03 $
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   QGSC_EFLOW
-//
-// Author: 2006  Gunter Folger
-//
-// Created as copy of QGSC
-// Modified:
-// 18.05.2009 G.Folger: obsoleted
-// 26.04.2007 G.Folger: Enable quasielastic for QGS string model
-// 26.04.2007 G.Folger  Use QCaptureAtRest for muon
-// 16.05.2007 V.Ivanchenko: rename EM builders
-// 27.11.2009 G.Folger: suggest different alternative list
-//
-//----------------------------------------------------------------------------
-//
-#include "globals.hh"
-#include "G4ParticleDefinition.hh"
-#include "G4ParticleWithCuts.hh"
-#include "G4ProcessManager.hh"
-#include "G4ProcessVector.hh"
-#include "G4ParticleTypes.hh"
-#include "G4ParticleTable.hh"
-
-#include "G4Material.hh"
-#include "G4MaterialTable.hh"
-#include "G4ios.hh"
-#include <iomanip>   
-
-#include "G4DecayPhysics.hh"
-#include "G4EmStandardPhysics.hh"
-#include "G4EmExtraPhysics.hh"
-#include "G4IonPhysics.hh"
-#include "G4QStoppingPhysics.hh"
-#include "G4HadronQElasticPhysics.hh"
-#include "G4NeutronTrackingCut.hh"
-
-#include "G4DataQuestionaire.hh"
-#include "HadronPhysicsQGSC_EFLOW.hh"
-
-#include "G4WarnPLStatus.hh"
-
-template<class T> TQGSC_EFLOW<T>::TQGSC_EFLOW(G4int ver):  T()
-{
-  // default cut value  (1.0mm) 
-  // defaultCutValue = 1.0*mm;
-  G4DataQuestionaire it(photon);
-  G4cout << "<<< Geant4 Physics List simulation engine: QGSC_EFLOW 1.2"<<G4endl;
-  G4cout <<G4endl<<G4endl;
-  this->defaultCutValue = 0.7*mm;  
-  this->SetVerboseLevel(ver);
-
-  G4WarnPLStatus obs;
-  obs.Replaced("QGSC_EFLOW","QGSC_BERT");
-  G4Exception(" Crash for usage of replaced physics list");
-
-  // EM Physics
-  this->RegisterPhysics( new G4EmStandardPhysics(ver));
-
-  // Synchroton Radiation & GN Physics
-  this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
-
-  // Decays
-  this->RegisterPhysics( new G4DecayPhysics("decay",ver) );
-
-   // Hadron Elastic scattering, "CHIPS" version
-  this-> RegisterPhysics( new G4HadronQElasticPhysics("elastic",ver));
-
-   // Hadron Physics
-   G4bool quasiElastic;
-  this->RegisterPhysics(  new HadronPhysicsQGSC_EFLOW("hadron",quasiElastic=true));
-
-  // Stopping Physics
-  this->RegisterPhysics( new G4QStoppingPhysics("stopping",ver,false));
-
-  // Ion Physics
-  this->RegisterPhysics( new G4IonPhysics("ion"));
-  
-  // Neutron tracking cut
-  this->RegisterPhysics( new G4NeutronTrackingCut("Neutron tracking cut", ver));
-
-}
-
-template<class T> TQGSC_EFLOW<T>::~TQGSC_EFLOW()
-{
-}
-
-template<class T> void TQGSC_EFLOW<T>::SetCuts()
-{
-  if (this->verboseLevel >1){
-    G4cout << "QGSC_EFLOW::SetCuts:";
-  }  
-  //  " G4VUserPhysicsList::SetCutsWithDefault" method sets 
-  //   the default cut value for all particle types 
-
-  this->SetCutsWithDefault();   
-  
-//  if (this->verboseLevel >0)
-//    G4VUserPhysicsList::DumpCutValuesTable();  
-  
-}
-
-
-
-// 2002 by J.P. Wellisch
Index: unk/source/physics_lists/lists/include/QGSP_EMX.hh
===================================================================
--- /trunk/source/physics_lists/lists/include/QGSP_EMX.hh	(revision 1319)
+++ 	(revision )
@@ -1,68 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-// $Id: QGSP_EMX.hh,v 1.1 2006/10/31 11:35:09 gunter Exp $
-// GEANT4 tag $Name: geant4-09-03 $
-//
-//---------------------------------------------------------------------------
-//
-// ClassName: LHEP_EMX
-//
-// Author: 2006 V.Ivanchenko
-//
-// Modified:
-// 21.06.2006 V.Ivanchenko crerate from QGSP_EMV
-//
-//----------------------------------------------------------------------------
-//
-
-#ifndef TQGSP_EMX_h
-#define TQGSP_EMX_h 1
-
-#include "G4VModularPhysicsList.hh"
-#include "globals.hh"
-#include "CompileTimeConstraints.hh"
-
-template<class T>
-class TQGSP_EMX: public T
-{
-public:
-  TQGSP_EMX(G4int ver = 1);
-  virtual ~TQGSP_EMX();
-  
-public:
-  // SetCuts() 
-  virtual void SetCuts();
-
-private:
-  enum {ok = CompileTimeConstraints::IsA<T, G4VModularPhysicsList>::ok };
-};
-#include "QGSP_EMX.icc"
-typedef TQGSP_EMX<G4VModularPhysicsList> QGSP_EMX;
-
-#endif
-
-
-
Index: unk/source/physics_lists/lists/include/QGSP_EMX.icc
===================================================================
--- /trunk/source/physics_lists/lists/include/QGSP_EMX.icc	(revision 1319)
+++ 	(revision )
@@ -1,130 +1,0 @@
-//
-// ********************************************************************
-// * License and Disclaimer                                           *
-// *                                                                  *
-// * The  Geant4 software  is  copyright of the Copyright Holders  of *
-// * the Geant4 Collaboration.  It is provided  under  the terms  and *
-// * conditions of the Geant4 Software License,  included in the file *
-// * LICENSE and available at  http://cern.ch/geant4/license .  These *
-// * include a list of copyright holders.                             *
-// *                                                                  *
-// * Neither the authors of this software system, nor their employing *
-// * institutes,nor the agencies providing financial support for this *
-// * work  make  any representation or  warranty, express or implied, *
-// * regarding  this  software system or assume any liability for its *
-// * use.  Please see the license in the file  LICENSE  and URL above *
-// * for the full disclaimer and the limitation of liability.         *
-// *                                                                  *
-// * This  code  implementation is the result of  the  scientific and *
-// * technical work of the GEANT4 collaboration.                      *
-// * By using,  copying,  modifying or  distributing the software (or *
-// * any work based  on the software)  you  agree  to acknowledge its *
-// * use  in  resulting  scientific  publications,  and indicate your *
-// * acceptance of all terms of the Geant4 Software license.          *
-// ********************************************************************
-//
-// $Id: QGSP_EMX.icc,v 1.8 2009/11/27 17:28:19 gunter Exp $
-// GEANT4 tag $Name: geant4-09-03 $
-//
-//---------------------------------------------------------------------------
-//
-// ClassName:   QGSP_EMX
-//
-// Author: 2006  V.Ivanchenko
-//
-// Modified:
-// 18.05.2009 G.Folger: obsoleted
-// 20.11.2006 G.Folger: add Tracking Cut for neutrons
-// 21.06.2006 V.Ivanchenko crerate from QGSP_EMV
-// 26.04.2007 G.Folger 
-//        - use HadronPhysicsQGSP, not HadronPhysicsQGSP_EMX
-//        - Enable quasielastic for QGS string model
-// 16.05.2007 V.Ivanchenko: rename EM builders
-//
-//----------------------------------------------------------------------------
-//
-
-#include "globals.hh"
-#include "G4ParticleDefinition.hh"
-#include "G4ParticleWithCuts.hh"
-#include "G4ProcessManager.hh"
-#include "G4ProcessVector.hh"
-#include "G4ParticleTypes.hh"
-#include "G4ParticleTable.hh"
-
-#include "G4Material.hh"
-#include "G4MaterialTable.hh"
-#include "G4ios.hh"
-#include <iomanip>   
-
-#include "G4DecayPhysics.hh"
-#include "G4EmStandardPhysics_option2.hh"
-#include "G4EmExtraPhysics.hh"
-#include "G4IonPhysics.hh"
-#include "G4QStoppingPhysics.hh"
-#include "G4HadronElasticPhysics.hh"
-#include "G4NeutronTrackingCut.hh"
-
-#include "G4DataQuestionaire.hh"
-#include "HadronPhysicsQGSP.hh"
-
-#include "G4WarnPLStatus.hh"
-
-template<class T> TQGSP_EMX<T>::TQGSP_EMX(G4int ver):  T()
-{
-  G4DataQuestionaire it(photon);
-  G4cout << "<<< Geant4 Physics List simulation engine: QGSP_EMX 3.3"<<G4endl;
-  G4cout <<G4endl;
-  this->defaultCutValue = 7.*mm;  
-  this->SetVerboseLevel(ver);
-
-  G4WarnPLStatus obs;
-  obs.Replaced("QGSP_EMX","QGSP_BERT_EMX");
-  G4Exception(" Crash for usage of replaced physics list");
-
-  // EM Physics
-  this->RegisterPhysics( new G4EmStandardPhysics_option2(ver));
-
-  // Synchroton Radiation & GN Physics
-  this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
-
-  // General Physics - i.e. decay
-  this->RegisterPhysics( new G4DecayPhysics("decay",ver) );
-
-   // Hadron Elastic scattering
-  this-> RegisterPhysics( new G4HadronElasticPhysics("elastic",ver,false));
-
-   // Hadron Physics
-   G4bool quasiElastic;
-  this->RegisterPhysics(  new HadronPhysicsQGSP("hadron",quasiElastic=true));
-
-  // Stopping Physics
-  this->RegisterPhysics( new G4QStoppingPhysics("stopping"));
-
-  // Ion Physics
-  this->RegisterPhysics( new G4IonPhysics("ion"));
-  
-  // Neutron tracking cut
-  this->RegisterPhysics( new G4NeutronTrackingCut("Neutron tracking cut", ver));
-
-}
-
-template<class T> TQGSP_EMX<T>::~TQGSP_EMX()
-{
-}
-
-template<class T> void TQGSP_EMX<T>::SetCuts()
-{
-  if (this->verboseLevel >1){
-    G4cout << "QGSP_EMX::SetCuts:";
-  }  
-  //  " G4VUserPhysicsList::SetCutsWithDefault" method sets 
-  //   the default cut value for all particle types 
-
-  this->SetCutsWithDefault();   
-  
-//  if (this->verboseLevel >0)
-//    G4VUserPhysicsList::DumpCutValuesTable();  
-  
-}
-
