New class to apply SDD correction maps after reconstruction (for alignment purposes...
[u/mrichter/AliRoot.git] / ITS / AliITSCorrectSDDPoints.h
CommitLineData
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
16#include "AliITSsegmentationSDD.h"
17#include "TObjArray.h"
18
19class AliITSCorrectSDDPoints : public TObject {
20 public:
21 AliITSCorrectSDDPoints();
22 AliITSCorrectSDDPoints(TString filname);
23 ~AliITSCorrectSDDPoints();
24 Float_t GetCorrection(Int_t modId, Float_t zloc, Float_t xloc) const;
25 Float_t GetCorrectedXloc(Int_t modId, Float_t zloc, Float_t xloc) const{
26 Float_t dx=GetCorrection(modId,zloc,xloc);
27 return xloc-dx;
28 }
29 protected:
30 TObjArray* fArrayOfMaps; // 520 AliITSCorrMapSDD objects
31 AliITSsegmentationSDD* fSegmentationSDD; // SDD segmentation
32 ClassDef(AliITSCorrectSDDPoints,0);
33};
34#endif