Separating well and badly reconstructed pileup vertices. Adding statistics of associa...
[u/mrichter/AliRoot.git] / ITS / AliITSCorrectSDDPoints.h
... / ...
CommitLineData
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 AliITSsegmentationSDD;
20class TObjArray;
21
22class AliITSCorrectSDDPoints : public TObject {
23 public:
24 AliITSCorrectSDDPoints();
25 AliITSCorrectSDDPoints(TObjArray* maps);
26 AliITSCorrectSDDPoints(TString filname);
27 void SetCorrectionMaps(const TObjArray *arr);
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);
32 return xloc+dx;
33 }
34 private:
35 AliITSCorrectSDDPoints(const AliITSCorrectSDDPoints& csdd);
36 AliITSCorrectSDDPoints& operator=(const AliITSCorrectSDDPoints& csdd);
37
38 TObjArray* fArrayOfMaps; // 520 AliITSCorrMapSDD objects
39 AliITSsegmentationSDD* fSegmentationSDD; // SDD segmentation
40 ClassDef(AliITSCorrectSDDPoints,0)
41};
42#endif