]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALPreprocessor.h
add protection against truncated events + coverity - Rachid
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALPreprocessor.h
1 #ifndef ALIEMCALPREPROCESSOR_H
2 #define ALIEMCALPREPROCESSOR_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7 ///////////////////////////////////////////////////////////////////////////////
8 // Class AliEMCALPreprocessor
9 ///////////////////////////////////////////////////////////////////////////////
10
11
12 #include "AliPreprocessor.h"
13
14 class AliEMCALSensorTempArray;
15 class TEnv;
16
17 class AliEMCALPreprocessor : public AliPreprocessor {
18
19  public:
20   
21   AliEMCALPreprocessor(); //! ctor
22   AliEMCALPreprocessor(AliShuttleInterface* shuttle); //! overloaded ctor
23   AliEMCALPreprocessor(const AliEMCALPreprocessor &); //! copy ctor
24   AliEMCALPreprocessor& operator = (const  AliEMCALPreprocessor &source); //! assignment operator
25   virtual ~AliEMCALPreprocessor();//! dtor
26
27  protected:
28
29   virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);//!
30   virtual UInt_t Process(TMap* dcsAliasMap);//!
31   UInt_t  MapTemperature(TMap* dcsAliasMap);//!
32   UInt_t  MapTriggerConfig(TMap* dcsAliasMap);//!
33   UInt_t  ExtractPedestals(Int_t sourceFXS);//!
34   UInt_t  ExtractSignal(Int_t sourceFXS);//!
35
36  private:
37   TEnv                   *fConfEnv;  // Preprocessor configuration map
38   AliEMCALSensorTempArray  *fTemp;     // CDB class for temperature sensors
39   Bool_t                 fConfigOK;  // Identify succesful reading of OCDB Config
40     
41   ClassDef(AliEMCALPreprocessor,1);
42
43 };
44
45 #endif