#pragma once #ifndef PNDEMCFWENDCAPDIGIPAR_H #define PNDEMCFWENDCAPDIGIPAR_H #include "PndEmcWfSimulatorPar.h" #include "PndEmcHighLowPSAPar.h" #include //COMIBING DIFFERENT PARAMETER CONTAINERS VIA DIAMOND INHERITANCE class PndEmcFWEndcapDigiPar : public PndEmcWfSimulatorPar, public PndEmcHighLowPSAPar { public: PndEmcFWEndcapDigiPar(const char* name="PndEmcFWEndcapDigiPar", const char* title="Emc forward endcap digi parameters", const char* context="TestDefaultContext"); ~PndEmcFWEndcapDigiPar(void){}; Int_t GetUse_photon_statistic() {return fUse_photon_statistic;}; Double_t GetQuantumEfficiencyAPD() {return fQuantumEfficiencyAPD;}; Double_t GetExcessNoiseFactorAPD() {return fExcessNoiseFactorAPD;}; Double_t GetSensitiveAreaAPD() {return fSensitiveAreaAPD;}; Double_t GetDetectedPhotonsPerMeV() {return fDetectedPhotonsPerMeV;}; Int_t GetNBits() { return fNBits; }; Double_t GetPulseshapeTau() {return fPulseshapeTau;}; Double_t GetPulseshapeN() {return fPulseshapeN;}; Double_t GetEnergyRangeHigh() {return fEnergyRangeHigh;}; Double_t GetEnergyRangeLow() {return fEnergyRangeLow;}; Double_t GetNoiseWidthHigh() {return fNoiseWidthHigh;}; Double_t GetNoiseWidthLow() {return fNoiseWidthLow;}; Double_t GetEnergyDigiThreshold() { return fEnergyDigiThreshold;}; Double_t GetCalibHigh() {return fCalibHigh;}; Double_t GetCalibLow() {return fCalibLow;}; virtual void putParams(FairParamList* list); virtual Bool_t getParams(FairParamList* list); private: // Empty method, WHY is this Called in constructor(FIXME) void clear(void){}; Int_t fUse_photon_statistic; Double_t fQuantumEfficiencyAPD; Double_t fExcessNoiseFactorAPD; Double_t fSensitiveAreaAPD; Double_t fDetectedPhotonsPerMeV; Int_t fNBits; Double_t fPulseshapeTau; Double_t fPulseshapeN; Double_t fEnergyRangeHigh; Double_t fEnergyRangeLow; Double_t fNoiseWidthHigh; Double_t fNoiseWidthLow; Double_t fEnergyDigiThreshold; Double_t fCalibHigh; Double_t fCalibLow; ClassDef(PndEmcFWEndcapDigiPar, 1); }; #endif