]>
Commit | Line | Data |
---|---|---|
02d6eccc | 1 | /// One can use the configuration macro in compiled mode by |
2 | // root [0] gSystem->Load("libgeant321"); | |
3 | // root [0] gSystem->SetIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/include\ | |
4 | // -I$ALICE_ROOT -I$ALICE/geant3/TGeant3"); | |
5 | // root [0] .x grun.C(1,"Config.C++" | |
6 | ||
7 | #if !defined(__CINT__) || defined(__MAKECINT__) | |
8 | #include <Riostream.h> | |
9 | #include <TPDGCode.h> | |
10 | #include <TRandom.h> | |
11 | #include <TSystem.h> | |
12 | #include <TVirtualMC.h> | |
13 | #include <TGeant3TGeo.h> | |
14 | #include "STEER/AliRunLoader.h" | |
15 | #include "STEER/AliRun.h" | |
16 | #include "STEER/AliConfig.h" | |
17 | #include "PYTHIA6/AliDecayerPythia.h" | |
18 | #include "EVGEN/AliGenCocktail.h" | |
19 | #include "EVGEN/AliGenHIJINGpara.h" | |
20 | #include "EVGEN/AliGenFixed.h" | |
21 | #include "EVGEN/AliGenBox.h" | |
22 | #include "STEER/AliMagWrapCheb.h" | |
23 | #include "STRUCT/AliBODY.h" | |
24 | #include "STRUCT/AliMAG.h" | |
25 | #include "STRUCT/AliABSOv3.h" | |
26 | #include "STRUCT/AliDIPOv3.h" | |
27 | #include "STRUCT/AliHALLv3.h" | |
28 | #include "STRUCT/AliFRAMEv2.h" | |
29 | #include "STRUCT/AliSHILv3.h" | |
30 | #include "STRUCT/AliPIPEv3.h" | |
4f976c08 | 31 | #include "STRUCT/AliPIPEupgrade.h" |
02d6eccc | 32 | #include "ITS/AliITSv11.h" |
33 | #include "ITS/UPGRADE/AliITSUv11.h" | |
34 | #include "TPC/AliTPCv2.h" | |
35 | #include "TOF/AliTOFv6T0.h" | |
36 | #include "HMPID/AliHMPIDv3.h" | |
37 | #include "ZDC/AliZDCv3.h" | |
38 | #include "TRD/AliTRDv1.h" | |
39 | #include "TRD/AliTRDgeometry.h" | |
40 | #include "FMD/AliFMDv1.h" | |
41 | #include "MUON/AliMUONv1.h" | |
42 | #include "PHOS/AliPHOSv1.h" | |
43 | #include "PMD/AliPMDv1.h" | |
44 | #include "T0/AliT0v1.h" | |
45 | #include "EMCAL/AliEMCALv2.h" | |
46 | #include "ACORDE/AliACORDEv1.h" | |
47 | #include "VZERO/AliVZEROv7.h" | |
48 | #include <TVirtualMagField.h> | |
49 | #endif | |
50 | ||
d0674db6 | 51 | Int_t generatorFlag = 0; |
4f976c08 | 52 | |
02d6eccc | 53 | /* $Id: Config.C 47147 2011-02-07 11:46:44Z amastros $ */ |
54 | enum PprTrigConf_t | |
55 | { | |
56 | kDefaultPPTrig, kDefaultPbPbTrig | |
57 | }; | |
58 | ||
59 | const char * pprTrigConfName[] = { | |
60 | "p-p","Pb-Pb" | |
61 | }; | |
62 | ||
63 | Float_t EtaToTheta(Float_t arg); | |
64 | ||
65 | static PprTrigConf_t strig = kDefaultPPTrig;// default PP trigger configuration | |
66 | ||
67 | void Config() | |
68 | { | |
69 | // ThetaRange is (0., 180.). It was (0.28,179.72) 7/12/00 09:00 | |
70 | // Theta range given through pseudorapidity limits 22/6/2001 | |
71 | ||
72 | // Set Random Number seed | |
c8d1f258 | 73 | gRandom->SetSeed(1); // Set 0 to use the currecnt time |
02d6eccc | 74 | |
75 | ||
76 | // libraries required by geant321 | |
77 | #if defined(__CINT__) | |
78 | gSystem->Load("liblhapdf"); | |
79 | gSystem->Load("libEGPythia6"); | |
80 | gSystem->Load("libpythia6"); | |
81 | gSystem->Load("libAliPythia6"); | |
82 | gSystem->Load("libgeant321"); | |
4f976c08 | 83 | gSystem->Load("libhijing"); |
84 | gSystem->Load("libTHijing"); | |
02d6eccc | 85 | #endif |
86 | gSystem->Load("libITSUpgradeBase.so"); | |
87 | gSystem->Load("libITSUpgradeSim.so"); | |
88 | ||
89 | ||
90 | new TGeant3TGeo("C++ Interface to Geant3"); | |
91 | ||
92 | AliRunLoader* rl=0x0; | |
93 | ||
94 | ||
95 | rl = AliRunLoader::Open("galice.root", | |
96 | AliConfig::GetDefaultEventFolderName(), | |
97 | "recreate"); | |
98 | if (rl == 0x0) | |
99 | { | |
100 | gAlice->Fatal("Config.C","Can not instatiate the Run Loader"); | |
101 | return; | |
102 | } | |
103 | rl->SetCompressionLevel(2); | |
104 | rl->SetNumberOfEventsPerFile(2000); | |
105 | gAlice->SetRunLoader(rl); | |
106 | ||
107 | // Set the trigger configuration | |
108 | // gAlice->SetTriggerDescriptor(pprTrigConfName[strig]); | |
109 | //cout<<"Trigger configuration is set to "<<pprTrigConfName[strig]<<endl; | |
110 | AliSimulation::Instance()->SetTriggerConfig(pprTrigConfName[strig]); | |
111 | cout<<"Trigger configuration is set to pprTrigConfName[strig] "<<endl; | |
112 | ||
113 | // | |
114 | // Set External decayer | |
115 | TVirtualMCDecayer *decayer = new AliDecayerPythia(); | |
116 | ||
117 | decayer->SetForceDecay(kAll); | |
118 | decayer->Init(); | |
119 | gMC->SetExternalDecayer(decayer); | |
120 | //======================================================================= | |
121 | // ************* STEERING parameters FOR ALICE SIMULATION ************** | |
122 | // --- Specify event type to be tracked through the ALICE setup | |
123 | // --- All positions are in cm, angles in degrees, and P and E in GeV | |
124 | ||
125 | ||
126 | gMC->SetProcess("DCAY",1); | |
127 | gMC->SetProcess("PAIR",1); | |
128 | gMC->SetProcess("COMP",1); | |
129 | gMC->SetProcess("PHOT",1); | |
130 | gMC->SetProcess("PFIS",0); | |
131 | gMC->SetProcess("DRAY",0); | |
132 | gMC->SetProcess("ANNI",1); | |
133 | gMC->SetProcess("BREM",1); | |
134 | gMC->SetProcess("MUNU",1); | |
135 | gMC->SetProcess("CKOV",1); | |
136 | gMC->SetProcess("HADR",0); | |
137 | gMC->SetProcess("LOSS",2); | |
138 | gMC->SetProcess("MULS",1); | |
139 | gMC->SetProcess("RAYL",1); | |
140 | ||
141 | Float_t cut = 1.e-3; // 1MeV cut by default | |
142 | Float_t tofmax = 1.e10; | |
143 | ||
144 | gMC->SetCut("CUTGAM", cut); | |
145 | gMC->SetCut("CUTELE", cut); | |
146 | gMC->SetCut("CUTNEU", cut); | |
147 | gMC->SetCut("CUTHAD", cut); | |
148 | gMC->SetCut("CUTMUO", cut); | |
149 | gMC->SetCut("BCUTE", cut); | |
150 | gMC->SetCut("BCUTM", cut); | |
151 | gMC->SetCut("DCUTE", cut); | |
152 | gMC->SetCut("DCUTM", cut); | |
153 | gMC->SetCut("PPCUTM", cut); | |
154 | gMC->SetCut("TOFMAX", tofmax); | |
155 | ||
156 | // Special generation for Valgrind tests | |
157 | // Each detector is fired by few particles selected | |
158 | // to cover specific cases | |
159 | ||
160 | ||
161 | // The cocktail itself | |
02d6eccc | 162 | |
4f976c08 | 163 | if (generatorFlag==0) { |
164 | // Fast generator with parametrized pi,kaon,proton distributions | |
165 | ||
ee58ce21 | 166 | int nParticles = 100;//14022; |
4f976c08 | 167 | AliGenHIJINGpara *gener = new AliGenHIJINGpara(nParticles); |
168 | gener->SetMomentumRange(0.1, 10.); | |
169 | gener->SetPhiRange(0., 360.); | |
170 | Float_t thmin = EtaToTheta(2.5); // theta min. <---> eta max | |
171 | Float_t thmax = EtaToTheta(-2.5); // theta max. <---> eta min | |
172 | gener->SetThetaRange(thmin,thmax); | |
173 | gener->SetOrigin(0, 0, 0); //vertex position | |
174 | gener->SetSigma(0, 0, 0); //Sigma in (X,Y,Z) (cm) on IP position | |
175 | gener->Init(); | |
176 | ||
177 | } else if (generatorFlag==1) { | |
178 | ||
179 | // Pure HiJing generator adapted to ~2000dNdy at highest energy | |
180 | ||
181 | AliGenHijing *generHijing = new AliGenHijing(-1); | |
182 | generHijing->SetEnergyCMS(5500.); // GeV | |
183 | generHijing->SetImpactParameterRange(0,2); | |
184 | generHijing->SetReferenceFrame("CMS"); | |
185 | generHijing->SetProjectile("A", 208, 82); | |
186 | generHijing->SetTarget ("A", 208, 82); | |
187 | generHijing->KeepFullEvent(); | |
188 | generHijing->SetJetQuenching(1); | |
189 | generHijing->SetShadowing(1); | |
190 | generHijing->SetSpectators(0); | |
191 | generHijing->SetSelectAll(0); | |
192 | generHijing->SetPtHardMin(4.5); | |
193 | ||
194 | AliGenerator* gener = generHijing; | |
195 | gener->SetSigma(0, 0, 6); // Sigma in (X,Y,Z) (cm) on IP position | |
196 | gener->SetVertexSmear(kPerEvent); | |
197 | gener->Init(); | |
198 | ||
199 | } | |
02d6eccc | 200 | |
201 | // | |
202 | // Activate this line if you want the vertex smearing to happen | |
203 | // track by track | |
204 | // | |
205 | //VertexSmear_t perTrack; | |
206 | //gener->SetVertexSmear(perTrack); | |
207 | // Field (L3 0.5 T) | |
208 | //AliMagF* field = new AliMagF("map","map",2, -1.,1., 15, AliMagF::k5kGUniform); | |
209 | //TGeoGlobalMagField::Instance()->SetField(field); | |
210 | TGeoGlobalMagField::Instance()->SetField(new AliMagF("Maps","Maps", -1., -1., AliMagF::k5kG)); | |
211 | ||
d0674db6 | 212 | Int_t iABSO = 0; |
213 | Int_t iDIPO = 0; | |
214 | Int_t iFMD = 0; | |
215 | Int_t iFRAME = 0; | |
216 | Int_t iHALL = 0; | |
02d6eccc | 217 | Int_t iITS = 1; |
d0674db6 | 218 | Int_t iMAG = 0; |
219 | Int_t iMUON = 0; | |
220 | Int_t iPHOS = 0; | |
4f976c08 | 221 | Int_t iPIPE = 1; |
d0674db6 | 222 | Int_t iPMD = 0; |
223 | Int_t iHMPID = 0; | |
224 | Int_t iSHIL = 0; | |
225 | Int_t iT0 = 0; | |
226 | Int_t iTOF = 0; | |
32d38de2 | 227 | Int_t iTPC = 1; |
d0674db6 | 228 | Int_t iTRD = 0; |
229 | Int_t iZDC = 0; | |
230 | Int_t iEMCAL = 0; | |
231 | Int_t iACORDE= 0; | |
232 | Int_t iVZERO = 0; | |
02d6eccc | 233 | rl->CdGAFile(); |
234 | //=================== Alice BODY parameters ============================= | |
235 | AliBODY *BODY = new AliBODY("BODY", "Alice envelop"); | |
236 | ||
237 | if (iMAG) | |
238 | { | |
239 | //=================== MAG parameters ============================ | |
240 | // --- Start with Magnet since detector layouts may be depending --- | |
241 | // --- on the selected Magnet dimensions --- | |
242 | AliMAG *MAG = new AliMAG("MAG", "Magnet"); | |
243 | } | |
244 | ||
245 | ||
246 | if (iABSO) | |
247 | { | |
248 | //=================== ABSO parameters ============================ | |
249 | AliABSO *ABSO = new AliABSOv3("ABSO", "Muon Absorber"); | |
250 | } | |
251 | ||
252 | if (iDIPO) | |
253 | { | |
254 | //=================== DIPO parameters ============================ | |
255 | ||
256 | AliDIPO *DIPO = new AliDIPOv3("DIPO", "Dipole version 3"); | |
257 | } | |
258 | ||
259 | if (iHALL) | |
260 | { | |
261 | //=================== HALL parameters ============================ | |
262 | ||
263 | AliHALL *HALL = new AliHALLv3("HALL", "Alice Hall"); | |
264 | } | |
265 | ||
266 | ||
267 | if (iFRAME) | |
268 | { | |
269 | //=================== FRAME parameters ============================ | |
270 | ||
271 | AliFRAMEv2 *FRAME = new AliFRAMEv2("FRAME", "Space Frame"); | |
272 | FRAME->SetHoles(1); | |
273 | } | |
274 | ||
275 | if (iSHIL) | |
276 | { | |
277 | //=================== SHIL parameters ============================ | |
278 | ||
279 | AliSHIL *SHIL = new AliSHILv3("SHIL", "Shielding Version 3"); | |
280 | } | |
281 | ||
282 | ||
283 | if (iPIPE) | |
284 | { | |
285 | //=================== PIPE parameters ============================ | |
286 | ||
4f976c08 | 287 | AliPIPE *PIPE = new AliPIPEupgrade("PIPE", "Beam Pipe",0,1.8,0.08,40.0); |
288 | //AliPIPE *PIPE = new AliPIPEv3("PIPE", "Beam Pipe"); | |
02d6eccc | 289 | } |
290 | ||
291 | if (iITS) | |
292 | { | |
293 | //=================== ITS parameters ============================ | |
294 | // | |
ee58ce21 | 295 | const int kDiodShift_NCol_M32terP31 = 2; |
296 | const int kDiodShift_NRow_M32terP31 = 1; | |
297 | ||
298 | const double kDiodShiftM32terP31X[ kDiodShift_NCol_M32terP31 ][ kDiodShift_NRow_M32terP31 ] = {0.30,-0.19}; | |
299 | const double kDiodShiftM32terP31Z[ kDiodShift_NCol_M32terP31 ][ kDiodShift_NRow_M32terP31 ] = {0.0 , 0.0 }; | |
02d6eccc | 300 | // create segmentations: |
301 | AliITSUSegmentationPix* seg0 = new AliITSUSegmentationPix(0, // segID (0:9) | |
302 | 5, // chips per module | |
d0674db6 | 303 | 1500, // ncols (total for module) |
29ad4146 | 304 | 350, //835, // nrows |
305 | 33.e-4, // default row pitch in cm | |
29f5e263 | 306 | 20.e-4, // default col pitch in cm |
29ad4146 | 307 | 18.e-4 // sensor thickness in cm |
02d6eccc | 308 | ); // see AliITSUSegmentationPix.h for extra options |
ee58ce21 | 309 | seg0->SetDiodShiftMatrix(kDiodShift_NRow_M32terP31,kDiodShift_NCol_M32terP31, &kDiodShiftM32terP31X[0][0], &kDiodShiftM32terP31Z[0][0]); |
02d6eccc | 310 | seg0->Store(AliITSUGeomTGeo::GetITSsegmentationFileName()); |
311 | AliITSUSegmentationPix* seg1 = new AliITSUSegmentationPix(1, // segID (0:9) | |
d0674db6 | 312 | 5*2, // chips per module |
313 | 1500, // ncols (total for module) | |
29ad4146 | 314 | 700,//835, // nrows |
315 | 33.e-4, // default row pitch in cm | |
29f5e263 | 316 | 20.e-4, // default col pitch in cm |
29ad4146 | 317 | 18.e-4 // sensor thickness in cm |
02d6eccc | 318 | ); // see AliITSUSegmentationPix.h for extra options |
ee58ce21 | 319 | seg1->SetDiodShiftMatrix(kDiodShift_NRow_M32terP31,kDiodShift_NCol_M32terP31, &kDiodShiftM32terP31X[0][0], &kDiodShiftM32terP31Z[0][0]); |
02d6eccc | 320 | seg1->Store(AliITSUGeomTGeo::GetITSsegmentationFileName()); |
d0674db6 | 321 | AliITSUSegmentationPix* seg2 = new AliITSUSegmentationPix(2, // segID (0:9) |
322 | 5*2, // chips per module | |
323 | 1500, // ncols (total for module) | |
29ad4146 | 324 | 700,//835, // nrows |
325 | 33.e-4, // default row pitch in cm | |
29f5e263 | 326 | 20.e-4, // default col pitch in cm |
29ad4146 | 327 | 18.e-4 // sensor thickness in cm |
d0674db6 | 328 | ); // see AliITSUSegmentationPix.h for extra options |
ee58ce21 | 329 | seg2->SetDiodShiftMatrix(kDiodShift_NRow_M32terP31,kDiodShift_NCol_M32terP31, &kDiodShiftM32terP31X[0][0], &kDiodShiftM32terP31Z[0][0]); |
d0674db6 | 330 | seg2->Store(AliITSUGeomTGeo::GetITSsegmentationFileName()); |
02d6eccc | 331 | // |
332 | int nmod,nlad; // modules per ladded, n ladders | |
d0674db6 | 333 | // sum of insensitive boarder around module (in cm) |
334 | Float_t deadX = 0.1; // on each side | |
335 | Float_t deadZ = 0.01; // on each side | |
d0674db6 | 336 | double tilt = 10.; double thickLr = 0.05; |
337 | // virtual void DefineLayerTurbo(const Int_t nlay, const Double_t r, const Double_t zlen, const Int_t nladd, const Int_t nmod, const Double_t width, | |
338 | // const Double_t tilt, const Double_t lthick = 0., const Double_t dthick = 0., const UInt_t detType=0); | |
02d6eccc | 339 | AliITSUv11 *ITS = new AliITSUv11("ITS Upgrade",7); |
d0674db6 | 340 | nmod = 9; |
341 | nlad = 12; | |
5d49e153 | 342 | ITS->DefineLayerTurbo(0,0., 2.2, nmod*(seg0->Dz()+deadZ*2), nlad, nmod, seg0->Dx()+deadX*2, tilt, thickLr, seg0->Dy(), seg0->GetDetTypeID()); |
d0674db6 | 343 | nmod = 9; |
344 | nlad = 16; | |
5d49e153 | 345 | ITS->DefineLayerTurbo(1,0., 2.8, nmod*(seg0->Dz()+deadZ*2), nlad, nmod, seg0->Dx()+deadX*2, tilt, thickLr, seg0->Dy(), seg0->GetDetTypeID()); |
d0674db6 | 346 | nmod = 9; |
347 | nlad = 20; | |
5d49e153 | 348 | ITS->DefineLayerTurbo(2,0., 3.6, nmod*(seg0->Dz()+deadZ*2), nlad, nmod, seg0->Dx()+deadX*2, tilt, thickLr, seg0->Dy(), seg0->GetDetTypeID()); |
d0674db6 | 349 | nmod = 29; |
350 | nlad = 48; | |
5d49e153 | 351 | ITS->DefineLayerTurbo(3,0., 20.0, nmod*(seg1->Dz()+deadZ*2), nlad, nmod, seg1->Dx()+deadX*2, tilt, thickLr, seg1->Dy(), seg1->GetDetTypeID()); |
d0674db6 | 352 | nmod = 29; |
353 | nlad = 48; | |
5d49e153 | 354 | ITS->DefineLayerTurbo(4,0., 22.0, nmod*(seg1->Dz()+deadZ*2), nlad, nmod, seg1->Dx()+deadX*2, tilt, thickLr, seg1->Dy(), seg1->GetDetTypeID()); |
d0674db6 | 355 | nmod = 50; |
356 | nlad = 94; | |
5d49e153 | 357 | ITS->DefineLayerTurbo(5,0., 40.0, nmod*(seg2->Dz()+deadZ*2), nlad, nmod, seg2->Dx()+deadX*2, tilt, thickLr, seg2->Dy(), seg2->GetDetTypeID()); //41 creates ovl! |
d0674db6 | 358 | nmod = 50; |
359 | nlad = 94; | |
5d49e153 | 360 | ITS->DefineLayerTurbo(6,0., 43.0, nmod*(seg2->Dz()+deadZ*2), nlad, nmod, seg2->Dx()+deadX*2, tilt, thickLr, seg2->Dy(), seg2->GetDetTypeID()); |
02d6eccc | 361 | // |
d0674db6 | 362 | |
02d6eccc | 363 | } |
364 | ||
365 | ||
366 | if (iTPC) | |
367 | { | |
368 | //============================ TPC parameters =================== | |
369 | AliTPC *TPC = new AliTPCv2("TPC", "Default"); | |
370 | } | |
371 | ||
372 | ||
373 | if (iTOF) { | |
374 | //=================== TOF parameters ============================ | |
375 | AliTOF *TOF = new AliTOFv6T0("TOF", "normal TOF"); | |
376 | } | |
377 | ||
378 | ||
379 | if (iHMPID) | |
380 | { | |
381 | //=================== HMPID parameters =========================== | |
382 | AliHMPID *HMPID = new AliHMPIDv3("HMPID", "normal HMPID"); | |
383 | ||
384 | } | |
385 | ||
386 | ||
387 | if (iZDC) | |
388 | { | |
389 | //=================== ZDC parameters ============================ | |
390 | ||
391 | AliZDC *ZDC = new AliZDCv3("ZDC", "normal ZDC"); | |
392 | } | |
393 | ||
394 | if (iTRD) | |
395 | { | |
396 | //=================== TRD parameters ============================ | |
397 | ||
398 | AliTRD *TRD = new AliTRDv1("TRD", "TRD slow simulator"); | |
399 | AliTRDgeometry *geoTRD = TRD->GetGeometry(); | |
400 | // Partial geometry: modules at 2,3,4,6,11,12,14,15 | |
401 | // starting at 6h in positive direction | |
402 | geoTRD->SetSMstatus(0,0); | |
403 | geoTRD->SetSMstatus(1,0); | |
404 | geoTRD->SetSMstatus(5,0); | |
405 | geoTRD->SetSMstatus(7,0); | |
406 | geoTRD->SetSMstatus(8,0); | |
407 | geoTRD->SetSMstatus(9,0); | |
408 | geoTRD->SetSMstatus(10,0); | |
409 | geoTRD->SetSMstatus(13,0); | |
410 | geoTRD->SetSMstatus(16,0); | |
411 | geoTRD->SetSMstatus(17,0); | |
412 | } | |
413 | ||
414 | if (iFMD) | |
415 | { | |
416 | //=================== FMD parameters ============================ | |
417 | AliFMD *FMD = new AliFMDv1("FMD", "normal FMD"); | |
418 | } | |
419 | ||
420 | if (iMUON) | |
421 | { | |
422 | //=================== MUON parameters =========================== | |
423 | // New MUONv1 version (geometry defined via builders) | |
424 | AliMUON *MUON = new AliMUONv1("MUON","default"); | |
425 | } | |
426 | //=================== PHOS parameters =========================== | |
427 | ||
428 | if (iPHOS) | |
429 | { | |
430 | AliPHOS *PHOS = new AliPHOSv1("PHOS", "IHEP"); | |
431 | } | |
432 | ||
433 | ||
434 | if (iPMD) | |
435 | { | |
436 | //=================== PMD parameters ============================ | |
437 | AliPMD *PMD = new AliPMDv1("PMD", "normal PMD"); | |
438 | } | |
439 | ||
440 | if (iT0) | |
441 | { | |
442 | //=================== T0 parameters ============================ | |
443 | AliT0 *T0 = new AliT0v1("T0", "T0 Detector"); | |
444 | } | |
445 | ||
446 | if (iEMCAL) | |
447 | { | |
448 | //=================== EMCAL parameters ============================ | |
449 | AliEMCAL *EMCAL = new AliEMCALv2("EMCAL", "EMCAL_COMPLETEV1"); | |
450 | } | |
451 | ||
452 | if (iACORDE) | |
453 | { | |
454 | //=================== ACORDE parameters ============================ | |
455 | AliACORDE *ACORDE = new AliACORDEv1("ACORDE", "normal ACORDE"); | |
456 | } | |
457 | ||
458 | if (iVZERO) | |
459 | { | |
460 | //=================== VZERO parameters ============================ | |
461 | AliVZERO *VZERO = new AliVZEROv7("VZERO", "normal VZERO"); | |
462 | } | |
463 | ||
464 | ||
465 | } | |
466 | ||
467 | Float_t EtaToTheta(Float_t arg){ | |
468 | return (180./TMath::Pi())*2.*atan(exp(-arg)); | |
469 | } |