]>
Commit | Line | Data |
---|---|---|
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" | |
13 | #include "AliACORDELoader.h" | |
14 | #include "AliACORDEDigitizer.h" | |
15 | #include "AliACORDETrigger.h" | |
16 | ||
17 | class AliACORDEModule; | |
18 | ||
19 | class AliACORDE : public AliDetector { | |
20 | public: | |
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(); | |
32 | virtual void MakeBranch(Option_t* opt = ""); | |
33 | ||
34 | virtual AliLoader* MakeLoader(const char* topfoldername); | |
35 | ||
36 | AliDigitizer* CreateDigitizer(AliDigitizationInput* digInput) const; | |
37 | ||
38 | virtual AliTriggerDetector* CreateTriggerDetector() const | |
39 | { return new AliACORDETrigger(); } | |
40 | ||
41 | void Digits2Raw (); | |
42 | virtual Bool_t Raw2SDigits(AliRawReader*); | |
43 | ||
44 | virtual void SetCreateCavern(Bool_t b) {fCreateCavern = b;} | |
45 | virtual void Set4CentralModulesGeometry(Bool_t b) {f4CentralModulesGeometry = b;} | |
46 | virtual Bool_t GetCreateCavern() const {return fCreateCavern;} | |
47 | virtual Bool_t Get4CentralModulesGeometry() const {return f4CentralModulesGeometry;} | |
48 | ||
49 | private: | |
50 | AliACORDE(const AliACORDE& crt); | |
51 | AliACORDE& operator=(const AliACORDE& crt); | |
52 | ||
53 | Bool_t fCreateCavern; | |
54 | Bool_t f4CentralModulesGeometry; | |
55 | ||
56 | ClassDef(AliACORDE, 1) // Cosmic Ray Trigger (ACORDE) base class | |
57 | }; | |
58 | ||
59 | typedef AliACORDE AliCRT; // for backward compatibility | |
60 | ||
61 | #endif // ALIACORDE_H |