]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HMPID/AliHMPIDPreprocessor.h
Setting from Config.C all the values for beam line elements with variable apertures.
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDPreprocessor.h
index c7b32f3fd5b340fa4567b8bc1bf5f939ffd47c49..db0ba94eafeb79b554e70feb0e12077ba5d046d2 100644 (file)
@@ -3,28 +3,32 @@
 
 #include <AliPreprocessor.h> //base class
 
+//.
 //.
 //HMPID Preprocessor base class 
 //.
+//.
 class TMap;
 
 class AliHMPIDPreprocessor : public AliPreprocessor
 {
 public:
-           AliHMPIDPreprocessor(AliShuttleInterface* pShuttle):AliPreprocessor("HMP",pShuttle) {}
+           AliHMPIDPreprocessor(AliShuttleInterface* pShuttle):AliPreprocessor("HMP",pShuttle) 
+           {
+               AddRunType("PHYSICS");
+               AddRunType("CALIBRATION");
+               AddRunType("STANDALONE");
+           }
   virtual ~AliHMPIDPreprocessor(                             )                                 {}
-  static char*     GetP ()    {return fgP;}        //getter for pressure
-  static char*     GetHV()    {return fgHV;}       //getter for high voltage
-  static char*     GetT1()    {return fgT1;}       //getter for inlet temperature
-  static char*     GetT2()    {return fgT2;}       //getter for inlet temperature
 protected:
-  static char    *fgP;     // Name of the aliases provided by the DCS
-  static char    *fgHV;    // Name of the aliases provided by the DCS
-  static char    *fgT1;    // Name of the aliases provided by the DCS
-  static char    *fgT2;    // Name of the aliases provided by the DCS
-  virtual void   Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
-  virtual UInt_t Process   (TMap* pDcsMap                              );
-  ClassDef(AliHMPIDPreprocessor, 0);
+  virtual void     Initialize  (Int_t run, UInt_t startTime, UInt_t endTime); //
+  virtual UInt_t   Process     (TMap* pDcsMap                              ); //process everthing
+          Bool_t   ProcDcs     (TMap* pDcsMap                              ); //process DCS data points
+          Bool_t   ProcNoiseMap(                                           ); //process Nosie Map from HMP Physics DA
+          Bool_t   ProcPed     (                                           ); //process pedestal files
+          Double_t ProcTrans   (TMap *pDcsMap                              );
+          Double_t DefaultEMean();                                          //set a default value in ePhotMean                             
+  ClassDef(AliHMPIDPreprocessor, 1);
 };
 
 #endif