X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=HLT%2FEMCAL%2FAliHLTEMCALConstants.h;h=9ecd9778e0e9993a768a3cfa24d463aeaceab7f5;hp=7fe5dfc353512f5f545fc2ef5b8cb3118c1518a0;hb=9d6308d14ead42658003060577884e39fde0ef2e;hpb=22406a6ad43a857ff31471da71b78973c0436957 diff --git a/HLT/EMCAL/AliHLTEMCALConstants.h b/HLT/EMCAL/AliHLTEMCALConstants.h index 7fe5dfc3535..9ecd9778e0e 100644 --- a/HLT/EMCAL/AliHLTEMCALConstants.h +++ b/HLT/EMCAL/AliHLTEMCALConstants.h @@ -22,151 +22,26 @@ #ifndef ALIHLTEMCALCONSTANTS_H #define ALIHLTEMCALCONSTANTS_H -class AliHLTCaloConstants; + +#include "AliHLTCaloConstants.h" class AliHLTEMCALConstants : public AliHLTCaloConstants { - -public: +public: AliHLTEMCALConstants(); ~AliHLTEMCALConstants(); - - Int_t GetMAXHOSTS() const { return fkMAXHOSTS;} - Int_t GetDEFAULTEVENTPORT() const { return fkDEFAULTEVENTPORT; } - Int_t GetMAXBINVALUE() const { return fkMAXBINVALUE; } - Int_t GetHIGHGAIN() const { return fkHIGHGAIN;} - Int_t GetLOWGAIN() const { return fkLOWGAIN;} - - Int_t GetALTROMAXSAMPLES() const {return fkALTROMAXSAMPLES;} - Int_t GetALTROMAXPRESAMPLES() const { return fkALTROMAXPRESAMPLES;} - - Int_t GetNZROWSRCU() const { return fkNZROWSRCU;} - Int_t GetNXCOLUMNSRCU() const { return fkNXCOLUMNSRCU;} - Int_t GetNZROWSMOD() const { return fkNZROWSMOD;} - Int_t GetNXCOLUMNSMOD() const { return fkNXCOLUMNSMOD;} - Int_t GetNGAINS() const { return fkNGAINS;} - Int_t GetNDATATYPES() const { return fkNDATATYPES;} - - Int_t GetPFMAXPATHLENGTH() const { return fkPFMAXPATHLENGTH;} - - Int_t GetPFDEFAULTNSAMPLES() const{ return fkPFDEFAULTNSAMPLES;} - Int_t GetPFDEFAULTSTARTINDEX() const { return fkPFDEFAULTSTARTINDEX;} + virtual Int_t GetNZROWSMOD() const { return EMCAL::NZROWSMOD;} + virtual Int_t GetNXCOLUMNSMOD() const { return EMCAL::NXCOLUMNSMOD;}; + virtual Int_t GetNMODULES() const { return EMCAL::NMODULES; }; + virtual Int_t GetNRCUSPERMODULE() const { return EMCAL::NRCUSPERMODULE;}; + virtual Int_t GetNFEECS() const { return EMCAL::NFEECS; } ; + virtual void InitConstants(); - Double_t GetDEFAULTTAU() const { return fkDEFAULTTAU;} - Int_t GetDEFAULTFS() const { return fkDEFAULTFS;} - - Int_t GetMODULE0() const { return fkMODULE0;} - Int_t GetMODULE1() const { return fkMODULE1;} - Int_t GetMODULE2() const { return fkMODULE2;} - Int_t GetMODULE3() const { return fkMODULE3;} - Int_t GetMODULE4() const { return fkMODULE4;} - - Int_t GetCSPSPERFEE() const { return fkCSPSPERFEE;} - Int_t GetRCU0() const { return fkRCU0;} - Int_t GetRCU1() const { return fkRCU1;} - Int_t GetRCU2() const { return fkRCU2;} - Int_t GetRCU3() const { return fkRCU3;} - - Int_t GetZ0() const { return fkZ0;} - Int_t GetZ1() const { return fkZ1;} - Int_t GetX0() const { return fkX0;} - Int_t GetX1() const { return fkX1;} - - Int_t GetNMODULES() const { return fkNMODULES;} - Int_t GetNRCUS() const { return fkNRCUS;} - - Int_t GetNRCUSPERMODULE() const { return fkNRCUSPERMODULE;} - Int_t GetNRCUSPERTOTAL() const { return fkNRCUSPERTOTAL;} - Int_t GetNFEECS() const { return fkNFEECS;} - Int_t GetNALTROS() const { return fkNALTROS;} - Int_t GetNALTROCHANNELS() const { return fkNALTROCHANNELS;} - Int_t GetNBRANCHES() const { return fkNBRANCHES;} - - Float_t GetCELLSTEP() const { return fkCELLSTEP; } - Float_t GetMAXCELLSTEPETA() const { return fkMAXCELLSTEPETA; } //FR - Float_t GetMINCELLSTEPETA() const { return fkMINCELLSTEPETA; } //FR - Float_t GetCELLSTEPPHI() const { return fkCELLSTEPPHI; } //FR - Float_t GetCELLHEIGHT() const { return fkCELLHEIGHT; } //FR - Float_t GetCELLANGLE() const { return fkCELLANGLE; } //FR - Float_t GetRADLENGTH() const { return fkRADLENGTH; } //FR - Float_t GetCRITICENERGY() const { return fkCRITICENERGY; } //FR - Float_t GetGJ() const { return fkCJ;} //FR - Int_t GetNRCUSPERSECTOR() const { return fkNRCUSPERSECTOR; } - Int_t GetDDLOFFSET() const { return fkDDLOFFSET; } - - private: - - /** Constant members */ - - const Int_t fkMAXHOSTS;//Constant - const Int_t fkDEFAULTEVENTPORT;//Constant - const Int_t fkMAXBINVALUE;//Constant - const Int_t fkHIGHGAIN;//Constant - const Int_t fkLOWGAIN;//Constant - - const Int_t fkALTROMAXSAMPLES; /**