// // C++ Interface: PndMvdStripDigiPar // #ifndef PNDMVDSTRIPDIGIPAR_H #define PNDMVDSTRIPDIGIPAR_H #include // #include #include #include "FairParGenericSet.h" #include "FairParamList.h" //! Digitization Parameter Class for MVD-Strip part class PndMvdStripDigiPar : public FairParGenericSet { public : PndMvdStripDigiPar (const char* name="PndMvdParTest", const char* title="PndMvd strip digi parameter", const char* context="TestDefaultContext"); ~PndMvdStripDigiPar(void){}; void clear(void){}; void putParams(FairParamList* list); Bool_t getParams(FairParamList* list); void Print(); /** Accessor functions **/ Double_t GetTopPitch() const {return fTopPitch;} Double_t GetBotPitch() const {return fBotPitch;} Double_t GetOrient() const {return fOrient;} Double_t GetSkew() const {return fSkew;} TVector2 GetTopAnchor() const {return fTopAnchor;} TVector2 GetBotAnchor() const {return fBotAnchor;} Int_t GetNrTopFE() const {return fTopNrFE;} Int_t GetNrBotFE() const {return fBotNrFE;} Int_t GetNrFECh() const {return fFeChannels;} Double_t GetThreshold() const {return fThreshold;} Double_t GetNoise() const {return fNoise;} const char* GetSensType() const {return fSensType.Data();} const char* GetFeType() const {return fFeType.Data();} void SetTopPitch(Double_t x) {fTopPitch = x;} void SetBotPitch(Double_t x) {fBotPitch = x;} void SetOrient(Double_t x) {fOrient = x;} void SetSkew(Double_t x) {fSkew = x;} void SetTopAnchor(TVector2 x) {fTopAnchor = x;} void SetBotAnchor(TVector2 x) {fBotAnchor = x;} void SetNrTopFE(Int_t x) {fTopNrFE = x;} void SetNrBotFE(Int_t x) {fBotNrFE = x;} void SetNrFECh(Int_t x) {fFeChannels = x;} void SetThreshold(Double_t x) {fThreshold = x;} void SetNoise(Double_t x) {fNoise = x;} void SetSensType(TString x) {fSensType = x;} void SetFeType(TString x) {fFeType = x;} private: // Strip Parameters Double_t fTopPitch; // Strip pitch on top wafer side Double_t fBotPitch; // Strip pitch on bottom wafer side Double_t fOrient; // orientation angle of top strips Double_t fSkew; // skew angle of bottom strips wrt top strips TVector2 fTopAnchor; // Anchor point of top strip#0 TVector2 fBotAnchor; // Anchor point of bottom strip#0 Int_t fFeChannels; // Number of Channels per FE Int_t fTopNrFE; // Number of FE attached to top wafer side Int_t fBotNrFE; // Number of FE attached to bottom wafer side Double_t fThreshold; // Discriminator threshold Double_t fNoise; // Complete noise including threshold dispersion TString fSensType; // Sensor type name (rect, trap...) TString fFeType; // Frontend type name (APV25, CBM-XYTER, ...) ClassDef(PndMvdStripDigiPar,2); }; #endif /* !PNDMVDSTRIPDIGIPAR_H*/