]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONReconstHit.cxx
Remove delete from class destructor (Ch. Finck)
[u/mrichter/AliRoot.git] / MUON / AliMUONReconstHit.cxx
CommitLineData
a9e2aefa 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
88cb7938 16/* $Id$ */
a9e2aefa 17
18#include "AliMUONReconstHit.h"
19
20ClassImp(AliMUONReconstHit)
30178c30 21
22//_____________________________________________________________________________
23AliMUONReconstHit::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
a9e2aefa 32//_____________________________________________________________________________
33AliMUONReconstHit::AliMUONReconstHit(Int_t *idx, Float_t *x, Float_t *y)
30178c30 34 : TObject()
a9e2aefa 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}