MC-dependent part of AliRun extracted in AliMC (F.Carminati)
[u/mrichter/AliRoot.git] / VZERO / AliVZERO.h
CommitLineData
47890cd3 1#ifndef VZERO_H
2#define VZERO_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7//////////////////////////////////////////////////
8// Manager and hits classes for set : VZERO //
9//////////////////////////////////////////////////
4dbb3fd3 10
11#include "AliRun.h"
12#include "AliLoader.h"
47890cd3 13#include "AliDetector.h"
14#include "AliHit.h"
15#include "TNamed.h"
16#include "TTree.h"
17
61874e87 18class AliVZEROhit;
47890cd3 19
20class AliVZERO : public AliDetector {
21
22public:
23
24 AliVZERO() {}
25 AliVZERO(const char *name, const char *title);
61874e87 26 virtual ~AliVZERO();
27// virtual void AddHit(Int_t track , Int_t *vol, Float_t *hits)=0;
28// virtual void AddDigits(Int_t* tracks, Int_t* digits)=0;
47890cd3 29 virtual void BuildGeometry();
30 virtual void CreateGeometry();
31 virtual void CreateMaterials();
32 virtual Int_t DistanceToPrimitive(Int_t px, Int_t py);
33 virtual Int_t IsVersion() const = 0;
34 virtual void Init();
4dbb3fd3 35 virtual AliLoader* MakeLoader(const char* topfoldername);
0e305a84 36 virtual void SetTreeAddress();
61874e87 37 virtual void MakeBranch(Option_t *option) =0;
47890cd3 38 virtual void DrawModule() {};
39 virtual void StepManager() {};
40 virtual inline void SetThickness(Float_t thick) {fThickness = thick;};
41 virtual inline void SetThickness1(Float_t thick) {fThickness1 = thick;};
42// Set Stepping Parameters
43 virtual void SetMaxStepQua(Float_t p1);
44 virtual void SetMaxStepAlu(Float_t p1);
45 virtual void SetMaxDestepQua(Float_t p1);
46 virtual void SetMaxDestepAlu(Float_t p1);
47
47890cd3 48 Float_t fThickness;
49 Float_t fThickness1;
50
51protected:
52
53 Int_t fIdSens1;
54
55// Stepping Parameters
56 Float_t fMaxStepQua; // Maximum step size inside the quartz volumes
57 Float_t fMaxStepAlu; // Maximum step size inside the aluminum volumes
58 Float_t fMaxDestepQua; // Maximum relative energy loss in quartz
59 Float_t fMaxDestepAlu; // Maximum relative energy loss in aluminum
60
61 ClassDef(AliVZERO,1) //Class for the VZERO detector
62};
63
64//____________________________________________________________
65
66#endif