Ignore:
Timestamp:
Jan 8, 2010, 3:02:48 PM (14 years ago)
Author:
garnier
Message:

update to geant4.9.3

Location:
trunk/examples/advanced/Rich
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/advanced/Rich/GNUmakefile

    r807 r1230  
    1 # $Id: GNUmakefile,v 1.1 2003/05/26 13:02:50 pmendez Exp $
     1# $Id: GNUmakefile,v 1.2 2009/03/06 09:39:58 gbarrand Exp $
    22# --------------------------------------------------------------
    33# GNUmakefile for examples module.  Gabriele Cosmo, 06/04/98.
     
    1919include $(G4INSTALL)/config/architecture.gmk
    2020
    21 ifdef G4ANALYSIS_USE
    22   CPPFLAGS += `aida-config --include`
    23   LDFLAGS += `aida-config --lib`
    24 endif
    2521#
    2622.PHONY: all
  • trunk/examples/advanced/Rich/History

    r807 r1230  
    11-------------------------------------------------------------------
    2 $Id: History,v 1.11 2007/09/30 23:00:40 gum Exp $
     2$Id: History,v 1.16 2009/11/12 13:09:56 ribon Exp $
    33-------------------------------------------------------------------
    44
     
    99                      Category History file
    1010                      ---------------------
     11
     1212.11.2009 - A.Ribon (Rich-V09-02-01)
     13             Added the possibility to use QGSP_BIC_EMY as
     14             Physics List. However, by default, the example's
     15             Physics List is used.
     16
     1708.04.2009 - G.A.P.Cirrone; Tag: Rich-V09-02-00
     18             Tag for the next release
     19
     2006.03.2009 - Guy Barrand (in agreement with G.Cosmo)
     21             GNUmakefile : remove the G4ANALYSIS_USE logic found in this file
     22             since it is handled already in the config/analysis.gmk.
     23             This avoids a duplication in the compilation and link commands
     24             of the aida-config options.
     25
     2623.11.2008 - G.A.P.Cirrone; Tag: Rich-V09-01-01
     27             Fixed compilation errors on the file RichTbEventAction
     28
     2914.06.2008 - G.A.P.Cirrone (Rich-V09-01-00)
     30             Fixed compilation errors and removed warnigs
    1131
    123230.09.2007 - P.Gumplinger (Rich-V09-00-00)
  • trunk/examples/advanced/Rich/RichTbSim.cc

    r807 r1230  
    4444#include "G4UImanager.hh"
    4545#include "G4UIterminal.hh"
     46#include "QGSP_BIC_EMY.hh"
     47
    4648#ifdef G4UI_USE_XM
    4749#include "G4UIXm.hh"
    4850#endif
     51
    4952#include "Randomize.hh"
     53
    5054#ifdef G4VIS_USE
    5155#include "G4VisExecutive.hh"
     
    7781   runManager->SetUserInitialization(RichTbDet);
    7882   
    79    RichTbPhysicsList* RichTbPhy
    80      =new RichTbPhysicsList(rConfig);
    81 
    82    runManager-> SetUserInitialization(RichTbPhy);
    83 
     83   //***LOOKHERE*** : Choose the Physics List
     84   RichTbPhysicsList* RichTbPhy =new RichTbPhysicsList(rConfig);
     85   runManager->SetUserInitialization(RichTbPhy);        // Use example's Physics List
     86   //runManager->SetUserInitialization(new QGSP_BIC_EMY); // Use QGSP_BIC_EMY
    8487   
    8588
    8689// UserAction classes - optional
    8790
     91 #ifdef G4VIS_USE
    8892  G4VisManager* visManager = new G4VisExecutive();
    8993  visManager->SetVerboseLevel(0);
     
    9397   G4cout<<" PVVisManager "<<pVVisManager<<G4endl;
    9498   G4cout<<"VisManager "<<visManager<<G4endl;
     99#endif
    95100
    96101   runManager->SetUserAction(new RichTbRunAction);
     
    101106   runManager->SetUserAction( PrimaryGenAction );
    102107
    103    RichTbEventAction* eventAction=
    104      new RichTbEventAction(rConfig,visManager,
    105                            rIOData);
     108 #ifdef G4VIS_USE
     109   RichTbEventAction* eventAction=new RichTbEventAction(rConfig,visManager,rIOData);
     110#endif
     111
     112 #ifndef G4VIS_USE
     113   RichTbEventAction* eventAction=new RichTbEventAction(rConfig,0,rIOData);
     114#endif
    106115
    107116   runManager->SetUserAction(eventAction);
     
    146155#ifdef G4VIS_USE
    147156  delete visManager;
     157  G4cout << "\nVisManager deleted..\n" <<G4endl;
    148158#endif
    149 
    150   G4cout << "\nVisManager deleted..\n" <<G4endl;
    151159
    152160   delete runManager;
  • trunk/examples/advanced/Rich/include/RichTbGeometryParameters.hh

    r807 r1230  
    373373static const G4int NumberOfHpds=4;
    374374static const G4double HpdPosRad=146.5*mm;
    375 static const G4double HpdZfromEnd=HpdMasterHalfZ-VesselPosZ+1.0*mm;;
     375static const G4double HpdZfromEnd=HpdMasterHalfZ-VesselPosZ+1.0*mm;
    376376
    377377static const  G4double HpdMasterPosX[NumberOfHpds]=
Note: See TracChangeset for help on using the changeset viewer.