/* $Id$ */
#include "TObject.h"
-#include "TString.h"
+//#include "TString.h"
class TMap;
class TClonesArray;
-class TH2F;
-class TGraph;
-class TF1;
-//class TString;
+//class TH2F;
+//class TGraph;
+//class TF1;
+class TString;
class AliTOFFormatDCS;
// AliTOFDataDCS class
class AliTOFDataDCS : public TObject {
public:
- enum {kNAliases=10944, kNHV=90, kNLV=792,
- kNLV33=72, kNLV50=72, kNLV48=72,
- kNFEEthr=1152, kNFEEtfeac=576, kNFEEttrm=6840,
- kNFunctions=0};
+ enum {kNAliases=360, kNHV=90};
AliTOFDataDCS();
- AliTOFDataDCS(Int_t nRun, UInt_t startTime, UInt_t endTime);
+ AliTOFDataDCS(Int_t nRun, UInt_t startTime, UInt_t endTime, UInt_t startTimeDCSQuery, UInt_t endTimeDCSQuery );
AliTOFDataDCS(const AliTOFDataDCS & data);
AliTOFDataDCS& operator=(const AliTOFDataDCS & data);
~AliTOFDataDCS();
void SetRun(Int_t run) {fRun = run;}
void SetStartTime(Int_t startTime) {fStartTime = startTime;}
void SetEndTime(Int_t endTime) {fEndTime = endTime;}
+ void SetStartTimeDCSQuery(Int_t startTimeDCSQuery) {fStartTimeDCSQuery = startTimeDCSQuery;}
+ void SetEndTimeDCSQuery(Int_t endTimeDCSQuery) {fEndTimeDCSQuery = endTimeDCSQuery;}
Int_t GetRun() const {return fRun;}
Int_t GetStartTime() const {return fStartTime;}
Int_t GetEndTime() const {return fEndTime;}
+ Int_t GetStartTimeDCSQuery() const {return fStartTimeDCSQuery;}
+ Int_t GetEndTimeDCSQuery() const {return fEndTimeDCSQuery;}
Bool_t ProcessData(TMap& aliasMap);
{return pos<kNHV ? fHVip[pos] : 0;}
AliTOFFormatDCS* GetHVin(Int_t pos) const
{return pos<kNHV ? fHVin[pos] : 0;}
- AliTOFFormatDCS* GetLVv(Int_t pos) const
- {return pos<kNLV ? fLVv[pos] : 0;}
- AliTOFFormatDCS* GetLVi(Int_t pos) const
- {return pos<kNLV ? fLVi[pos] : 0;}
- AliTOFFormatDCS* GetLVv33(Int_t pos) const
- {return pos<kNLV ? fLVv33[pos] : 0;}
- AliTOFFormatDCS* GetLVi33(Int_t pos) const
- {return pos<kNLV ? fLVi33[pos] : 0;}
- AliTOFFormatDCS* GetLVv50(Int_t pos) const
- {return pos<kNLV ? fLVv50[pos] : 0;}
- AliTOFFormatDCS* GetLVi50(Int_t pos) const
- {return pos<kNLV ? fLVi50[pos] : 0;}
- AliTOFFormatDCS* GetLVv48(Int_t pos) const
- {return pos<kNLV ? fLVv48[pos] : 0;}
- AliTOFFormatDCS* GetLVi48(Int_t pos) const
- {return pos<kNLV ? fLVi48[pos] : 0;}
- AliTOFFormatDCS* GetFEEthr(Int_t pos) const
- {return pos<kNFEEthr ? fFEEthr[pos] : 0;}
- AliTOFFormatDCS* GetFEEtfeac(Int_t pos) const
- {return pos<kNFEEtfeac ? fFEEtfeac[pos] : 0;}
- AliTOFFormatDCS* GetFEEttrm(Int_t pos) const
- {return pos<kNFEEttrm ? fFEEttrm[pos] : 0;}
void SetFDRFlag(Bool_t flag) {fFDR = flag;}
Bool_t GetFDRFlag() const {return fFDR;}
Int_t fRun; // Run number
Int_t fStartTime; // start time
Int_t fEndTime; // end time
+ Int_t fStartTimeDCSQuery; // start time DCSQuery
+ Int_t fEndTimeDCSQuery; // end time DCSQuery
TString fAliasNames[kNAliases]; // aliases for DCS data
AliTOFFormatDCS *fHVvp[kNHV]; // HV voltages, positive ch
AliTOFFormatDCS *fHVvn[kNHV]; // HV voltages, negative ch
AliTOFFormatDCS *fHVip[kNHV]; // HV currents, positive ch
AliTOFFormatDCS *fHVin[kNHV]; // HV currents, negative ch
- AliTOFFormatDCS *fLVv[kNLV]; // LV fea voltages
- AliTOFFormatDCS *fLVi[kNLV]; // LV fea currents
- AliTOFFormatDCS *fLVv33[kNLV33]; // LV 3.3 V voltages
- AliTOFFormatDCS *fLVi33[kNLV33]; // LV 3.3 V currents
- AliTOFFormatDCS *fLVv50[kNLV50]; // LV 5.0 V voltages
- AliTOFFormatDCS *fLVi50[kNLV50]; // LV 5.0 V currents
- AliTOFFormatDCS *fLVv48[kNLV48]; // LV 48 V voltages
- AliTOFFormatDCS *fLVi48[kNLV48]; // LV 48 V currents
- AliTOFFormatDCS *fFEEthr[kNFEEthr]; // FEE thresholds
- AliTOFFormatDCS *fFEEtfeac[kNFEEtfeac];// FEE feac temperatures
- AliTOFFormatDCS *fFEEttrm[kNFEEttrm]; // FEE trm temperatures
Bool_t fIsProcessed; // bool to know processing status
Bool_t fFDR; // bool to know whether we are in a FDR run
- ClassDef(AliTOFDataDCS, 4);
+ ClassDef(AliTOFDataDCS, 5);
};
#endif