/[PAMELA software]/PamVMC/tof/include/PamVMCCrossTOF.h
ViewVC logotype

Contents of /PamVMC/tof/include/PamVMCCrossTOF.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Jun 12 18:39:35 2009 UTC (15 years, 5 months ago) by pam-rm2
Branch: MAIN
CVS Tags: v1r0, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
- 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 #ifndef PAMVMC_CROSS_S11Y_H
2 #define PAMVMC_CROSS_S11Y_H
3
4 #include "PamVMCVolCross.h"
5
6 class PamVMCCrossS11Y : public PamVMCVolCross {
7
8 private:
9
10 Bool_t fS11Y;
11
12 public:
13
14 PamVMCCrossS11Y():PamVMCVolCross("S11Y")
15 { fS11Y=kFALSE; };
16
17 virtual void FillCrossMap(){ fS11Y=kTRUE; }
18
19 Bool_t IsVolCross(){ return fS11Y; }
20
21 virtual void Reset(){ fS11Y=kFALSE; }
22
23 ClassDef(PamVMCCrossS11Y,1)
24 };
25
26
27 #endif //PAMVMC_CROSS_S11Y_H
28
29 #ifndef PAMVMC_CROSS_S12X_H
30 #define PAMVMC_CROSS_S12X_H
31
32
33
34 class PamVMCCrossS12X : public PamVMCVolCross {
35
36 private:
37
38 Bool_t fS12X;
39
40 public:
41
42 PamVMCCrossS12X():PamVMCVolCross("S12X")
43 { fS12X=kFALSE; };
44
45 virtual void FillCrossMap(){ fS12X=kTRUE;}
46
47 Bool_t IsVolCross(){ return fS12X; }
48
49 virtual void Reset(){ fS12X=kFALSE; }
50
51 ClassDef(PamVMCCrossS12X,1)
52 };
53
54
55 #endif //PAMVMC_CROSS_S12X_H
56
57 #ifndef PAMVMC_CROSS_S21X_H
58 #define PAMVMC_CROSS_S21X_H
59
60
61
62 class PamVMCCrossS21X : public PamVMCVolCross {
63
64 private:
65
66 Bool_t fS21X;
67
68 public:
69
70 PamVMCCrossS21X():PamVMCVolCross("S21X")
71 { fS21X=kFALSE; };
72
73 virtual void FillCrossMap(){ fS21X=kTRUE;}
74
75 Bool_t IsVolCross(){ return fS21X; }
76
77 virtual void Reset(){ fS21X=kFALSE; }
78
79 ClassDef(PamVMCCrossS21X,1)
80 };
81
82
83 #endif //PAMVMC_CROSS_S21X_H
84
85 #ifndef PAMVMC_CROSS_S22Y_H
86 #define PAMVMC_CROSS_S22Y_H
87
88
89
90 class PamVMCCrossS22Y : public PamVMCVolCross {
91
92 private:
93
94 Bool_t fS22Y;
95
96 public:
97
98 PamVMCCrossS22Y():PamVMCVolCross("S22Y")
99 { fS22Y=kFALSE; };
100
101 virtual void FillCrossMap(){ fS22Y=kTRUE; }
102
103 Bool_t IsVolCross(){ return fS22Y; }
104
105 virtual void Reset(){ fS22Y=kFALSE; }
106
107 ClassDef(PamVMCCrossS22Y,1)
108 };
109
110
111 #endif //PAMVMC_CROSS_S22Y_H
112
113
114 #ifndef PAMVMC_CROSS_S31Y_H
115 #define PAMVMC_CROSS_S31Y_H
116
117
118
119 class PamVMCCrossS31Y : public PamVMCVolCross {
120
121 private:
122
123 Bool_t fS31Y;
124
125 public:
126
127 PamVMCCrossS31Y():PamVMCVolCross("S31Y")
128 { fS31Y=kFALSE; };
129
130 virtual void FillCrossMap(){ fS31Y=kTRUE;}
131
132 Bool_t IsVolCross(){ return fS31Y; }
133
134 virtual void Reset(){ fS31Y=kFALSE; }
135
136 ClassDef(PamVMCCrossS31Y,1)
137 };
138
139
140 #endif //PAMVMC_CROSS_S31Y_H
141
142 #ifndef PAMVMC_CROSS_S32X_H
143 #define PAMVMC_CROSS_S32X_H
144
145
146
147 class PamVMCCrossS32X : public PamVMCVolCross {
148
149 private:
150
151 Bool_t fS32X;
152
153 public:
154
155 PamVMCCrossS32X():PamVMCVolCross("S32X")
156 { fS32X=kFALSE; };
157
158 virtual void FillCrossMap(){ fS32X=kTRUE;}
159
160 Bool_t IsVolCross(){ return fS32X; }
161
162 virtual void Reset(){ fS32X=kFALSE; }
163
164 ClassDef(PamVMCCrossS32X,1)
165 };
166
167
168 #endif //PAMVMC_CROSS_S32X_H

  ViewVC Help
Powered by ViewVC 1.1.23