]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONReconstHit.cxx
Global transformation correction (ivana)
[u/mrichter/AliRoot.git] / MUON / AliMUONReconstHit.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16 /* $Id$ */
17
18 #include "AliMUONReconstHit.h"
19
20 ClassImp(AliMUONReconstHit)
21
22 //_____________________________________________________________________________
23 AliMUONReconstHit::AliMUONReconstHit() 
24   : TObject()
25 {
26 // Default constructor
27
28   fCorrelIndex[0]=fCorrelIndex[1]=fCorrelIndex[2]=fCorrelIndex[3]=0;
29   fX[0]=fX[1]=fX[2]=fX[3]=0; fY[0]=fY[1]=fY[2]=fY[3]=0; 
30 }
31
32 //_____________________________________________________________________________
33 AliMUONReconstHit::AliMUONReconstHit(Int_t *idx, Float_t *x, Float_t *y)
34   : TObject()
35 {
36     //
37     // Creates a MUON correlation object
38     //
39     for(Int_t i=0; i<4; i++) {
40         fCorrelIndex[i]  = idx[i];
41         fX[i]    = x[i];
42         fY[i]    = y[i];
43     }
44 }