]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDfriendTrack.h
Fix in composition of QAChecked output image file (Melinda S.)
[u/mrichter/AliRoot.git] / STEER / AliESDfriendTrack.h
index e8ad549949a4b37e372941adde5e1164754fbfe5..b0f3033ec05b72ef73536c515d34b7da2ecdb589 100644 (file)
@@ -8,6 +8,7 @@
 //-------------------------------------------------------------------------
 
 #include <TObject.h>
+#include <TClonesArray.h>
 #include <AliExternalTrackParam.h>
 
 class AliTrackPointArray;
@@ -47,15 +48,32 @@ public:
   void SetITSOut(const AliExternalTrackParam &param);
   void SetTRDIn(const AliExternalTrackParam  &param);
   //
-  const AliExternalTrackParam * GetTPCOut(){return  fTPCOut;} 
-  const AliExternalTrackParam * GetITSOut() { return fITSOut;} 
-  const AliExternalTrackParam * GetTRDIn() { return fTRDIn;} 
+  
+  const AliExternalTrackParam * GetTPCOut() const {return  fTPCOut;} 
+  const AliExternalTrackParam * GetITSOut() const {return fITSOut;} 
+  const AliExternalTrackParam * GetTRDIn()  const {return fTRDIn;} 
+
+  void SetITSIndices(Int_t* indices, Int_t n);
+  void SetTPCIndices(Int_t* indices, Int_t n);
+  void SetTRDIndices(Int_t* indices, Int_t n);
+
+  Int_t GetMaxITScluster() {return fnMaxITScluster;}
+  Int_t GetMaxTPCcluster() {return fnMaxTPCcluster;}
+  Int_t GetMaxTRDcluster() {return fnMaxTRDcluster;}
+  
+  // bit manipulation for filtering
+  void SetSkipBit(Bool_t skip){SetBit(23,skip);}
+  Bool_t TestSkipBit() {return TestBit(23);}
 
 protected:
   Float_t f1P;                     // 1/P (1/(GeV/c))
-  Int_t fITSindex[kMaxITScluster]; // indices of the ITS clusters 
-  Int_t fTPCindex[kMaxTPCcluster]; // indices of the TPC clusters
-  Int_t fTRDindex[kMaxTRDcluster]; // indices of the TRD clusters
+  Int_t fnMaxITScluster; // Max number of ITS clusters
+  Int_t fnMaxTPCcluster; // Max number of TPC clusters
+  Int_t fnMaxTRDcluster; // Max number of TRD clusters
+  Int_t* fITSindex; //[fnMaxITScluster] indices of the ITS clusters 
+  Int_t* fTPCindex; //[fnMaxTPCcluster] indices of the TPC clusters
+  Int_t* fTRDindex; //[fnMaxTRDcluster] indices of the TRD clusters
+
   AliTrackPointArray *fPoints;//Array of track space points in the global frame
   TObjArray      *fCalibContainer; //Array of objects for calibration    
   AliKalmanTrack *fITStrack; //! pointer to the ITS track (debug purposes) 
@@ -69,7 +87,7 @@ protected:
 private:
   AliESDfriendTrack &operator=(const AliESDfriendTrack & /* t */) {return *this;}
 
-  ClassDef(AliESDfriendTrack,3) //ESD friend track
+  ClassDef(AliESDfriendTrack,6) //ESD friend track
 };
 
 #endif