#include <TH1F.h>
#include <TH2I.h>
#include "AliITSPlaneEff.h"
-#include "AliCDBId.h"
+
+class AliCDBId;
///////////////////////////////////////////
// //
// 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);
//
// 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
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;}
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
-