switch to fill only events added
[u/mrichter/AliRoot.git] / AD / AliAD.h
CommitLineData
5e319bd5 1#ifndef ALIAD_H
2#define ALIAD_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#include "AliDetector.h"
12#include "AliADLoader.h"
13#include "AliADDigitizer.h"
14#include "AliADTrigger.h"
15
16
17class AliAD : public AliDetector {
18
19public:
20
21 AliAD();
22 AliAD(const char *name, const char *title);
23 virtual ~AliAD();
24 virtual void CreateMaterials();
25 virtual Int_t IsVersion() const { return -1;}
26 virtual TString Version() { return TString("");}
27 virtual void SetTreeAddress();
28 virtual void MakeBranch(Option_t* opt = "");
29 virtual AliLoader* MakeLoader(const char* topfoldername);
30 AliDigitizer* CreateDigitizer(AliDigitizationInput* digInput) const;
31 virtual AliTriggerDetector* CreateTriggerDetector() const { return new AliADTrigger();}
32
33 virtual void Digits2Raw();
34 virtual Bool_t Raw2SDigits(AliRawReader*);
35 virtual void SetADAToInstalled(Bool_t b){fSetADAToInstalled = b;}
36 virtual void SetADCToInstalled(Bool_t b){fSetADCToInstalled = b;}
37 virtual Bool_t GetADAToInstalled() const {return fSetADAToInstalled;}
38 virtual Bool_t GetADCToInstalled() const {return fSetADCToInstalled;}
39
40
41private:
42 AliAD(const AliAD&);
43 AliAD& operator = (const AliAD&);
44 Bool_t fSetADAToInstalled;
45 Bool_t fSetADCToInstalled;
46
47
48 ClassDef(AliAD,1) // Base Class for the AD detector
49};
50
51#endif