Parent Directory | Revision Log
- Introduced user-defined names of output files and random seeds number. Users can do it use options of PamVMCApplication constructor: PamVMCApplication(const char* name, const char *title, const char* filename="pamtest", Int_t seed=0). The Random object that I use is TRandom3 object which has astronomical large period (in case of default initialization 0). All random generators in the code use this object by calling of gRandom singleton which keeps it. - Corrected TOF digitization routine. No problems with TDC hits due to hadronic interactions anymore. - Some small changes was done to compile code under Root 5.23. + geant4_vmc v. 2.6 without any warnings - Some classes of PamG4RunConfiguartion was changed for geant4_vmc v. 2.6.Some obsolete classes was deleted as soon as developers implemented regions. - Navigation was changed from "geomRootToGeant4" to "geomRoot", because on VMC web page written that as soon as Geant4 has no option ONLY/MANY translation of overlapped geometry to Geant4 through VGM could be wrong. I'd like to stay with Root navigation: http://root.cern.ch/root/vmc/Geant4VMC.html. This should be default option. - New Tracker digitization routine written by Sergio was implemented - PamVMC again became compatible with geant4_vmc v.2.5 and ROOT 5.20. The problem was that ROOT developers introduced in TVirtualMC class a new method SetMagField and new base class:TVirtualMagField from which user-defined classes shoukd be derived
1 | nikolas | 1.1 | #ifndef PAMVMC_CROSS_MGPL_H |
2 | #define PAMVMC_CROSS_MGPL_H | ||
3 | |||
4 | #include "PamVMCVolCross.h" | ||
5 | |||
6 | class PamVMCCrossMGPL : public PamVMCVolCross { | ||
7 | |||
8 | private: | ||
9 | |||
10 | Bool_t fMGPL; | ||
11 | |||
12 | public: | ||
13 | |||
14 | PamVMCCrossMGPL():PamVMCVolCross("MGPL") | ||
15 | { fMGPL=kTRUE; }; | ||
16 | |||
17 | virtual void CrossVol(){ FillCrossMap(); }; | ||
18 | |||
19 | virtual void FillCrossMap(){ fMGPL=kFALSE; } | ||
20 | |||
21 | Bool_t IsVolCross(){ return fMGPL; } | ||
22 | |||
23 | virtual void Reset(){ fMGPL=kTRUE; } | ||
24 | |||
25 | ClassDef(PamVMCCrossMGPL,1) | ||
26 | }; | ||
27 | |||
28 | |||
29 | #endif //PAMVMC_CROSS_MGPL_H | ||
30 | |||
31 | #ifndef PAMVMC_CROSS_MGPA_H | ||
32 | #define PAMVMC_CROSS_MGPA_H | ||
33 | |||
34 | |||
35 | |||
36 | class PamVMCCrossMGPA : public PamVMCVolCross { | ||
37 | |||
38 | private: | ||
39 | |||
40 | Bool_t fMGPA; | ||
41 | |||
42 | public: | ||
43 | |||
44 | PamVMCCrossMGPA():PamVMCVolCross("MGPA") | ||
45 | { fMGPA=kTRUE; }; | ||
46 | |||
47 | virtual void CrossVol(){ FillCrossMap(); }; | ||
48 | |||
49 | virtual void FillCrossMap(){ fMGPA=kFALSE;} | ||
50 | |||
51 | Bool_t IsVolCross(){ return fMGPA; } | ||
52 | |||
53 | virtual void Reset(){ fMGPA=kTRUE; } | ||
54 | |||
55 | ClassDef(PamVMCCrossMGPA,1) | ||
56 | }; | ||
57 | |||
58 | |||
59 | #endif //PAMVMC_CROSS_MGPA_H |
ViewVC Help | |
Powered by ViewVC 1.1.23 |