Time dynamics changed to 100 ps per channel
[u/mrichter/AliRoot.git] / VZERO / AliVZERO.h
CommitLineData
f359b593 1#ifndef ALIVZERO_H
2#define ALIVZERO_H
47890cd3 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
b2501ea3 11/*
4dbb3fd3 12#include "AliRun.h"
f359b593 13#include "AliMC.h"
47890cd3 14#include "AliDetector.h"
f359b593 15#include "AliVZEROLoader.h"
16
17#include <TNamed.h>
18#include <TTree.h>
b2501ea3 19*/
20#include "AliDetector.h"
21
22class TNamed;
23class TTree;
47890cd3 24
b2501ea3 25class AliVZEROLoader;
61874e87 26class AliVZEROhit;
f359b593 27class AliVZEROdigit;
28
47890cd3 29class AliVZERO : public AliDetector {
30
31public:
32
33 AliVZERO() {}
34 AliVZERO(const char *name, const char *title);
61874e87 35 virtual ~AliVZERO();
36// virtual void AddHit(Int_t track , Int_t *vol, Float_t *hits)=0;
37// virtual void AddDigits(Int_t* tracks, Int_t* digits)=0;
47890cd3 38 virtual void BuildGeometry();
39 virtual void CreateGeometry();
40 virtual void CreateMaterials();
41 virtual Int_t DistanceToPrimitive(Int_t px, Int_t py);
42 virtual Int_t IsVersion() const = 0;
43 virtual void Init();
4dbb3fd3 44 virtual AliLoader* MakeLoader(const char* topfoldername);
b0d2c2d3 45 virtual void Hits2Digits();
46 virtual void Digits2Raw();
0e305a84 47 virtual void SetTreeAddress();
61874e87 48 virtual void MakeBranch(Option_t *option) =0;
ba380e33 49 virtual void DrawModule() const {};
47890cd3 50 virtual void StepManager() {};
b2501ea3 51 virtual void SetThickness(Float_t thick) {fThickness = thick;};
52 virtual void SetThickness1(Float_t thick) {fThickness1 = thick;};
47890cd3 53// Set Stepping Parameters
54 virtual void SetMaxStepQua(Float_t p1);
55 virtual void SetMaxStepAlu(Float_t p1);
56 virtual void SetMaxDestepQua(Float_t p1);
57 virtual void SetMaxDestepAlu(Float_t p1);
58
b0d2c2d3 59 AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
60
47890cd3 61protected:
62
b2501ea3 63 Int_t fIdSens1; // Sensitive volume in VZERO
64 Float_t fThickness; // Total thickness of box holding Right detector V0R i.e. 4.1 cm
65 Float_t fThickness1; // Thickness of elementary cells i.e. 0.7 cm
47890cd3 66
67// Stepping Parameters
b2501ea3 68 Float_t fMaxStepQua; // Maximum step size inside the quartz volumes
69 Float_t fMaxStepAlu; // Maximum step size inside the aluminum volumes
70 Float_t fMaxDestepQua; // Maximum relative energy loss in quartz
71 Float_t fMaxDestepAlu; // Maximum relative energy loss in aluminum
47890cd3 72
73 ClassDef(AliVZERO,1) //Class for the VZERO detector
74};
75
76//____________________________________________________________
77
78#endif