// // C++ Interface: PndMvdStripDigiPar // #ifndef PNDMVDSTRIPDIGIPAR_H #define PNDMVDSTRIPDIGIPAR_H #include #include "CbmParGenericSet.h" #include "CbmParamList.h" //! Digitisation Parameter Class for MVD-Strip part class PndMvdStripDigiPar : public CbmParGenericSet { public : PndMvdStripDigiPar (const char* name="PndMvdParTest", const char* title="PndMvd strip digi parameter", const char* context="TestDefaultContext"); ~PndMvdStripDigiPar(void){}; void clear(void){}; void putParams(CbmParamList* list); Bool_t getParams(CbmParamList* list); void Print(); /** Accessor functions **/ Double_t GetTopPitch() const {return topPitch;} Double_t GetBotPitch() const {return botPitch;} Double_t GetOrient() const {return orient;} Double_t GetSkew() const {return skew;} TVector2 GetTopAnchor() const {return topAnchor;} TVector2 GetBotAnchor() const {return botAnchor;} Int_t GetNrTopFE() const {return topNrFE;} Int_t GetNrBotFE() const {return botNrFE;} Int_t GetNrFECh() const {return feChannels;} Double_t GetThreshold() const {return threshold;} Double_t GetNoise() const {return noise;} void SetTopPitch(Double_t x) {topPitch = x;} void SetBotPitch(Double_t x) {botPitch = x;} void SetOrient(Double_t x) {orient = x;} void SetSkew(Double_t x) {skew = x;} void SetTopAnchor(TVector2 x) {topAnchor = x;} void SetBotAnchor(TVector2 x) {botAnchor = x;} void SetNrTopFE(Int_t x) {topNrFE = x;} void SetNrBotFE(Int_t x) {botNrFE = x;} void SetNrFECh(Int_t x) {feChannels = x;} void SetThreshold(Double_t x) {threshold = x;} void SetNoise(Double_t x) {noise = x;} private: // Strip Parameters Double_t topPitch; // Strip pitch on top wafer side Double_t botPitch; // Strip pitch on bottom wafer side Double_t orient; // orientation angle of top strips Double_t skew; // skew angle of bottom strips wrt top strips TVector2 topAnchor; // Anchor point of top strip#0 TVector2 botAnchor; // Anchor point of bottom strip#0 Int_t feChannels; // Number of Channels per FE Int_t topNrFE; // Number of FE attached to top wafer side Int_t botNrFE; // Number of FE attached to bottom wafer side Double_t threshold; // Discriminator threshold Double_t noise; // Complete noise including threshold dispersion // Text_t sensName; // Sensor name (Strip, Pixel, etc...) // Text_t feName; // Frontend name (APV25, CBM-XYTER, ...) ClassDef(PndMvdStripDigiPar,1); }; #endif /*!MVDSTRIPDIGIPAR_H*/