]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSPlaneEffSSD.h
typo fix
[u/mrichter/AliRoot.git] / ITS / AliITSPlaneEffSSD.h
index f86c023b4ef76d2354902b0f38e39cbf64eef5d5..03971e7a2c7325eb92d37ad524e24afcb344179b 100644 (file)
@@ -6,7 +6,8 @@
 #include <TH1F.h>
 #include <TH2I.h>
 #include "AliITSPlaneEff.h"
-#include "AliCDBId.h"
+
+class AliCDBId;
 
 ///////////////////////////////////////////
 //                                       //
@@ -31,6 +32,9 @@ class AliITSPlaneEffSSD :  public AliITSPlaneEff {
     // Getters for average Plane efficiency (icluding dead/noisy)
     Double_t PlaneEff(const UInt_t mod) const;
     Double_t ErrPlaneEff(const UInt_t mod) const;
+    // Getters for fFound[] and fTried[]
+    Int_t GetFound(const UInt_t key) const;
+    Int_t GetTried(const UInt_t key) const;
     // Methods to update the Plane efficiency (specific of the SSD segmentation) 
     Bool_t UpDatePlaneEff(const Bool_t Kfound, const UInt_t mod);
     //
@@ -62,8 +66,7 @@ class AliITSPlaneEffSSD :  public AliITSPlaneEff {
     // method to set on/off the creation/updates of histograms (Histos are created/destroyed)
     virtual void   SetCreateHistos(Bool_t his=kFALSE)
          {fHis=his; if(fHis) {DeleteHistos(); InitHistos();} else DeleteHistos(); return; }
-    //Bool_t FillHistos(UInt_t key, Bool_t found, Float_t trackXZ[2], Float_t clusterXZ[2], Int_t ctXZ[2]);
-    virtual Bool_t FillHistos(UInt_t key, Bool_t found, Float_t *track, Float_t *cluster, Int_t *ctype);
+    virtual Bool_t FillHistos(UInt_t key, Bool_t found, Float_t *track, Float_t *cluster, Int_t *ctype,Float_t*);
     virtual Bool_t WriteHistosToFile(TString filename="PlaneEffSSDHistos.root",Option_t* option = "RECREATE");
     virtual Bool_t ReadHistosFromFile(TString filename="PlaneEffSSDHistos.root"); // histos must exist already !
                                                                           // This method increases the
@@ -94,8 +97,12 @@ class AliITSPlaneEffSSD :  public AliITSPlaneEff {
     TH1F **fHisResZ; //! histos with residual distribution (track-cluster) along local Z
     TH2F **fHisResXZ; //! 2-d histos with residual distribution (track-cluster) along local X and Z
     TH2I **fHisClusterSize; //! histos with cluster-size distribution
+    TH1F **fHisTrackErrX; //! histos with track prediction error on Local X
+    TH1F **fHisTrackErrZ; //! histos with track prediction error on Local Z
+    TH1F **fHisClusErrX; //! histos with Local_X cluster error
+    TH1F **fHisClusErrZ; //! histos with Local_Z cluster error
 //
-    ClassDef(AliITSPlaneEffSSD,2) // SSD Plane Efficiency class
+    ClassDef(AliITSPlaneEffSSD,3) // SSD Plane Efficiency class
 };
 //
 inline UInt_t AliITSPlaneEffSSD::Nblock() const {return kNModule;}
@@ -114,5 +121,13 @@ zmn=-kconv*kDzDefault/2.; zmx=kconv*kDzDefault/2.;
 return kTRUE;
 }
 //
+inline Int_t AliITSPlaneEffSSD::GetFound(const UInt_t key) const {
+ if(key>=kNModule) {AliWarning("GetFound: you asked for a non existing key"); return -1;}
+ return fFound[key];
+}
+inline Int_t AliITSPlaneEffSSD::GetTried(const UInt_t key) const {
+ if(key>=kNModule) {AliWarning("GetTried: you asked for a non existing key"); return -1;}
+ return fTried[key];
+}
+//
 #endif
-