]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPC.h
Moving the TPC calibration using tracks from separate directory to the TPC directory
[u/mrichter/AliRoot.git] / TPC / AliTPC.h
index 3f07e51046b29aa3b648e764f9a71a38bd8077f4..8c151fea74e8d0d1985aa40373fbf6ccadbf707a 100644 (file)
@@ -95,7 +95,7 @@ public:
    Int_t GetHitType() const {return fHitType;}
    void    SetActiveSectors(Int_t flag=0); //loop over al hits and set active only hitted sectors
    Bool_t  TrackInVolume(Int_t id,Int_t track);  //return true if current track is in volume
-
+   void    SetPrimaryIonisation(Bool_t flag = kTRUE) {fPrimaryIonisation = flag;}
 // static functions
    static AliTPCParam* LoadTPCParam(TFile *file); 
 protected:
@@ -115,7 +115,7 @@ protected:
   //MK changes
 
   Float_t        fSide;  // selects left(-1), right(+1), or both(0) sides of the TPC
-   
+  Bool_t     fPrimaryIonisation; //switch between Fluka(true) and geant3(false)
  private:
   AliTPC(const AliTPC& t);
   AliTPC &operator = (const AliTPC & param);
@@ -136,6 +136,7 @@ protected:
   Float_t *  fNoiseTable;  //! table with noise
   Int_t      fCurrentNoise; //! index of the noise in  the noise table 
   Bool_t*    fActiveSectors; //! bool indicating which sectors are active
 
   ClassDef(AliTPC,12)  // Time Projection Chamber class
 };
@@ -160,7 +161,7 @@ public:
 
    Float_t Time() const {return fTime;}
  
-   ClassDef(AliTPChit,2)  // Time Projection Chamber hits
+   ClassDef(AliTPChit,3)  // Time Projection Chamber hits
 };