]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSgeomSPD.h
Bug Correction: simultanous cut on particles and tracks
[u/mrichter/AliRoot.git] / ITS / AliITSgeomSPD.h
index 82947c97dff0480aedf6cf9cea2aa736d4761311..b232198a3d5f7cbe778d30b40b794129129f41bc 100644 (file)
@@ -8,8 +8,12 @@
 #include <TObject.h>
 #include <TBRIK.h>
 
-class ostream;
-class istream;
+////////////////////////////////////////////////////////////////////////
+// This class is for the Silicon Pixel Detector, SPD, specific geometry.
+// It is being replaced by AliITSsegmentationSPD class. This file also
+// constains classes derived from AliITSgeomSPD which do nothing but
+// initilize this one with predefined values.
+////////////////////////////////////////////////////////////////////////
 
 class TShape;
 
@@ -33,8 +37,8 @@ class AliITSgeomSPD : public TObject {
     virtual Float_t GetDz() const {// Get TBRIK Dz
         if(fShapeSPD!=0) return fShapeSPD->GetDz();
         else return 0.0;}
-    virtual Int_t GetNbinxX() const {return fNbinx-1;} // returns the number of bins x
-    virtual Int_t GetNbinxZ() const {return fNbinz-1;} // returns the number of bins z
+    virtual Int_t GetNbinsX() const {return fNbinx-1;} // returns the number of bins x
+    virtual Int_t GetNbinsZ() const {return fNbinz-1;} // returns the number of bins z
     virtual Float_t GetBinSizeX(Int_t i) const
        {if(i<fNbinx-1&&i>=0) return fLowBinEdgeX[i+1]-fLowBinEdgeX[i];
        else return 0.0;}; // give size of bin i in x.
@@ -92,8 +96,6 @@ istream &operator>>(istream &os,AliITSgeomSPD &source);
 
 //#include "AliITSgeomSPD.h"
 
-class ostream;
-class istream;
 
 class AliITSgeomSPD300 : public AliITSgeomSPD {
 
@@ -125,13 +127,12 @@ istream &operator>>(istream &os,AliITSgeomSPD300 &source);
 
 // temporary - this will migrate into the segmentation class
 
-class ostream;
-class istream;
 
 class AliITSgeomSPD425Short : public AliITSgeomSPD {
 
  public:
     AliITSgeomSPD425Short();
+    AliITSgeomSPD425Short(Int_t npar,Float_t *par);
 
     // This clas now has version 0 so that it will not be written to a root
     // file. This is good since there are no longer any data members to this
@@ -158,8 +159,6 @@ istream &operator>>(istream &os,AliITSgeomSPD425Short &source);
 
 // temporary - this will migrate into the segmentation class
 
-class ostream;
-class istream;
 
 class AliITSgeomSPD425Long : public AliITSgeomSPD {