1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 Revision 1.4 2002/10/09 15:00:17 gamez
19 Bad operator= implementation on gcc-3.2 (Yves SCHUTZ)
21 Revision 1.3 2002/10/07 11:19:18 gamez
22 Changes requested by coding conventions
24 Revision 1.2 2002/07/25 21:27:22 gamez
25 Variables renamed to avoid floating exceptions
29 #include "AliCRThit.h"
33 //____________________________________________________________________________
34 AliCRThit::AliCRThit()
37 // default ctor for AliCRThit object
56 for (Int_t i = 0; i < 5; i++ ) {
63 //____________________________________________________________________________
64 AliCRThit::AliCRThit(const AliCRThit & hit)
77 fMedium = hit.fMedium;
80 fCRTMod = hit.fCRTMod;
81 fCRTMag = hit.fCRTMag;
82 fCRTRICH = hit.fCRTRICH;
83 fCRTTPC = hit.fCRTTPC;
86 //fVolume = hit.fVolume;
90 //_____________________________________________________________________________
91 AliCRThit& AliCRThit::operator= (const AliCRThit & hit)
94 // aisngment operator.
104 //fMedium = hit.fMedium;
105 //fELoss = hit.fELoss;
107 //fCRTMod = hit.fCRTMod;
108 //fCRTMag = hit.fCRTMag;
109 //fCRTRICH = hit.fCRTRICH;
110 //fCRTTPC = hit.fCRTTPC;
113 //fVolume = hit.fVolume;
118 //_____________________________________________________________________________
119 AliCRThit::AliCRThit(Int_t shunt, Int_t track, Int_t *vol,
120 Float_t *hits) :AliHit(shunt, track)
123 // Constructor of hit object
141 //fTrack = (Int_t)hits[9];
143 for (Int_t i = 0; i < 5 ; i++ ) {