|
Last change
on this file since 607 was 602, checked in by harald, 25 years ago |
|
neccessary changes after the transformation MNphotEvent --> MCerPhotEvt
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | #ifndef MCAMDISPLAY_H
|
|---|
| 2 | #define MCAMDISPLAY_H
|
|---|
| 3 |
|
|---|
| 4 | #include <iostream>
|
|---|
| 5 |
|
|---|
| 6 | #include "MAGIC.h"
|
|---|
| 7 |
|
|---|
| 8 | #define ITEMS_LEGEND 25
|
|---|
| 9 |
|
|---|
| 10 | class TClonesArray ;
|
|---|
| 11 | class MCerPhotEvt ;
|
|---|
| 12 |
|
|---|
| 13 | class MCamDisplay : public TObject
|
|---|
| 14 | {
|
|---|
| 15 | private:
|
|---|
| 16 | Bool_t fAutoScale ; // indicating the autoscale function
|
|---|
| 17 |
|
|---|
| 18 | Int_t fNbPixels ; //
|
|---|
| 19 | TClonesArray *fPixels ; //!
|
|---|
| 20 |
|
|---|
| 21 | Float_t fMinPhe ; // The minimal number of Phe
|
|---|
| 22 | Float_t fMaxPhe ; // The maximum number of Phe
|
|---|
| 23 |
|
|---|
| 24 | TClonesArray *fLegend ; //!
|
|---|
| 25 | TClonesArray *fLegText ; //!
|
|---|
| 26 |
|
|---|
| 27 | public:
|
|---|
| 28 |
|
|---|
| 29 | MCamDisplay ( Int_t type=0 ) ;
|
|---|
| 30 |
|
|---|
| 31 | ~MCamDisplay () ;
|
|---|
| 32 |
|
|---|
| 33 | void Init() ;
|
|---|
| 34 |
|
|---|
| 35 | void Draw(Option_t *option = "" ) ;
|
|---|
| 36 |
|
|---|
| 37 | void Draw( MCerPhotEvt *event) ;
|
|---|
| 38 | void DrawError( MCerPhotEvt *event) ;
|
|---|
| 39 |
|
|---|
| 40 | void Reset() ;
|
|---|
| 41 |
|
|---|
| 42 | Int_t GetColor( Float_t wert ) ;
|
|---|
| 43 |
|
|---|
| 44 | void UpdateLegend() ;
|
|---|
| 45 |
|
|---|
| 46 | void SetAutoScale (Bool_t input = kTRUE )
|
|---|
| 47 | {
|
|---|
| 48 | fAutoScale = input ;
|
|---|
| 49 | }
|
|---|
| 50 |
|
|---|
| 51 | //Int_t GetNbPixels() ;
|
|---|
| 52 |
|
|---|
| 53 | ClassDef(MCamDisplay, 1) // Base (abstract) class for a task
|
|---|
| 54 | };
|
|---|
| 55 |
|
|---|
| 56 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.