Script to create a random bad channel map.
[u/mrichter/AliRoot.git] / VZERO / AliVZEROv3.h
CommitLineData
f9721da6 1#ifndef ALIVZEROV3_H
2#define ALIVZEROV3_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// //
9// Manager and hits classes for set : VZERO //
10// version 3 //
11// //
12///////////////////////////////////////////////////
13
14#include "TLorentzVector.h"
15#include "AliVZERO.h"
16
17class AliVZEROv3 : public AliVZERO {
18
19public:
20 AliVZEROv3();
21 AliVZEROv3(const char *name, const char *title);
22 virtual ~AliVZEROv3() {}
23 virtual void AddHit(Int_t track, Int_t *vol, Float_t *hits);
24 virtual void AddDigits(Int_t *tracks, Int_t *digits);
25 virtual void CreateGeometry();
26 virtual void BuildGeometry();
27 virtual void CreateMaterials();
ba380e33 28 virtual void DrawModule() const;
f9721da6 29 virtual void Init();
30 virtual void MakeBranch(Option_t *option);
31 virtual Int_t IsVersion() const {return 3;}
32 virtual void StepManager();
33 Int_t GetCellId(Int_t *vol, Float_t *hits);
34
35protected:
36 Int_t fCellId; // Scintillator cell number from 0 to 71
37 TLorentzVector fTrackPosition; // Position of particle entering cell
38 TLorentzVector fTrackMomentum; // Momentum of particle entering cell
39
40private:
41 Float_t fLightYield; // Lightyield in BC408 (93.75 eV per photon)
42 Float_t fLightAttenuation; // LightAttenuation in fibers (0.05 per meter)
43 Float_t fnMeters; // Number of meters of fibers to PM
44 Float_t fFibToPhot; // Loss in Fibers - Photocathode Connection
45
46 ClassDef(AliVZEROv3,1) //Class for VZERO version 3
47};
48
49#endif
50
51