]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGCF/FEMTOSCOPYAOD/AliPWG2AODTrack.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGCF / FEMTOSCOPYAOD / AliPWG2AODTrack.h
CommitLineData
f9228736 1#ifndef AliPWG2AODTrack_H
2#define AliPWG2AODTrack_H
3//-------------------------------------------------------------------------
4// PWG2 specific additional information for the AOD Track
5// Author: Adam Kisiel, OSU, Adam.Kisiel@cern.ch
6//-------------------------------------------------------------------------
7
8#include <TBits.h>
9#include <TRef.h>
10
11class AliAODTrack;
12
13class AliPWG2AODTrack : public TObject {
14
15 public:
16
17 AliPWG2AODTrack();
18 AliPWG2AODTrack(Double_t tpcentr[3],
19 Double_t tpcexit[3],
20 TBits tpcshare,
21 TBits tpcclus,
22 AliAODTrack *track);
23
24 virtual ~AliPWG2AODTrack();
25 AliPWG2AODTrack(const AliPWG2AODTrack& trk);
26 AliPWG2AODTrack& operator=(const AliPWG2AODTrack& trk);
27
28 void GetTPCNominalEntrancePoint(Double_t *tpce) const;
29 void GetTPCNominalExitPoint(Double_t *tpce) const;
30
31 void SetTPCNominalEntrancePoint(Double_t *tpce=0);
32 void SetTPCNominalExitPoint(Double_t *tpce=0);
33
34 const TBits &GetTPCSharedMap() const;
35 const TBits &GetTPCClusterMap() const;
36
37 void SetTPCSharedMap(const TBits &bits);
38 void SetTPCClusterMap(const TBits &bits);
39
40 void SetAODTrackRef(AliAODTrack *track);
41 AliAODTrack *GetRefAODTrack();
42
43 private :
44
45 // TPC quality and geometrical information
46 Double32_t fTPCNominalEntrancePoint[3]; // Nominal entrance point of the track to the TPC
47 Double32_t fTPCNominalExitPoint[3]; // Nominal exit point of the track from the TPC
48 TBits fSharedMap; // TPC sharing bitmap
49 TBits fClusterMap; // TPC cluster-per-padrow bitmap
50
51 TRef fAODTrack; // pointer to the original AOD track
52
53 ClassDef(AliPWG2AODTrack,1);
54};
55
56#endif