]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/tracking-ca/AliHLTTPCCAMCTrack.h
Ensure that the ADC array is only called for valid entries (AliTRDmcmSim) and bug...
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCAMCTrack.h
CommitLineData
d54804bf 1//-*- Mode: C++ -*-
2// $Id$
3
4//* This file is property of and copyright by the ALICE HLT Project *
5//* ALICE Experiment at CERN, All rights reserved. *
6//* See cxx source for full Copyright notice *
7
8#ifndef ALIHLTTPCCAMCTRACK_H
9#define ALIHLTTPCCAMCTRACK_H
10
00d07bcd 11#include "AliHLTTPCCADef.h"
d54804bf 12
13class TParticle;
14
15
16/**
17 * @class AliHLTTPCCAMCTrack
18 * store MC track information for AliHLTTPCCAPerformance
19 */
20class AliHLTTPCCAMCTrack
21{
22 public:
23
24 AliHLTTPCCAMCTrack();
25 AliHLTTPCCAMCTrack( const TParticle *part );
eb30eb49 26 void SetTPCPar( Float_t X, Float_t Y, Float_t Z, Float_t Px, Float_t Py, Float_t Pz );
d54804bf 27
eb30eb49 28 Int_t &PDG() { return fPDG;}
d54804bf 29 Double_t *Par() { return fPar; }
eb30eb49 30 Double_t *TPCPar() { return fTPCPar; }
d54804bf 31 Double_t &P() { return fP; }
32 Double_t &Pt() { return fPt; }
eb30eb49 33
d54804bf 34 Int_t &NHits() { return fNHits;}
eb30eb49 35 Int_t &NMCPoints() { return fNMCPoints;}
36 Int_t &FirstMCPointID(){ return fFirstMCPointID;}
d54804bf 37 Int_t &NReconstructed(){ return fNReconstructed; }
38 Int_t &Set() { return fSet; }
39 Int_t &NTurns() { return fNTurns; }
40
41 protected:
42
eb30eb49 43 Int_t fPDG; //* particle pdg code
d54804bf 44 Double_t fPar[7]; //* x,y,z,ex,ey,ez,q/p
eb30eb49 45 Double_t fTPCPar[7]; //* x,y,z,ex,ey,ez,q/p at TPC entrance (x=y=0 means no information)
d54804bf 46 Double_t fP, fPt; //* momentum and transverse momentum
47 Int_t fNHits; //* N TPC clusters
eb30eb49 48 Int_t fNMCPoints; //* N MC points
49 Int_t fFirstMCPointID; //* id of the first MC point in the points array
d54804bf 50 Int_t fNReconstructed; //* how many times is reconstructed
51 Int_t fSet; //* set of tracks 0-OutSet, 1-ExtraSet, 2-RefSet
52 Int_t fNTurns; //* N of turns in the current sector
eb30eb49 53
d54804bf 54};
55
56#endif