1 #ifndef ALIPHOSSURVEY_H
2 #define ALIPHOSSURVEY_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 /* History of cvs commits:
22 class AliPHOSGeometry;
25 Objects of this class read txt file with survey (photogrammetry) data
26 and convert the data into AliAlignObjAngles of alignable PHOS volumes.
27 It can be used as a base class, you need to override GetStripTransformation.
28 AliPHOSSurvey inherits TObject only to use AliLog "functions".
31 class AliPHOSSurvey : public TObject {
34 AliPHOSSurvey(const TString &txtFileName);
36 //Create AliAlignObjAngles for strips.
37 void CreateAliAlignObjAngles(TClonesArray &array);
38 //Create AliAlignObjAngles with null shifts and rotations.
39 void CreateNullObjects(TClonesArray &, const AliPHOSGeometry *)const;
42 struct Transformation_t {
52 //Calculate shifts and rotations for strip number stripIndex in a module moduleIndex.
53 virtual Transformation_t GetStripTransformation(Int_t stripIndex, Int_t moduleIndex)const;
55 AliPHOSSurvey(const AliPHOSSurvey &);
56 AliPHOSSurvey &operator = (const AliPHOSSurvey &);
59 std::vector<Transformation_t> fStripData; // Strip unit transformation data
61 ClassDef(AliPHOSSurvey, 1) //Survey data reader