class AliTOFDataDCS;
class TObjArray;
-class AliTOFCalOnline;
-class AliTOFGeometryV5;
-class AliTOFGeometry;
+class TH2S;
class AliTOFPreprocessor : public AliPreprocessor
{
public:
- AliTOFPreprocessor(const char* detector, AliShuttleInterface* shuttle);
+ AliTOFPreprocessor(AliShuttleInterface* shuttle);
virtual ~AliTOFPreprocessor();
+ void SetStoreRefData(Bool_t in){fStoreRefData=in;};
+ Bool_t GetStoreRefData() const {return fStoreRefData;};
protected:
virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
AliTOFPreprocessor& operator=(const AliTOFPreprocessor & proc);
static const Int_t fgkBinRangeAve; // number of bins where to
- // calculate the mean
- AliTOFDataDCS *fData; // CDB class that stores the data
- TObjArray *fArray; // Array of DAQ histograms for delays
- AliTOFCalOnline *fCal; // TOF Calibration object
- AliTOFGeometry *fTOFGeometry; // TOF Geometry version
-
- ClassDef(AliTOFPreprocessor, 0);
+ // calculate the mean
+ 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
+ Int_t fNChannels; // number of TOF channels
+ Bool_t fStoreRefData; // Flag to decide storage of Ref Data
+ ClassDef(AliTOFPreprocessor, 2);
};
-
#endif