X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ACORDE%2FAliACORDEDataDCS.h;h=f654cfb45f1deeafa14c069336ea42f384b4c4ee;hb=91bf4f1de17e253a52c6b560e1ccc6a9e3a3569c;hp=2fd4766cd28c9c84eb370446821aac41511332e7;hpb=81f02b9ab6f39cf96c61a494d27cca4763aa5ccc;p=u%2Fmrichter%2FAliRoot.git diff --git a/ACORDE/AliACORDEDataDCS.h b/ACORDE/AliACORDEDataDCS.h index 2fd4766cd28..f654cfb45f1 100644 --- a/ACORDE/AliACORDEDataDCS.h +++ b/ACORDE/AliACORDEDataDCS.h @@ -1,12 +1,18 @@ -#ifndef AliACORDEDataDCS_H -#define AliACORDEDataDCS_H +/**************************************************** + AliACORDEDataDCS class + Pointer to the DCS objects + Author: Pedro Gonzalez (CIEMAT, Madrid) + Last updated: March 21 th 2010 + Fixing coding violatgion + Mario Rodriguez (FCFM-BUAP, Puebla MX) + +*****************************************************/ +#ifndef AliACORDEDATADCS_H +#define AliACORDEDATADCS_H -#include #include -#include #include -#include - +#include class AliACORDEDataDCS : public TObject { public: enum {kNAliases=60, kNHistos=60, kNGraphs=60, kNFunctions=2}; @@ -19,27 +25,25 @@ public: ~AliACORDEDataDCS(); - void SetRun(Int_t run) {fRun = run;} + void SetRun(Int_t run) {fRun = run;} void SetStartTime(Int_t startTime) {fStartTime = startTime;} void SetEndTime(Int_t endTime) {fEndTime = endTime;} - Int_t GetRun() {return fRun;} - Int_t GetStartTime() {return fStartTime;} - Int_t GetEndTime() {return fEndTime;} + Int_t GetRun() const {return fRun;} + Int_t GetStartTime() const {return fStartTime;} + Int_t GetEndTime() const {return fEndTime;} void ProcessData(TMap& aliasMap); const char* GetAliasName(UInt_t pos) {return posEval(time) : -1;} @@ -52,19 +56,19 @@ private: void Introduce(UInt_t numAlias, const TObjArray* aliasArr); void CreateGraph(int i, int dim, const Double_t *x, const Double_t *y); - Int_t fRun; - UInt_t fStartTime; - UInt_t fEndTime; + Int_t fRun; // # of Run + UInt_t fStartTime; // Start time of the Run + UInt_t fEndTime; // End time of the Run - Float_t fMean[kNHistos]; - Float_t fWidth[kNHistos]; + Float_t fMean[kNHistos]; // Mean of hits distribution for ACORDE + Float_t fWidth[kNHistos]; // Width of the hits dist. for ACORDE - TString fAliasNames[kNAliases]; - TH1F *fHv[kNHistos]; - TClonesArray fGraphs; - TF1 *fFunc; + TString fAliasNames[kNAliases]; // Alias names for ACORDE Data Points + TH1F *fHv[kNHistos]; // High Voltage values + TClonesArray fGraphs; // Clones of plots for ACORDE + TF1 *fFunc; // Funtion for ACORDE DP - Bool_t fIsProcessed; + Bool_t fIsProcessed; // Boolean flag to know if the vent was processed ClassDef(AliACORDEDataDCS, 1); };