]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDPreprocessor.h
Split DAQ DA into two tasks
[u/mrichter/AliRoot.git] / TRD / AliTRDPreprocessor.h
CommitLineData
e5c60cc7 1#ifndef ALI_TRD_PREPROCESSOR_H
2#define ALI_TRD_PREPROCESSOR_H
3
ec55623f 4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
e5c60cc7 8
ec55623f 9////////////////////////////////////////////////////////////////////////////
10// //
11// TRD preprocessor for the database SHUTTLE //
12// //
13////////////////////////////////////////////////////////////////////////////
14
15#include "AliPreprocessor.h"
e5c60cc7 16
6ace5fe2 17class TMap;
18
e5c60cc7 19class AliTRDPreprocessor : public AliPreprocessor
20{
21
22 public:
23
ec55623f 24 AliTRDPreprocessor(AliShuttleInterface *shuttle);
e5c60cc7 25 virtual ~AliTRDPreprocessor();
26
a5e1169e 27 enum {
6ace5fe2 28 kEExtractDCS = 1 // error in case of failure by extracting DCS variables
29 ,kEStore = 2 // Store or StoreReferenceData
30 ,kEGetFileHLT = 4 // GetFileSources and GetFile HLT
31 ,kEEmptyListHLT = 8 // Empty list HLT
32 ,kEGetFileDAQ = 16 // GetFileSources and GetFile DAQ
33 ,kEEmptyListDAQ = 32 // Empty list DAQ
a5e1169e 34 };
35
e5c60cc7 36 protected:
37
38 virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
a5e1169e 39 virtual UInt_t Process(TMap* dcsAliasMap);
40
6ace5fe2 41
42 void ExtractPedestals();
43 void ExtractDriftVelocityDAQ();
44 void ExtractHLT();
45 void ProcessDCS(TMap*dcsAliasMap);
46
e5c60cc7 47 private:
48
6ace5fe2 49
50 UInt_t fResult; // result preprocessor
51 Bool_t fVdriftHLT; // HLT Vdrift
a5e1169e 52 ClassDef(AliTRDPreprocessor,1) // The SHUTTLE preprocessor for TRD
e5c60cc7 53
54};
55
56#endif