LCOV - code coverage report
Current view: top level - T0/T0base - AliT0Align.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 1 100.0 %
Date: 2016-06-14 17:26:59 Functions: 1 5 20.0 %

          Line data    Source code
       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             : 
      17             : // Class creating the T0 aligmnent objects
      18             : // from the surveys done by surveyers at Point2.
      19             : // Position of T0 alignment objects is computed.
      20             : 
      21             : class AliT0Align : public TObject {
      22             : 
      23             :  public:
      24             :   AliT0Align();
      25             :   AliT0Align(Int_t reportloc, Int_t side, Int_t reportglob); 
      26             :   // reportloc - location of the report: 0 - DCDB (Grid), 1,2 ... - file on local disc
      27             :   // side - side in ALICE: 0 - A-side or 1 - C-side
      28             :   // reportglob - EDMS number of the survey report
      29             :   AliT0Align(const AliT0Align &align); // copy constructor
      30             :   AliT0Align &operator = (const AliT0Align &align); //assignment operator
      31             :   virtual   ~AliT0Align();
      32             :   // void SetDebug(Int_t debug){debug=fDebug;}
      33             :   Bool_t LoadSurveyData();
      34             :   Double_t ComputePosition();
      35             :   void CreateAlignObj();
      36             :   void Run();
      37             :   void StoreAlignObj();
      38             :   //
      39             :  private:
      40             : 
      41             :   Char_t *fFileGlob;                  // file with surveyed points
      42             :   AliAlignObjParams *fT0AAlignObj;  // T0-A alignment object
      43             :   AliAlignObjParams *fT0CAlignObj;  // T0-C alignment object
      44             :   Int_t fDebug;                     // debug flag
      45             :   Float_t fXPosC;                   // "x" coordinate of T0-C with respect to Global Reference System  
      46             :   Float_t fYPosC;                   // "y" coordinate of T0-C with respect to Global Reference System
      47             :   Float_t fXPosA;                    // "x" coordinate of T0-A with respect to Global Reference System
      48             :   Float_t fYPosA;                    // "y" coordinate of T0-A with respect to Global Reference System
      49             : 
      50             :   Int_t fRepLoc;                    // Location of the report: 0 - DCDB (Grid), 1,2 ... - file on local disc    
      51             :   Int_t fRepGlob;                   // Number of the survey report      
      52             :   Int_t fSide;                      // Side in ALICE: 0: A-side or 1: C-side    
      53             :   Char_t *fUser;                    // AliEn user
      54             : 
      55          20 :   ClassDef(AliT0Align,0);
      56             : };
      57             : #endif

Generated by: LCOV version 1.11