Use 1kHz sampling as default.
[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"
662a53e9 21#include "AliVZEROTrigger.h"
b2501ea3 22
23class TNamed;
24class TTree;
47890cd3 25
b2501ea3 26class AliVZEROLoader;
61874e87 27class AliVZEROhit;
f359b593 28class AliVZEROdigit;
29
47890cd3 30class AliVZERO : public AliDetector {
31
32public:
33
0b2bea8b 34 AliVZERO();
47890cd3 35 AliVZERO(const char *name, const char *title);
61874e87 36 virtual ~AliVZERO();
a4b900be 37
47890cd3 38 virtual void CreateGeometry();
39 virtual void CreateMaterials();
45b81649 40 virtual void AddAlignableVolumes() const {}
47890cd3 41 virtual Int_t IsVersion() const = 0;
42 virtual void Init();
4dbb3fd3 43 virtual AliLoader* MakeLoader(const char* topfoldername);
b0d2c2d3 44 virtual void Hits2Digits();
72da5ce8 45 virtual void Hits2SDigits();
b0d2c2d3 46 virtual void Digits2Raw();
20a489c2 47 virtual Bool_t Raw2SDigits(AliRawReader*);
0e305a84 48 virtual void SetTreeAddress();
61874e87 49 virtual void MakeBranch(Option_t *option) =0;
ba380e33 50 virtual void DrawModule() const {};
47890cd3 51 virtual void StepManager() {};
662a53e9 52// Trigger
53 virtual AliTriggerDetector* CreateTriggerDetector() const
54 { return new AliVZEROTrigger(); }
55
b2501ea3 56 virtual void SetThickness(Float_t thick) {fThickness = thick;};
57 virtual void SetThickness1(Float_t thick) {fThickness1 = thick;};
47890cd3 58// Set Stepping Parameters
59 virtual void SetMaxStepQua(Float_t p1);
60 virtual void SetMaxStepAlu(Float_t p1);
61 virtual void SetMaxDestepQua(Float_t p1);
62 virtual void SetMaxDestepAlu(Float_t p1);
63
b0d2c2d3 64 AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
65
47890cd3 66protected:
67
b2501ea3 68 Int_t fIdSens1; // Sensitive volume in VZERO
69 Float_t fThickness; // Total thickness of box holding Right detector V0R i.e. 4.1 cm
70 Float_t fThickness1; // Thickness of elementary cells i.e. 0.7 cm
47890cd3 71
72// Stepping Parameters
b2501ea3 73 Float_t fMaxStepQua; // Maximum step size inside the quartz volumes
74 Float_t fMaxStepAlu; // Maximum step size inside the aluminum volumes
75 Float_t fMaxDestepQua; // Maximum relative energy loss in quartz
76 Float_t fMaxDestepAlu; // Maximum relative energy loss in aluminum
47890cd3 77
78 ClassDef(AliVZERO,1) //Class for the VZERO detector
79};
80
81//____________________________________________________________
82
83#endif