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 // AliTOFTrackV2 class
20 // Author: F. Pierella | pierella@bo.infn.it
22 // Description: output of AliTOFReconstructionerV2
23 // TRD tracking capabilities have been foreseen by including the member
24 // variables fxTRD, fyTRD, fzTRD and momentum components fPxTRD, fPyTRD, fPzTRD.
25 // Class to be written in TreeR for each event.
27 // Member variable summary description:
28 // - track momentum and position in the last TPC padrow
29 // - track length as given by the geometrical propagation
30 // - reconstructed mass from time of flight and time of flight itself
31 ////////////////////////////////////////////////////////////////////////
33 #include "AliTOFTrackV2.h"
35 ClassImp(AliTOFTrackV2)
37 AliTOFTrackV2::AliTOFTrackV2()
43 fTOFDigitTrackLabel=-1;
64 //_____________________________________________________________________________
65 AliTOFTrackV2::AliTOFTrackV2(Int_t trackLabel, Int_t matchingStatus, Float_t tpcMom, Float_t dEdX, Float_t* tpcXYZ, Float_t* tpcPtPz, Float_t* trdXYZ, Float_t* trdPxPyPz)
71 fTrackLabel=trackLabel;
72 fTOFDigitTrackLabel=-1;
90 fMatchingStatus=matchingStatus;
96 //_____________________________________________________________________________
97 void AliTOFTrackV2::UpdateTrack(Int_t tofDigitTrackLabel, Int_t matching, Float_t tof)
100 // update the track after the TOF digit assignment
102 fTOFDigitTrackLabel=tofDigitTrackLabel;
103 fMatchingStatus=matching;
107 //_____________________________________________________________________________
108 void AliTOFTrackV2::UpdateTrack(Int_t pdgCode, Float_t trackLength)