Changeset 1230 for trunk/examples/advanced/Rich
- Timestamp:
- Jan 8, 2010, 3:02:48 PM (14 years ago)
- 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 pmendezExp $1 # $Id: GNUmakefile,v 1.2 2009/03/06 09:39:58 gbarrand Exp $ 2 2 # -------------------------------------------------------------- 3 3 # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. … … 19 19 include $(G4INSTALL)/config/architecture.gmk 20 20 21 ifdef G4ANALYSIS_USE22 CPPFLAGS += `aida-config --include`23 LDFLAGS += `aida-config --lib`24 endif25 21 # 26 22 .PHONY: all -
trunk/examples/advanced/Rich/History
r807 r1230 1 1 ------------------------------------------------------------------- 2 $Id: History,v 1.1 1 2007/09/30 23:00:40 gumExp $2 $Id: History,v 1.16 2009/11/12 13:09:56 ribon Exp $ 3 3 ------------------------------------------------------------------- 4 4 … … 9 9 Category History file 10 10 --------------------- 11 12 12.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 17 08.04.2009 - G.A.P.Cirrone; Tag: Rich-V09-02-00 18 Tag for the next release 19 20 06.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 26 23.11.2008 - G.A.P.Cirrone; Tag: Rich-V09-01-01 27 Fixed compilation errors on the file RichTbEventAction 28 29 14.06.2008 - G.A.P.Cirrone (Rich-V09-01-00) 30 Fixed compilation errors and removed warnigs 11 31 12 32 30.09.2007 - P.Gumplinger (Rich-V09-00-00) -
trunk/examples/advanced/Rich/RichTbSim.cc
r807 r1230 44 44 #include "G4UImanager.hh" 45 45 #include "G4UIterminal.hh" 46 #include "QGSP_BIC_EMY.hh" 47 46 48 #ifdef G4UI_USE_XM 47 49 #include "G4UIXm.hh" 48 50 #endif 51 49 52 #include "Randomize.hh" 53 50 54 #ifdef G4VIS_USE 51 55 #include "G4VisExecutive.hh" … … 77 81 runManager->SetUserInitialization(RichTbDet); 78 82 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 84 87 85 88 86 89 // UserAction classes - optional 87 90 91 #ifdef G4VIS_USE 88 92 G4VisManager* visManager = new G4VisExecutive(); 89 93 visManager->SetVerboseLevel(0); … … 93 97 G4cout<<" PVVisManager "<<pVVisManager<<G4endl; 94 98 G4cout<<"VisManager "<<visManager<<G4endl; 99 #endif 95 100 96 101 runManager->SetUserAction(new RichTbRunAction); … … 101 106 runManager->SetUserAction( PrimaryGenAction ); 102 107 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 106 115 107 116 runManager->SetUserAction(eventAction); … … 146 155 #ifdef G4VIS_USE 147 156 delete visManager; 157 G4cout << "\nVisManager deleted..\n" <<G4endl; 148 158 #endif 149 150 G4cout << "\nVisManager deleted..\n" <<G4endl;151 159 152 160 delete runManager; -
trunk/examples/advanced/Rich/include/RichTbGeometryParameters.hh
r807 r1230 373 373 static const G4int NumberOfHpds=4; 374 374 static const G4double HpdPosRad=146.5*mm; 375 static const G4double HpdZfromEnd=HpdMasterHalfZ-VesselPosZ+1.0*mm; ;375 static const G4double HpdZfromEnd=HpdMasterHalfZ-VesselPosZ+1.0*mm; 376 376 377 377 static const G4double HpdMasterPosX[NumberOfHpds]=
Note: See TracChangeset
for help on using the changeset viewer.