]>
Commit | Line | Data |
---|---|---|
faf93237 | 1 | #ifndef ALI_CORRECTOR_H |
2 | #define ALI_CORRECTOR_H | |
3 | ||
4 | #include "TObject.h" | |
5 | ||
6 | class AliCorrector:public TObject { | |
7 | public: | |
8 | virtual ~AliCorrector() {}; | |
9 | virtual void Correct(const Double_t *position,Double_t *corrected)=0; | |
10 | virtual void CorrectInverse(const Double_t *position,Double_t *corrected) { | |
11 | Correct(position,corrected); | |
12 | for (Int_t i=0;i<3;++i) | |
13 | corrected[i]=position[i]-(corrected[i]-position[i]); | |
14 | } | |
15 | ClassDef(AliCorrector,1) | |
16 | }; | |
17 | ||
18 | #endif |