Fixes for Coverity warnings (M. van Leeuwen)
[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();
8102b2c9 22 AliITSCorrectSDDPoints(TObjArray* maps);
f1fd6fdb 23 AliITSCorrectSDDPoints(TString filname);
8102b2c9 24 void SetCorrectionMaps(TObjArray *arr);
f1fd6fdb 25 ~AliITSCorrectSDDPoints();
26 Float_t GetCorrection(Int_t modId, Float_t zloc, Float_t xloc) const;
27 Float_t GetCorrectedXloc(Int_t modId, Float_t zloc, Float_t xloc) const{
28 Float_t dx=GetCorrection(modId,zloc,xloc);
0cefbbe4 29 return xloc+dx;
f1fd6fdb 30 }
68ef91a5 31 private:
32 AliITSCorrectSDDPoints(const AliITSCorrectSDDPoints& csdd);
33 AliITSCorrectSDDPoints& operator=(const AliITSCorrectSDDPoints& csdd);
f1fd6fdb 34 protected:
35 TObjArray* fArrayOfMaps; // 520 AliITSCorrMapSDD objects
36 AliITSsegmentationSDD* fSegmentationSDD; // SDD segmentation
37 ClassDef(AliITSCorrectSDDPoints,0);
38};
39#endif