Update of the ID Volumes acording to the DCS and Electronic nomenclature of ACORDE...
[u/mrichter/AliRoot.git] / ACORDE / AliACORDE.h
CommitLineData
b86e74f5 1#ifndef ALIACORDE_H
2#define ALIACORDE_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8////////////////////////////////////////////////
9// Manager class for detector: ACORDE //
10////////////////////////////////////////////////
11
12#include "AliDetector.h"
19f796ed 13#include "AliACORDELoader.h"
14#include "AliACORDEDigitizer.h"
15#include "AliACORDETrigger.h"
b86e74f5 16
17class AliACORDEModule;
18
19class AliACORDE : public AliDetector {
20public:
21 AliACORDE();
22 AliACORDE(const char* name, const char* title);
23 virtual ~AliACORDE();
24
25 virtual void CreateMaterials();
26
27 virtual Int_t IsVersion() const { return -1; }
28
29 virtual TString Version() { return TString(""); }
30
31 virtual void SetTreeAddress();
b86e74f5 32 virtual void MakeBranch(Option_t* opt = "");
33
19f796ed 34 virtual AliLoader* MakeLoader(const char* topfoldername);
35
36 AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
37
38 virtual AliTriggerDetector* CreateTriggerDetector() const
39 { return new AliACORDETrigger(); }
40
41 void Digits2Raw ();
6fb64ed1 42 virtual Bool_t Raw2SDigits(AliRawReader*);
43
19f796ed 44 virtual void SetCreateCavern(Bool_t b) {fCreateCavern = b;}
45 virtual void SetITSGeometry(Bool_t b) {fITSGeometry = b;}
46 virtual Bool_t GetCreateCavern() const {return fCreateCavern;}
47 virtual Bool_t GetITSGeometry() const {return fITSGeometry;}
48
b86e74f5 49private:
50 AliACORDE(const AliACORDE& crt);
51 AliACORDE& operator=(const AliACORDE& crt);
52
19f796ed 53 Bool_t fCreateCavern;
54 Bool_t fITSGeometry;
55
b86e74f5 56 ClassDef(AliACORDE, 1) // Cosmic Ray Trigger (ACORDE) base class
57};
2814d35e 58
59typedef AliACORDE AliCRT; // for backward compatibility
60
b86e74f5 61#endif // ALIACORDE_H