prevent running if CDB snapshot setting failed
[u/mrichter/AliRoot.git] / STEER / STEER / AliMisAligner.h
CommitLineData
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
8class TClonesArray;
9class 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
15class 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