This update contains the Full ACORDE Geometry and raw Data
[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 = "");
778dbce8 33 virtual void AddAlignableVolumes() const;
b86e74f5 34
19f796ed 35 virtual AliLoader* MakeLoader(const char* topfoldername);
36
37 AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
38
39 virtual AliTriggerDetector* CreateTriggerDetector() const
40 { return new AliACORDETrigger(); }
41
42 void Digits2Raw ();
6fb64ed1 43 virtual Bool_t Raw2SDigits(AliRawReader*);
44
19f796ed 45 virtual void SetCreateCavern(Bool_t b) {fCreateCavern = b;}
46 virtual void SetITSGeometry(Bool_t b) {fITSGeometry = b;}
47 virtual Bool_t GetCreateCavern() const {return fCreateCavern;}
48 virtual Bool_t GetITSGeometry() const {return fITSGeometry;}
49
b86e74f5 50private:
51 AliACORDE(const AliACORDE& crt);
52 AliACORDE& operator=(const AliACORDE& crt);
53
19f796ed 54 Bool_t fCreateCavern;
55 Bool_t fITSGeometry;
56
b86e74f5 57 ClassDef(AliACORDE, 1) // Cosmic Ray Trigger (ACORDE) base class
58};
2814d35e 59
60typedef AliACORDE AliCRT; // for backward compatibility
61
b86e74f5 62#endif // ALIACORDE_H