X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2FEMCAL%2FAliHLTEMCALConstants.h;h=9ecd9778e0e9993a768a3cfa24d463aeaceab7f5;hb=2b35ac47534de764a6b032b6bdc52e4ff7c68af6;hp=c21045967ee7ce0bfd72af76a19fb4790e6a6e44;hpb=a0fab818b0b5b7191ce2a45c682ce4a24686d7b9;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/EMCAL/AliHLTEMCALConstants.h b/HLT/EMCAL/AliHLTEMCALConstants.h index c21045967ee..9ecd9778e0e 100644 --- a/HLT/EMCAL/AliHLTEMCALConstants.h +++ b/HLT/EMCAL/AliHLTEMCALConstants.h @@ -22,156 +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;} + 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(); - Int_t GetPFDEFAULTNSAMPLES() const{ return fkPFDEFAULTNSAMPLES;} - Int_t GetPFDEFAULTSTARTINDEX() const { return fkPFDEFAULTSTARTINDEX;} - - 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; } - TString GetDETNAME() const { return fkDETNAME; } - 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; /**