]> git.uio.no Git - u/mrichter/AliRoot.git/blame - VZERO/AliVZERO.cxx
Add Boost() method to boost all particles to LHC lab frame. Needed for asymmetric...
[u/mrichter/AliRoot.git] / VZERO / AliVZERO.cxx
CommitLineData
47890cd3 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16
17
18///////////////////////////////////////////////////////////////////////////
19// //
20// V-Zero Detector //
21// This class contains the base procedures for the VZERO detector //
22// All comments should be sent to Brigitte CHEYNIS : //
23// b.cheynis@ipnl.in2p3.fr // // //
24// //
25///////////////////////////////////////////////////////////////////////////
26
27#include <iostream.h>
28#include <fstream.h>
29
30#include "TMath.h"
31#include "TTUBE.h"
32#include "TNode.h"
33#include "TGeometry.h"
34#include "AliRun.h"
35#include "AliVZERO.h"
36#include "AliVZEROdigit.h"
37#include "AliMC.h"
38#include "AliVZEROhit.h"
39
40ClassImp(AliVZERO)
41
42
43//_____________________________________________________________________________
44AliVZERO::AliVZERO(const char *name, const char *title)
45 : AliDetector(name,title)
46{
47 //
48 // Standard constructor for VZERO Detector
49 //
50
51 fIshunt = 1 ; // All hits are associated with primary particles
52
53 fHits = new TClonesArray("AliVZEROhit",400) ;
54 fDigits = new TClonesArray("AliVZEROdigit",400) ;
55
56 fNhits = 0;
57 fNdigits = 0;
58 fNCerenkovs = 0;
59 fMulti = 0;
60 fThickness = 3.1; // total thickness of the V0R box
61 fThickness1 = 2.5; // thickness of the thickest quartz cell
62
63 fMaxStepQua = 0.05;
64 fMaxStepAlu = 0.01;
65
66 fMaxDestepQua = -1.0;
67 fMaxDestepAlu = -1.0;
68
69 SetMarkerColor(kRed);
70 }
71
72//_____________________________________________________________________________
73void AliVZERO::BuildGeometry()
74{
75 //
76 // Build simple ROOT TNode geometry for event display
77 //
78}
79
80//_____________________________________________________________________________
81void AliVZERO::CreateGeometry()
82{
83 //
84 // Build simple ROOT TNode geometry for event display
85 //
86}
87//_____________________________________________________________________________
88void AliVZERO::CreateMaterials()
89{
90 //
91 // Build simple ROOT TNode geometry for event display
92 //
93}
94//_____________________________________________________________________________
95Int_t AliVZERO::DistanceToPrimitive(Int_t px, Int_t py)
96{
97 //
98 // Calculate the distance from the mouse to the VZERO on the screen
99 // Dummy routine
100 //
101
102 return 9999;
103}
104
105//-------------------------------------------------------------------------
106void AliVZERO::Init()
107{
108 //
109 // Initialise the VZERO after it has been built
110 //
111}
112
113//-------------------------------------------------------------------------
114
115void AliVZERO::SetMaxStepQua(Float_t p1)
116{
117 fMaxStepQua = p1;
118}
119
120//___________________________________________
121void AliVZERO::SetMaxStepAlu(Float_t p1)
122{
123 fMaxStepAlu = p1;
124}
125
126//___________________________________________
127void AliVZERO::SetMaxDestepQua(Float_t p1)
128{
129 fMaxDestepQua = p1;
130}
131
132//___________________________________________
133void AliVZERO::SetMaxDestepAlu(Float_t p1)
134{
135 fMaxDestepAlu = p1;
136}