3 #ifndef ALIEVE_ITSScaledModule_H
4 #define ALIEVE_ITSScaledModule_H
7 #include <Alieve/ITSModule.h>
13 /**************************************************************************/
15 /**************************************************************************/
17 class DigitScaleInfo : public TQObject, public Reve::ReferenceBackPtr
20 enum StatType_e { ST_Occup, ST_Average, ST_Rms };
25 Bool_t fAutoUpdatePalette;
27 DigitScaleInfo(const DigitScaleInfo&); // Not implemented
28 DigitScaleInfo& operator=(const DigitScaleInfo&); // Not implemented
32 virtual ~DigitScaleInfo(){}
34 Int_t GetScale() { return fScale; }
35 void ScaleChanged(Int_t s); //*SIGNAL*
37 Int_t GetStatType() { return fStatType; }
38 void StatTypeChanged(Int_t t); //*SIGNAL*
40 ClassDef(DigitScaleInfo, 1);
43 /**************************************************************************/
45 /**************************************************************************/
47 class ScaledDigit : public TObject
57 ScaledDigit(Int_t di, Int_t dj);
59 virtual void Dump() const;
62 /**************************************************************************/
64 /**************************************************************************/
66 class ITSScaledModule : public ITSModule
68 friend class ITSSDSubEditor;
70 map<Int_t, ScaledDigit> fDigitsMap;
72 ITSScaledModule(const ITSScaledModule&); // Not implemented
73 ITSScaledModule& operator=(const ITSScaledModule&); // Not implemented
76 Int_t fNx; // per module
79 Int_t fNCx; // per cell
82 DigitScaleInfo* fScaleInfo;
85 ITSScaledModule(Int_t gid, ITSDigitsInfo* info, DigitScaleInfo* si );
86 virtual ~ITSScaledModule();
88 virtual void QuadSelected(Int_t idx);
90 virtual void LoadQuads();
93 DigitScaleInfo* GetScaleInfo(){ return fScaleInfo; }
95 ClassDef(ITSScaledModule, 1);
96 }; // endclass ITSScaledModule