- Int_t fNbinsT0; // Number of bins for T0 reference histogram
- Float_t fXminT0; // xmin of T0 reference histogram
- Float_t fXmaxT0; // xmax of T0 reference histogram
- Int_t fNbinsQ; // Number of bins for T0 reference histogram
- Float_t fXminQ; // xmin of T0 reference histogram
- Float_t fXmaxQ; // xmax of T0 reference histogram
- Int_t fNbinsRMS; // Number of bins for T0 reference histogram
- Float_t fXminRMS; // xmin of T0 reference histogram
- Float_t fXmaxRMS; // xmax of T0 reference histogram
-
- Bool_t fIsZeroSuppressed; // if data is zero suppressed
-
- Int_t fLastSector; //! Last sector processed
-
-
- AliTPCROC *fROC; //! ROC information
- AliTPCAltroMapping **fMapping; //! Altro Mapping object
- AliTPCParam *fParam; //! TPC information
-
- AliTPCCalPad *fPedestalTPC; //! Pedestal Information
- AliTPCCalPad *fPadNoiseTPC; //! Pad noise Information whole TPC
- AliTPCCalPad *fOutliers; //! Outlier information. Those will not be used for calculating the T0
- AliTPCCalROC *fPedestalROC; //! Pedestal Information for current ROC
- AliTPCCalROC *fPadNoiseROC; //! Pad noise Information for current ROC
-// Bool_t fBpedestal; //! are we running with pedestal substraction
-
-
- TObjArray fCalRocArrayT0; // Array of AliTPCCalROC class for Time0 calibration
- TObjArray fCalRocArrayQ; // Array of AliTPCCalROC class for Charge calibration
- TObjArray fCalRocArrayRMS; // Array of AliTPCCalROC class for signal width calibration
- TObjArray fCalRocArrayOutliers; // Array of AliTPCCalROC class for signal outliers
-
- TObjArray fHistoQArray; // Calibration histograms for Charge distribution
- TObjArray fHistoT0Array; // Calibration histograms for Time0 distribution
- TObjArray fHistoRMSArray; // Calibration histograms for signal width distribution
-
- TH2F *fHMeanTimeSector; // Timing distribution per sector
- TVectorF fVMeanTimeSector; // Mean time per sector from analysis of fHMeanTimeSector
-
- TObjArray fPadTimesArrayEvent; //! Pad Times for the event, before mean Time0 corrections
- TObjArray fPadQArrayEvent; //! Charge for the event, only needed for debugging streamer
- TObjArray fPadRMSArrayEvent; //! Signal width for the event, only needed for debugging streamer
- TObjArray fPadPedestalArrayEvent; //! Signal width for the event, only needed for debugging streamer
-
- Int_t fCurrentChannel; //! current channel processed
- Int_t fCurrentSector; //! current sector processed
- Int_t fCurrentRow; //! current row processed
- Int_t fCurrentPad; //! current pad processed
- Float_t fMaxPadSignal; //! maximum bin of current pad
- Int_t fMaxTimeBin; //! time bin with maximum value
- TVectorF fPadSignal; //! signal of current Pad
- Float_t fPadPedestal; //! Pedestal Value of current pad
- Float_t fPadNoise; //! Noise Value of current pad
-
- TVectorF fVTime0Offset; //! Time0 Offset from preprocessing for each sector;
- TVectorF fVTime0OffsetCounter; //! Time0 Offset from preprocessing for each sector;
-
-
- //debugging
-// Int_t fEvent; // Number of events processed
- TTreeSRedirector *fDebugStreamer; //! debug streamer
-
- Short_t fDebugLevel; // debug Level
- //! debugging
-
- void FindPedestal(Float_t part=.6);
- void FindPulserSignal(TVectorD ¶m, Float_t &qSum);
-
- TH2S* GetHisto(Int_t sector, TObjArray *arr,
- Int_t nbinsY, Float_t ymin, Float_t ymax,
- const Char_t *type, Bool_t force);
-
-
- AliTPCCalROC* GetCalRoc(Int_t sector, TObjArray* arr, Bool_t force) const;
-
- TVectorF* GetPadTimesEvent(Int_t sector, Bool_t force=kFALSE);
-
- Bool_t IsEdgePad(Int_t sector, Int_t row, Int_t pad);
-
- void ResetEvent();
- void ResetPad();
- void ProcessPad();
- void EndEvent();
-
-
- //debug
- TVectorF* GetPadInfoEvent(Int_t sector, TObjArray *arr, Bool_t force=kFALSE);
- TVectorF* GetPadQEvent(Int_t sector, Bool_t force=kFALSE);
- TVectorF* GetPadRMSEvent(Int_t sector, Bool_t force=kFALSE);
- TVectorF* GetPadPedestalEvent(Int_t sector, Bool_t force=kFALSE);
-
-
-
- ClassDef(AliTPCCalibPulser,4) //Implementation of the TPC pulser calibration
+ Int_t fNbinsT0; // Number of bins for T0 reference histogram
+ Float_t fXminT0; // xmin of T0 reference histogram
+ Float_t fXmaxT0; // xmax of T0 reference histogram
+ Int_t fNbinsQ; // Number of bins for T0 reference histogram
+ Float_t fXminQ; // xmin of T0 reference histogram
+ Float_t fXmaxQ; // xmax of T0 reference histogram
+ Int_t fNbinsRMS; // Number of bins for T0 reference histogram
+ Float_t fXminRMS; // xmin of T0 reference histogram
+ Float_t fXmaxRMS; // xmax of T0 reference histogram
+ Int_t fPeakIntMinus; // Peak integral range for COG determination. Bins used before max bin
+ Int_t fPeakIntPlus; // Peak integral range for COG determination. Bins used after max bin
+
+ Bool_t fIsZeroSuppressed; // if data is zero suppressed
+
+ Int_t fLastSector; //! Last sector processed
+
+ AliTPCParam *fParam; //! TPC information
+
+ AliTPCCalPad *fPedestalTPC; //! Pedestal Information
+ AliTPCCalPad *fPadNoiseTPC; //! Pad noise Information whole TPC
+ AliTPCCalPad *fOutliers; //! Outlier information. Those will not be used for calculating the T0
+ AliTPCCalROC *fPedestalROC; //! Pedestal Information for current ROC
+ AliTPCCalROC *fPadNoiseROC; //! Pad noise Information for current ROC
+
+ TObjArray fCalRocArrayT0; // Array of AliTPCCalROC class for Time0 calibration
+ TObjArray fCalRocArrayQ; // Array of AliTPCCalROC class for Charge calibration
+ TObjArray fCalRocArrayRMS; // Array of AliTPCCalROC class for signal width calibration
+ TObjArray fCalRocArrayOutliers; // Array of AliTPCCalROC class for signal outliers
+
+ TObjArray fHistoQArray; // Calibration histograms for Charge distribution
+ TObjArray fHistoT0Array; // Calibration histograms for Time0 distribution
+ TObjArray fHistoRMSArray; // Calibration histograms for signal width distribution
+
+ TH2F *fHMeanTimeSector; // Timing distribution per sector
+ TVectorF fVMeanTimeSector; // Mean time per sector from analysis of fHMeanTimeSector
+
+ TObjArray fPadTimesArrayEvent; //! Pad Times for the event, before mean Time0 corrections
+ TObjArray fPadQArrayEvent; //! Charge for the event, only needed for debugging streamer
+ TObjArray fPadRMSArrayEvent; //! Signal width for the event, only needed for debugging streamer
+ TObjArray fPadPedestalArrayEvent; //! Signal width for the event, only needed for debugging streamer
+
+ Int_t fCurrentChannel; //! current channel processed
+ Int_t fCurrentSector; //! current sector processed
+ Int_t fCurrentRow; //! current row processed
+ Int_t fCurrentPad; //! current pad processed
+ Float_t fMaxPadSignal; //! maximum bin of current pad
+ Int_t fMaxTimeBin; //! time bin with maximum value
+ TVectorF fPadSignal; //! signal of current Pad
+ Float_t fPadPedestal; //! Pedestal Value of current pad
+ Float_t fPadNoise; //! Noise Value of current pad
+
+ TVectorF fVTime0Offset; //! Time0 Offset from preprocessing for each sector;
+ TVectorF fVTime0OffsetCounter; //! Time0 Offset from preprocessing for each sector;
+
+
+ void FindPedestal(Float_t part=.6);
+ void FindPulserSignal(TVectorD ¶m, Float_t &qSum);
+
+ TH2S* GetHisto(Int_t sector, TObjArray *arr,
+ Int_t nbinsY, Float_t ymin, Float_t ymax,
+ const Char_t *type, Bool_t force);
+
+
+ AliTPCCalROC* GetCalRoc(Int_t sector, TObjArray* arr, Bool_t force) const;
+
+ TVectorF* GetPadTimesEvent(Int_t sector, Bool_t force=kFALSE);
+
+ Bool_t IsEdgePad(Int_t sector, Int_t row, Int_t pad);
+
+ void ResetPad();
+ void ProcessPad();
+
+
+ //debug
+ TVectorF* GetPadInfoEvent(Int_t sector, TObjArray *arr, Bool_t force=kFALSE);
+ TVectorF* GetPadQEvent(Int_t sector, Bool_t force=kFALSE);
+ TVectorF* GetPadRMSEvent(Int_t sector, Bool_t force=kFALSE);
+ TVectorF* GetPadPedestalEvent(Int_t sector, Bool_t force=kFALSE);
+
+
+ ClassDef(AliTPCCalibPulser,5) //Implementation of the TPC pulser calibration