]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Forward declarations. Destructor made virtual.
authorkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Oct 2000 16:11:57 +0000 (16:11 +0000)
committerkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Oct 2000 16:11:57 +0000 (16:11 +0000)
TPC/AliTPCClustersArray.cxx
TPC/AliTPCClustersArray.h
TPC/AliTPCDigitsArray.cxx
TPC/AliTPCDigitsArray.h

index e6a690b99f0f25c576c40c500c4c4524c45aaa36..ff5e7ab82fc2a3a417112fe69d8b8223bdee3873 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.3  2000/06/30 12:07:49  kowal2
+Updated from the TPC-PreRelease branch
+
 Revision 1.2.4.1  2000/06/09 07:09:29  kowal2
 
 Clustering and tracking classes are splitted from the simulation ones
@@ -40,7 +43,7 @@ Clusters handling in a new data structure
 #include "AliTPC.h"
 #include "AliTPCParam.h" 
 #include "AliSegmentArray.h" 
-#include "AliCluster.h"
+#include "AliComplexCluster.h"
 #include "AliClusters.h"
 #include "AliClustersArray.h" 
 #include "AliTPCClustersRow.h" 
@@ -48,6 +51,7 @@ Clusters handling in a new data structure
 #include "AliTPCClustersArray.h"
 #include "TClonesArray.h"
 #include "TDirectory.h"
+#include <TClass.h>
 
 
 
@@ -150,23 +154,6 @@ Bool_t AliTPCClustersArray::Update()
 }
 
 
-/*
-void AliTPCClustersArray::MakeTree()
-{
-  //  AliSegmentID  segment;
-  if (fClusterType==0) {
-    Error("AliTPCCLustersArray", "cluster type isn't adjusted");
-    return;
-  }
-  AliClusters * psegment = (AliClusters *)NewSegment();  
-  psegment->SetClass(fClusterType->GetName());  
-  psegment->SetArray(100);
-  if (fTree) delete fTree;
-  fTree = new TTree("Segment Tree","Tree with segments");
-  fBranch = fTree->Branch("Segment",psegment->IsA()->GetName(),&psegment,64000,1);
-  delete psegment;
-}              
-*/
 AliSegmentID * AliTPCClustersArray::NewSegment()
 {
   //
index 5b0abffad80625e8b91c039404a7a7860846f43f..1f97035e78750021a7e7a40f028081a7c4bb244e 100644 (file)
@@ -9,27 +9,19 @@
 //  Manager class for TPC   clusters                   //
 ////////////////////////////////////////////////
 
-#include "AliDetector.h"
-#include "AliHit.h" 
-#include "AliDigit.h" 
-#include "AliSegmentArray.h"
+
 #include "AliClustersArray.h"
-#include "AliTPCParam.h" 
+
+
 
-#include <TMatrix.h>
-#include <TTree.h>
-#include <TClonesArray.h>
-#include <TClass.h>
 
-class TClonesArray;
-class TObjArray;
 class AliTPCClustersRow;
-//class TClass;
 
 class AliTPCClustersArray : public AliClustersArray {
 public:
   AliTPCClustersArray();
-  ~AliTPCClustersArray();
+  virtual ~AliTPCClustersArray();
   AliTPCClustersRow * GetRow(Int_t sector,Int_t row);  
   AliTPCClustersRow * CreateRow(Int_t sector, Int_t row); //
   AliTPCClustersRow * LoadRow(Int_t sector,Int_t row);
@@ -43,7 +35,7 @@ protected:
   //void MakeTree(); 
  
 private:   
-  ClassDef(AliTPCClustersArray,1) 
+  ClassDef(AliTPCClustersArray,1) // Cluster manager 
 };
   
 #endif //ALITPCCLUSTERSARRAY_H
index 6a5991a01337c28c164da366654b5ee029f8f2a9..26940e1cfb277eb2446b049824b0a2918a5733be 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.2  2000/04/17 09:37:33  kowal2
+removed obsolete AliTPCDigitsDisplay.C
+
 Revision 1.1.4.2  2000/04/10 11:37:42  kowal2
 
 Digits handling in a new data structure
@@ -31,8 +34,6 @@ Digits handling in a new data structure
 //                                                                          //
 ///////////////////////////////////////////////////////////////////////////////
 #include "AliTPCParam.h" 
-#include "AliTPCParam.h"
-#include "AliTPCRF1D.h"
 #include "AliTPCPRF2D.h"
 
 #include "TObjArray.h"
@@ -47,8 +48,7 @@ Digits handling in a new data structure
 #include "AliSimDigits.h"
 #include "AliDigitsArray.h" 
 #include "AliTPCDigitsArray.h"
-//#include "TClonesArray.h"
-#include "TDirectory.h"
+#include <TDirectory.h>
 
 
 
index ba39fe5914054ce220ce7b707db6d4ae89d234e5..e9a36d0e80f88976c610f0cebe45c70199c9f79e 100644 (file)
@@ -6,30 +6,21 @@
 /* $Id$ */
 
 ////////////////////////////////////////////////
-//  Manager class for TPC   clusters                   //
+//  Manager class for TPC digits                   //
 ////////////////////////////////////////////////
 
-#include "AliDetector.h"
-#include "AliHit.h" 
+
 #include "AliDigits.h" 
-#include "AliSegmentArray.h"
 #include "AliDigitsArray.h"
 #include "AliTPCParam.h" 
 
-#include <TMatrix.h>
-#include <TTree.h>
-#include <TClonesArray.h>
-
-
-class TClonesArray;
-class TObjArray;
-class AliTPCPRF2D;
-class AliTPCRF1D;
+class AliDigits;
+class AliDetectorParam;
 
 class AliTPCDigitsArray : public AliDigitsArray {
 public:
   AliTPCDigitsArray(Bool_t sim=kTRUE);
-  ~AliTPCDigitsArray();
+  virtual   ~AliTPCDigitsArray();
   AliDigits *  GetRow(Int_t sector,Int_t row); //return pointer to row from array
   AliDigits *  CreateRow(Int_t sector, Int_t row); //
   AliDigits *  LoadRow(Int_t sector,Int_t row);
@@ -38,14 +29,12 @@ public:
   Bool_t Setup(AliDetectorParam *param);  
   
   Bool_t IsSimulated(){return fBSim;}
-  Bool_t  Update(); //
+  Bool_t  Update(); 
 private:  
-  //AliTPCPRF2D * fPRF;           //x and y pad response function object
-  //AliTPCRF1D * fRF;             //z (time) response function object
   Bool_t fBSim;             //signalize if we have digits with track ID
   Int_t  fCompression;      //default compression for AliDigits - used in storing
   Int_t  fTrackLevel;        //default level for track ID storing
-  ClassDef(AliTPCDigitsArray,1) 
+  ClassDef(AliTPCDigitsArray,1) // TPC digits manager
 };
   
 #endif //ALITPCCLUSTERSARRAY_H