virtual void ParamOptions(char *opt1,char *opt2) const {// options
strcpy(opt1,fParam1.Data()); strcpy(opt2,fParam2.Data());}
- virtual Bool_t Do10to8() const {// get 10 to 8 compression option
- return fBitComp;}
void SetZeroSupp (const char *opt) {
- // Zero-suppression option - could be 1D, 2D or non-ZS
+ // Zero-suppression option - could be ZS or NOTSUPP
fOption=opt;}
const char *ZeroSuppOption() const {// Get zero-suppression option
return fOption.Data();}
if(i<0 || i>=fNcomps) return 0.;return fGaus->At(i);
}
- Int_t Convert8to10(Int_t signal) const; //undo 10 to 8 bit SDD compresion
-
void SetJitterError(Float_t jitter=20) {
// set Jitter error (20 um for ALICE from beam test measurements 2001)
fJitterError=jitter;}
Float_t JitterError() const {// set Jitter error
return fJitterError;}
- void SetDo10to8(Bool_t bitcomp=kTRUE) {
- // set the option for 10 to 8 bit compression
- fBitComp = bitcomp;}
protected:
// is performed
TArrayF *fGaus; // Gaussian lookup table for signal generation
Int_t fNcomps; // Number of samplings along the gaussian
- Bool_t fBitComp; // 10 to 8 bit compression option
- TString fOption; // Zero-suppresion option (1D, 2D or none)
+ TString fOption; // Zero-suppresion option (ZS or non-ZS)
TString fParam1; // Read baselines from file option
TString fParam2; // Read compression algo thresholds from file
AliITSresponseSDD(const AliITSresponseSDD &ob); // copy constructor
AliITSresponseSDD& operator=(const AliITSresponseSDD & /* source */); // ass. op.
- ClassDef(AliITSresponseSDD,10) // Base response class
+ ClassDef(AliITSresponseSDD,11) // Base response class
};
#endif