switch to fill only events added
[u/mrichter/AliRoot.git] / AD / AliADv1.h
CommitLineData
5e319bd5 1#ifndef ALIADV1_H
2#define ALIADV1_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 : AD //
9//////////////////////////////////////////////////
10
11///////////////////////////////////////////////////////////////////////////
12// //
13// AD (ALICE Diffractive) Detector //
14// //
15// This class contains the base procedures for the AD detector //
16// Default geometry of 2013 //
17// All comments should be sent to : //
18// //
19// //
20///////////////////////////////////////////////////////////////////////////
21
22#include "AliAD.h"
23
24class AliADv1 : public AliAD {
25public:
26
27 AliADv1();
28 AliADv1(const char *name, const char *title);
29 virtual void AddAlignableVolumes() const;
30 virtual ~AliADv1();
31
32
33 virtual TString Version() { return TString("v1"); }
34 virtual Int_t IsVersion() const { return 1; }
35 virtual void AddHit(Int_t track, Int_t *vol, Float_t *hits);
36 virtual void AddDigits(Int_t* track, Int_t module, Float_t time);
37 virtual void MakeBranch(Option_t *option);
38 virtual void CreateGeometry();
39 virtual void Init();
40 virtual void StepManager();
41
42protected:
43
44 // functions for ADA and ADC
45 virtual void CreateAD();
46
47private:
48 //! ADC Geometrical & Optical parameters :
49
50 Double_t fADCLightYield; //! Lightyield in NE102
51 Double_t fADCPhotoCathodeEfficiency;
52
53 //! ADA Geometrical & Optical parameters :
54
55 Double_t fADALightYield; //! Lightyield in NE102
56 Double_t fADAPhotoCathodeEfficiency;
57
58
59 AliADv1(const AliAD&);
60 AliADv1& operator = (const AliADv1&);
61
62 ClassDef(AliADv1, 1) //!Class for the AD detector
63
64};
65
66
67#endif