f1fd6fdb |
1 | #ifndef ALIITSCORRECTSDDPOINTS_H |
2 | #define ALIITSCORRECTSDDPOINTS_H |
3 | /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ |
5 | |
6 | /* $Id$ */ |
7 | |
8 | /////////////////////////////////////////////////////////////////// |
9 | // // |
10 | // Class to apply SDD map corrections // |
11 | // for voltage divider shape and doping fluctuations // |
12 | // Origin: F.Prino, Torino, prino@to.infn.it // |
13 | // // |
14 | /////////////////////////////////////////////////////////////////// |
15 | |
cfe39822 |
16 | //#include "AliITSsegmentationSDD.h" |
17 | //#include "TObjArray.h" |
18 | |
19 | class AliITSsegmentationSDD; |
20 | class TObjArray; |
f1fd6fdb |
21 | |
22 | class AliITSCorrectSDDPoints : public TObject { |
23 | public: |
24 | AliITSCorrectSDDPoints(); |
8102b2c9 |
25 | AliITSCorrectSDDPoints(TObjArray* maps); |
f1fd6fdb |
26 | AliITSCorrectSDDPoints(TString filname); |
cfe39822 |
27 | void SetCorrectionMaps(const TObjArray *arr); |
f1fd6fdb |
28 | ~AliITSCorrectSDDPoints(); |
29 | Float_t GetCorrection(Int_t modId, Float_t zloc, Float_t xloc) const; |
30 | Float_t GetCorrectedXloc(Int_t modId, Float_t zloc, Float_t xloc) const{ |
31 | Float_t dx=GetCorrection(modId,zloc,xloc); |
0cefbbe4 |
32 | return xloc+dx; |
f1fd6fdb |
33 | } |
68ef91a5 |
34 | private: |
35 | AliITSCorrectSDDPoints(const AliITSCorrectSDDPoints& csdd); |
36 | AliITSCorrectSDDPoints& operator=(const AliITSCorrectSDDPoints& csdd); |
cfe39822 |
37 | |
f1fd6fdb |
38 | TObjArray* fArrayOfMaps; // 520 AliITSCorrMapSDD objects |
39 | AliITSsegmentationSDD* fSegmentationSDD; // SDD segmentation |
cfe39822 |
40 | ClassDef(AliITSCorrectSDDPoints,0) |
f1fd6fdb |
41 | }; |
42 | #endif |