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
32 // -2 backpropagation goes out of the z acceptance of the TOF
33 // -1 failed backpropagation on TOF inner radius
35 // 1 for tracks matched with no signal on TOF (failed DigitFinder)
36 // 3 for tracks matched with the actual digit
37 // 4 for tracks matched with a wrong (not its own) TOF digit
38 ////////////////////////////////////////////////////////////////////////
40 #include "AliTOFTrackV2.h"
42 ClassImp(AliTOFTrackV2)
44 AliTOFTrackV2::AliTOFTrackV2()
50 fTOFDigitTrackLabel=-1;
69 // vertex variables from reconstruction
79 //_____________________________________________________________________________
80 AliTOFTrackV2::AliTOFTrackV2(Int_t trackLabel, Int_t matchingStatus,
81 Float_t tpcMom, Float_t dEdX, Float_t* tpcXYZ,
82 Float_t* tpcPtPz, Float_t* /* trdXYZ */,
83 Float_t* /* trdPxPyPz */)
89 fTrackLabel=trackLabel;
90 fTOFDigitTrackLabel=-1;
108 fMatchingStatus=matchingStatus;
113 // vertex variables from reconstruction
123 //_____________________________________________________________________________
124 void AliTOFTrackV2::UpdateTrack(Int_t tofDigitTrackLabel, Int_t matching, Float_t tof)
127 // update the track after the TOF digit assignment
129 fTOFDigitTrackLabel=tofDigitTrackLabel;
130 fMatchingStatus=matching;
134 //_____________________________________________________________________________
135 void AliTOFTrackV2::UpdateTrack(Int_t pdgCode, Float_t trackLength)