////
#include "TNamed.h"
+#include "TObjString.h"
class AliTPCseed;
class AliESDEvent;
class AliESDtrack;
class TCollection;
class TTreeSRedirector;
+class TGraph;
+class TGraphErrors;
+class THnSparse;
class AliTPCcalibBase:public TNamed {
public:
AliTPCcalibBase();
+ AliTPCcalibBase(const char * name, const char * title);
AliTPCcalibBase(const AliTPCcalibBase&calib);
AliTPCcalibBase &operator=(const AliTPCcalibBase&calib);
virtual ~AliTPCcalibBase();
Int_t GetDebugLevel() const {return fDebugLevel;}
virtual void RegisterDebugOutput(const char *path);
static Bool_t HasLaser(AliESDEvent *event);
+ static TGraphErrors * FitSlices(THnSparse *h, Int_t axisDim1, Int_t axisDim2, Int_t minEntries, Int_t nmaxBin, Float_t fracLow=0.1, Float_t fracUp=0.9, Bool_t useMedian=kFALSE, TTreeSRedirector *cstream=0);
protected:
TTreeSRedirector *fDebugStreamer; //! debug streamer
Int_t fTriggerMaskAccept; //trigger mask - accept
Bool_t fHasLaser; //flag the laser is overlayed with given event
Bool_t fRejectLaser; //flag- reject laser
+ TObjString fTriggerClass; // trigger class
private:
Int_t fDebugLevel; // debug level