X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=TRD%2FAliTRDPreprocessor.h;h=b4174a037007e005e57723bf7a027bbb06ee28de;hp=02c86cfbdb94df24611f22b739a1474761d64345;hb=a9877bd099040d6fe7b77f69768b4ea62b65e491;hpb=4bb88069df81f85a3d2544c7bbdf21eab22b4eb5 diff --git a/TRD/AliTRDPreprocessor.h b/TRD/AliTRDPreprocessor.h index 02c86cfbdb9..b4174a03700 100644 --- a/TRD/AliTRDPreprocessor.h +++ b/TRD/AliTRDPreprocessor.h @@ -14,23 +14,50 @@ #include "AliPreprocessor.h" +class TMap; +class AliTRDCalDCSv2; +class AliTRDCalROC; +class AliTRDCalSingleChamberStatus; + class AliTRDPreprocessor : public AliPreprocessor { - public: + public: - AliTRDPreprocessor(AliShuttleInterface *shuttle); - virtual ~AliTRDPreprocessor(); + AliTRDPreprocessor(AliShuttleInterface *shuttle); + AliTRDPreprocessor(const AliTRDPreprocessor &org); + virtual ~AliTRDPreprocessor(); - protected: - virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); - virtual UInt_t Process(TMap* /*dcsAliasMap*/); + protected: - private: - - ClassDef(AliTRDPreprocessor,0) // The SHUTTLE preprocessor for TRD + virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime); + virtual UInt_t Process(TMap *dcsAliasMap); -}; + Bool_t ExtractHalfChamberStatusDAQ(); + Bool_t ExtractPedestals(); + Bool_t ExtractDriftVelocityDAQ(); + Bool_t ExtractHLT(); + Bool_t ProcessDCS(); + Bool_t ProcessDCS(TMap *dcsAliasMap); + AliTRDPreprocessor& operator = (const AliTRDPreprocessor& rhs); + + private: + + AliTRDCalDCSv2* fCalDCSObjSOR; // + AliTRDCalDCSv2* fCalDCSObjEOR; // + + Bool_t fVdriftHLT; // HLT Vdrift + UInt_t ProcessDCSConfigData(); // process DCS configuration + Bool_t AreThereDataPedestal(AliTRDCalSingleChamberStatus * const 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 +