moved component registration to agent; added component configuration/initialization...
[u/mrichter/AliRoot.git] / T0 / AliT0Align.h
CommitLineData
a4c640e1 1#ifndef ALIT0ALIGN_H
2#define ALIT0ALIGN_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
9/////////////////////////////////////////////////////////////////////////
10// This class creates the alignment object from the surveyer data //
11// for the T0 //
12/////////////////////////////////////////////////////////////////////////
13#include "AliAlignObjParams.h"
14#include <TMatrixDfwd.h>
15#include <TMatrixT.h>
16
17class AliT0Align : public TObject {
18
19 public:
20 AliT0Align();
21 AliT0Align(Int_t reportloc, Int_t reportglob);
22 AliT0Align(const AliT0Align &align); // copy constructor
23 AliT0Align &operator = (const AliT0Align &align); //assignment operator
24 Bool_t LoadSurveyData();
25 Double_t ComputePosition();
26 void CreateAlignObj();
27 void Run();
28 void SetDebug(Int_t debug){debug=fDebug;}
29 void StoreAlignObj();
30 virtual ~AliT0Align();
31 //
32 private:
33
34 Char_t *fFileGlob; // file with surveyed points
35 AliAlignObjParams *fT0AAlignObj; // T0-A alignment object
36 AliAlignObjParams *fT0CAlignObj; // T0-C alignment object
37 Int_t fDebug; // debug flag
38 Float_t fXPos;
39 Float_t fYPos;
40 Int_t fRepLoc; // Location of the report: 0 - DCDB (Grid), 1,2 ... - file on local disc
41
42 ClassDef(AliT0Align,0);
43};
44#endif