]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFtrackerV1.h
some coverity fixes
[u/mrichter/AliRoot.git] / TOF / AliTOFtrackerV1.h
index 81039d3ad4eea9523ef40d7e03186bfca94b0b97..c48f1569b448fa73aae24fe48843b71081cfe893 100644 (file)
@@ -8,7 +8,7 @@
 
 //----------------------------------------------------------------------//
 //                                                                      //
-// AliTOFtrackerV1 Class                                                  //
+// AliTOFtrackerV1 Class                                                //
 // Task: Perform association of the ESD tracks to TOF Clusters          //
 // and Update ESD track with associated TOF Cluster parameters          //
 //                                                                      //
@@ -22,6 +22,7 @@
 #include "AliTracker.h"
 
 class TClonesArray;
+class TObjArray;
 class TH1F;
 class TH2F;
 
@@ -33,8 +34,6 @@ class AliESDpid;
 
 class AliTOFtrackerV1 : public AliTracker {
 
-enum {kMaxCluster=77777}; //maximal number of the TOF clusters
-
 public:
 
  AliTOFtrackerV1(); 
@@ -42,7 +41,7 @@ public:
  virtual ~AliTOFtrackerV1();
  virtual void GetPidSettings(AliESDpid *esdPID);
  virtual Int_t Clusters2Tracks(AliESDEvent* /*event*/) {return -1;};
- virtual Int_t PropagateBack(AliESDEvent* event);
+ virtual Int_t PropagateBack(AliESDEvent * const event);
  virtual Int_t RefitInward(AliESDEvent* /*event*/) {return -1;};
  virtual Int_t LoadClusters(TTree * cTree); // Load Clusters
  virtual void  UnloadClusters();// UnLoad Clusters
@@ -56,6 +55,8 @@ public:
 
 private:
 
+ enum {kMaxCluster=77777}; //maximal number of the TOF clusters
+
  AliTOFtrackerV1(const AliTOFtrackerV1 &t); //Copy Ctor 
  AliTOFtrackerV1& operator=(const AliTOFtrackerV1 &source); // ass. op.
 
@@ -78,7 +79,7 @@ private:
  Int_t fnmatch;         // Total matched tracks
  
  TClonesArray* fTracks; //! pointer to the TClonesArray with TOF tracks
- TClonesArray* fSeeds;  //! pointer to the TClonesArray with ESD tracks
+ TObjArray* fSeeds;  //! pointer to the TObjArray with ESD tracks
  //Digits/Reco QA histos
 
  TH2F * fHDigClusMap; //Digits QA, Cluster Map 
@@ -93,7 +94,7 @@ private:
  TH2F * fHRecSigYVsPWin;//Reco QA, search window size in Y (cm)
  TH2F * fHRecSigZVsPWin;//Reco QA, search window size in X (cm)
 
- ClassDef(AliTOFtrackerV1, 2) // TOF tracker 
+ ClassDef(AliTOFtrackerV1, 3) // TOF tracker 
 };
 
 #endif