]>
Commit | Line | Data |
---|---|---|
a5181344 | 1 | #ifndef ALI_MISALIGNER_H |
2 | #define ALI_MISALIGNER_H | |
3 | ||
4 | #include "TObject.h" | |
5 | #include "TString.h" | |
6 | #include "AliCDBMetaData.h" | |
7 | ||
8 | class TClonesArray; | |
9 | class AliCDBManager; | |
10 | ||
11 | // Base class for creating a TClonesArray of simulated misalignment objects | |
12 | // for a given subdetector of type ideal,residual or full | |
13 | // | |
14 | ||
15 | class AliMisAligner : public TObject { | |
16 | ||
17 | public: | |
18 | AliMisAligner(); | |
b93b3fea | 19 | virtual TClonesArray* MakeAlObjsArray() =0; |
a5181344 | 20 | virtual AliCDBMetaData* GetCDBMetaData() const =0; |
21 | void SetMisalType(const char* misalType) | |
22 | { | |
23 | fMisalType=misalType; | |
24 | } | |
25 | const char* GetMisalType() const | |
26 | { | |
27 | return fMisalType.Data(); | |
28 | } | |
29 | ||
30 | protected: | |
31 | TString fMisalType; | |
32 | ||
33 | private: | |
34 | ClassDef(AliMisAligner,0); | |
35 | }; | |
36 | ||
37 | #endif | |
38 |