]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HMPID/AliHMPIDCalib.h
Last modification from LM in agreement with Paolo. Pedestal file structure changed...
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDCalib.h
index 5a50feebd2af021703130e45c6df07ab735b3967..a7257866db523e3c937adbbb28c8bd1a37d40fa3 100644 (file)
@@ -15,6 +15,7 @@
 //#include <TH1S.h>
 #include <TMath.h>
 #include <TFile.h>
+#include <TString.h>
 #include "AliHMPIDParam.h"
 #include "AliHMPIDRawStream.h"
 
@@ -30,6 +31,8 @@ public:
           void FillErrors(Int_t nDDL,Int_t nErrType, Int_t nErr);           //Fill the errors from RawStream
           void FillDDLCnt(Int_t iddl,Int_t inDDL, Int_t outDDL);            //Fill the errors from RawStream
         Bool_t CalcPedestal(Int_t nDDL, Char_t* name, Int_t nEv);           //number of the DDL, name of the output file and the number of events processed
+        Bool_t CalcPedestalPaolo(Int_t nDDL, Char_t* name, Int_t nEv);      //number of the DDL, name of the output file and the number of events processed
+        
         Bool_t WriteErrors(Int_t nDDL, Char_t* name, Int_t nEv);            //number of the DDL, name of the output file and the number of events processed
          void InitHisto(Int_t q,Int_t histocnt,Char_t* name);               //Init the pad histograms
          void FillHisto(Int_t histocnt,Int_t q);                            //Fill the ADC histograms
@@ -38,6 +41,12 @@ public:
          void SetRunParams(ULong_t runNum,Int_t timeStamp, Int_t ldcId);    //Set Run Parameters such as Run Number, TimeStamp, LDCid 
          void SetSigCut(Int_t nSigCut) { fSigCut=nSigCut;}                  //Set Sigma Cuts from Setter
          void SetSigCutFromFile(Char_t* name);                              //Set Sigma Cuts from File
+         void SetSigCutFromShell(Char_t* name);                             //Set Sigma Cuts from Bash Shell
+         void SetDaOutFromShell(Char_t* name);                              //Set out dir. of DA from Bash Shell
+         void SetFeeInFromShell(Char_t* name);                              //Set out dir. for Fe2C from Bash Shell
+             
+         TString GetDaOutFromShell() {return  fDaOut;}                      //Get out dir. of DA from Bash Shell
+         TString GetFeeInFromShell() {return  fFeeIn;}                      //Get out dir. for Fe2C from Bash Shell
          void SetWriteHistoPads(Bool_t isOn) {fWritePads=isOn;}             //Set wether ADC histos of pads are written or not
          void SetWriteHistoPads(Bool_t isOn,Bool_t isLarge,Int_t nDDL) {fWritePads=isOn;fLargeHisto=isLarge;fSelectDDL=nDDL;}             //Set wether ADC histos of pads are written or not
          Bool_t GetWritePads()       const{return fWritePads;}              //Set wether ADC histos of pads are written or not
@@ -63,7 +72,9 @@ protected:
     Int_t      *fnDDLOutStream;                                                // if the DDL is in the raw data
     Bool_t      fLargeHisto;                                                   //Default is kFALSE.if kTRUE then write large pad histograms with 4093 bins!!!! Only if you have 2GB of RAM!!!   
     Int_t       fSelectDDL;                                                    //Select the DDL to write for the in the large histograms. Only ONE at one time!
-    
+
+    TString     fDaOut;                                                        //Store the DA output files in this directory
+    TString     fFeeIn;                                                        //
 private:
   AliHMPIDCalib(const AliHMPIDCalib& c);              //dummy copy constructor
   AliHMPIDCalib &operator=(const AliHMPIDCalib& c);   //dummy assignment operator