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 **************************************************************************/
16 //====================================================================================================================================================
18 // Class for the description of the clusters of the ALICE Muon Forward Tracker
20 // Contact author: antonio.uras@cern.ch
22 //====================================================================================================================================================
25 #include "AliMUONRawCluster.h"
26 #include "AliMUONVCluster.h"
27 #include "AliMFTCluster.h"
29 ClassImp(AliMFTCluster)
31 //====================================================================================================================================================
33 AliMFTCluster::AliMFTCluster():
49 // default constructor
51 for (Int_t iTrack=0; iTrack<fNMaxMCTracks; iTrack++) fMCLabel[iTrack] = -1;
55 //====================================================================================================================================================
57 AliMUONRawCluster* AliMFTCluster::CreateMUONCluster() {
59 AliMUONRawCluster *cluster = new AliMUONRawCluster();
61 cluster->SetXYZ(GetX(), GetY(), GetZ());
62 cluster->SetErrXY(GetErrX(),GetErrY());
63 cluster->SetDetElemId(100); // to get the cluster compatible with the AliMUONTrack::AddTrackParamAtCluster(...) method
69 //====================================================================================================================================================