PandaRoot
PndMvdDigiPixelDraw.h
Go to the documentation of this file.
1 
9 #ifndef PNDMVDDIGIPIXELDRAW_H_
10 #define PNDMVDDIGIPIXELDRAW_H_
11 
12 #include "FairBoxSetDraw.h"
13 #include "PndSdsDigiPixel.h"
14 #include "PndGeoHandling.h"
15 
16 #include "TVector3.h"
17 #include "TEveBoxSet.h"
18 
19 #include <map>
20 #include <vector>
21 
22 typedef std::map<Int_t, TEveBoxSet *>::iterator boxSetMapIter;
23 
24 class PndMvdDigiPixelDraw : public FairBoxSetDraw {
25  public:
27  explicit PndMvdDigiPixelDraw(const char *name, Int_t iVerbose = 1);
28  virtual ~PndMvdDigiPixelDraw();
29 
30  void Exec(Option_t *option);
31 
32  void Reset();
33 
34  protected:
35  TVector3 GetVector(TObject *) { return TVector3(); } // obj //[R.K.03/2017] unused variable(s)
36 
37  InitStatus Init();
38 
39  void SortDigis(TClonesArray *digis);
40  TEveBoxSet *CreateNewBoxSet(TString &name);
41 
42  private:
43 
44  std::map<Int_t, TEveBoxSet *> fModules;
45  PndGeoHandling *fGeoH = nullptr;
46  TClonesArray *fClusterCands = nullptr;
47  TClonesArray *fRecoHits = nullptr;
48 
49  Double_t fPixelSize;
50  Double_t fBoxSize;
51 
52  Bool_t fUseCluster = kTRUE;
53 
54  ClassDef(PndMvdDigiPixelDraw, 1);
55 };
56 
57 #endif /* PNDMVDDIGIPIXELDRAW_H_ */
TEveBoxSet * CreateNewBoxSet(TString &name)
TVector3 GetVector(TObject *)
void SortDigis(TClonesArray *digis)
void Exec(Option_t *option)
Class to access the naming information of the MVD.
InitStatus Init()
Class to display MVD digis in the event display.
std::map< Int_t, TEveBoxSet * >::iterator boxSetMapIter
virtual ~PndMvdDigiPixelDraw()