1 /**************************************************************************
2 * Copyright(c) 2004-2006, 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 // Digit description for the ALICE Muon Forward Tracker
20 // Contact author: antonio.uras@cern.ch
22 //====================================================================================================================================================
25 #include "AliMFTConstants.h"
26 #include "AliMFTDigit.h"
28 const Double_t AliMFTDigit::fElossPerElectron = AliMFTConstants::fElossPerElectron;
33 //====================================================================================================================================================
35 AliMFTDigit::AliMFTDigit():
53 // default cosntructor
55 for (Int_t iTrack=0; iTrack<fNMaxMCTracksPerDigit; iTrack++) fMCLabel[iTrack] = -1;
59 //====================================================================================================================================================
61 void AliMFTDigit::AddMCLabel(Int_t label) {
63 if (fNMCTracks<0 || fNMCTracks>=fNMaxMCTracksPerDigit) return;
64 fMCLabel[fNMCTracks++] = label;
68 //====================================================================================================================================================