X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TRD%2FAliTRDPreprocessor.h;h=4549684af2c59a31634d7c6957f3122ded1b74f3;hb=ca449e9832cd98183b372ef22119567b9dcb0d7c;hp=703559ffebe42d402110914bab2d11169d6484d0;hpb=3a0f64797152d5b762bd6ca6d1a715468474b214;p=u%2Fmrichter%2FAliRoot.git diff --git a/TRD/AliTRDPreprocessor.h b/TRD/AliTRDPreprocessor.h index 703559ffebe..4549684af2c 100644 --- a/TRD/AliTRDPreprocessor.h +++ b/TRD/AliTRDPreprocessor.h @@ -14,43 +14,43 @@ #include "AliPreprocessor.h" +class TMap; +class AliTRDCalROC; +class AliTRDCalSingleChamberStatus; + class AliTRDPreprocessor : public AliPreprocessor { - public: - - AliTRDPreprocessor(AliShuttleInterface *shuttle); - virtual ~AliTRDPreprocessor(); - - enum { - kEExtractDCS = 1 // error in case of failure by extracting DCS variables - ,kEStoreRefDCS = 2 // error in case of failure by storing DCS variables references - ,kEFitDCS = 4 // error in case of failure by fitting DCS variables - ,kEStoreDCS = 8 // error in case of failure by storing DCS variables fit results - ,kEListFileHLT = 16 // error in case of failure by taking the listof HLT files - ,kEOpenFileHLT = 32 // error in case of failure by opening the HLTfile - ,kETakeHistoHLT = 64 // error in case of failure by taking the histos HLT - ,kEStoreHistoHLT = 128 // error in case of failure by storing the reference data HLT - ,kEFitHistoHLT = 256 // error in case of failure by fitting the histos HLT - ,kEStoreCalHLT = 512 // error in case of failure by storing the HLTcal objects - ,kEListFileDAQ = 1024 // error in case of failure by taking the list of DAQ files - ,kEOpenFileDAQ = 2048 // error in case of failure by opening the DAQfile - ,kETakeObjectDAQ = 4096 // error in case of failure by taking the objects DAQ - ,kEStoreRefDAQ = 8192 // error in case of failure by storing the reference data DAQ - ,kEFitObjectDAQ = 16384 // error in case of failure by fitting the DAQ objects - ,kEStoreCalDAQ = 32768 // error in case of failure by storing the DAQcal objects - - }; - - protected: - - virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); - virtual UInt_t Process(TMap* dcsAliasMap); - - private: + public: + + AliTRDPreprocessor(AliShuttleInterface *shuttle); + virtual ~AliTRDPreprocessor(); + + protected: + + virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); + virtual UInt_t Process(TMap *dcsAliasMap); + - ClassDef(AliTRDPreprocessor,1) // The SHUTTLE preprocessor for TRD + Bool_t ExtractPedestals(); + Bool_t ExtractDriftVelocityDAQ(); + Bool_t ExtractHLT(); + Bool_t ProcessDCS(); + Bool_t ProcessDCS(TMap *dcsAliasMap); -}; + private: + Bool_t fVdriftHLT; // HLT Vdrift + UInt_t ProcessDCSConfigData(); // process DCS configuration + + + Bool_t AreThereDataPedestal(AliTRDCalSingleChamberStatus *calROCStatus, Bool_t second); + void SetDefaultStatus(AliTRDCalSingleChamberStatus &calROCStatus, Bool_t second); + void SetStatus(AliTRDCalSingleChamberStatus &calROCStatus, AliTRDCalSingleChamberStatus *calROCStatusPrevious,Bool_t second); + void SetDefaultNoise(AliTRDCalROC &calROCNoise, Bool_t second); + void SetNoise(AliTRDCalROC &calROCNoise, AliTRDCalROC *calROCNoisePrevious, Bool_t second); + + ClassDef(AliTRDPreprocessor,1) // The SHUTTLE preprocessor for TRD + +}; #endif