EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairPointSetDraw.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairPointSetDraw.h
1 // -------------------------------------------------------------------------
2 // ----- FairPointSetDraw header file -----
3 // ----- Created 10/12/07 by M. Al-Turany -----
4 // -------------------------------------------------------------------------
5 
6 
14 #ifndef FAIRPOINTSETDRAW_H
15 #define FAIRPOINTSETDRAW_H
16 
17 
18 #include "FairTask.h"
19 //#include "TVector3.h"
20 
21 class FairEventManager;
22 
23 class TClonesArray;
24 class TEvePointSet;
25 class TVector3;
26 
27 class FairPointSetDraw : public FairTask
28 {
29 
30  public:
31 
34 
35 
40  FairPointSetDraw(const char* name, Color_t color ,Style_t mstyle, Int_t iVerbose = 1);
41 
43  virtual ~FairPointSetDraw();
44 
46  void SetVerbose(Int_t iVerbose) {fVerbose = iVerbose;};
48  virtual void Exec(Option_t* option);
49  void Reset();
50  protected:
51 
52  virtual TVector3 GetVector(TObject* obj) = 0;
53  virtual TObject* GetValue(TObject* obj,Int_t i);
54 
55  Int_t fVerbose; // Verbosity level
56  virtual void SetParContainers() ;
57  virtual InitStatus Init();
59  virtual void Finish() ;
60  TClonesArray* fPointList;
62  TEvePointSet* fq;
63  Color_t fColor;
64  Style_t fStyle;
65 
66  private:
69 
71 
72 };
73 
74 
75 #endif