// and DAQ histograms to compute online calibration constants
class AliTOFDataDCS;
+class AliTOFChannelOnlineStatusArray;
class TObjArray;
class TH2S;
UInt_t ProcessNoiseData();
UInt_t ProcessFEEData(); // dummy, for the time being
- static const Int_t fgkBinRangeAve; // number of bins where to
- // calculate the mean
- static const Double_t fgkIntegralThr; // min number of entries per channel
- // to perform calculation of delay
- static const Double_t fgkThrPar; // parameter used to trigger the
- // calculation of the delay
- AliTOFDataDCS *fData; // CDB class that stores the data
- TH2S *fh2; // TH2S from DAQ for histograms
- // for delays
- TObjArray *fCal; // TOF Calibration object
- TObjArray *fCalStatus; // TOF Calibration object from pulser/noise
- TObjArray *fFEEStatus; // TOF Calibration object from FEE
- Int_t fNChannels; // number of TOF channels
- Bool_t fStoreRefData; // Flag to decide storage of Ref Data
- Bool_t fFDRFlag; // Flag for FDR runs
- ClassDef(AliTOFPreprocessor, 4);
+ void FillWithCosmicCalibration(AliTOFChannelOnlineArray *cal); // fill with cosmic calibration
+ void FillWithCableLengthMap(AliTOFChannelOnlineArray *cal); // fill with cable-lenght map
+
+ static const Int_t fgkBinRangeAve; // number of bins where to
+ // calculate the mean
+ static const Double_t fgkIntegralThr; // min number of entries per channel
+ // to perform calculation of delay
+ static const Double_t fgkThrPar; // parameter used to trigger the
+ // calculation of the delay
+ AliTOFDataDCS *fData; // CDB class that stores the data
+ AliTOFChannelOnlineArray *fCal; // TOF Calibration object
+ Int_t fNChannels; // number of TOF channels
+ Bool_t fStoreRefData; // Flag to decide storage of Ref Data
+ Bool_t fFDRFlag; // Flag for FDR runs
+ AliTOFChannelOnlineStatusArray *fStatus; // Array with TOF channels' status
+ Int_t *fMatchingWindow; //[fNChannels]
+ // Array of matching windows (one per channel) - to be used in noise runs
+ ClassDef(AliTOFPreprocessor, 0);
};
#endif