PandaRoot
PndDrcAccuDigiPixelDraw.h
Go to the documentation of this file.
1 
9 #ifndef PNDDRCACCUDIGIPIXELDRAW_H_
10 #define PNDDRCACCUDIGIPIXELDRAW_H_
11 
12 #include "FairBoxSetDraw.h"
13 #include "PndGeoHandling.h"
14 #include "PndGeoDrc.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 typedef std::map<Int_t, Int_t>::iterator IntIter;
24 
25 class PndDrcAccuDigiPixelDraw : public FairBoxSetDraw {
26  public:
28  PndDrcAccuDigiPixelDraw(const char *name, TString digifile, Double_t weight = 0, Int_t ndigievents = 0, Int_t iVerbose = 1);
29 
30  virtual ~PndDrcAccuDigiPixelDraw();
31 
32  void Exec(Option_t *option);
33 
34  protected:
35  TVector3 GetVector(TObject *) { return TVector3(); } // obj //[R.K.03/2017] unused variable(s)
36 
37  InitStatus Init();
38 
39  void ReadAllHits();
40  void SortDigis(TClonesArray *digis);
41  TEveBoxSet *CreateNewBoxSet(TString &name);
42 
43  std::map<Int_t, TEveBoxSet *> fHitsArr;
44  std::map<Int_t, Int_t> fHitsN;
45  PndGeoHandling *fGeoH = nullptr;
46  TClonesArray *fClusterCands = nullptr;
47  TClonesArray *fRecoHits = nullptr;
48 
49  TString fDigiFile;
50  Int_t fNdigiEvents = 0;
51  Double_t fBoxHeight;
52  Bool_t fFirstEvent;
53 
54  Double_t fPixelSize;
55  Double_t fBoxSize;
56 
57  PndGeoDrc *fGeo = nullptr;
58 
60 };
61 
62 #endif /* PNDDRCACCUDIGIPIXELDRAW_H_ */
void SortDigis(TClonesArray *digis)
void Exec(Option_t *option)
std::map< Int_t, Int_t > fHitsN
std::map< Int_t, TEveBoxSet * > fHitsArr
Class to access the naming information of the MVD.
virtual ~PndDrcAccuDigiPixelDraw()
Class allows to plot DIRC digitized hits in accumulative mode using Event Display.
TEveBoxSet * CreateNewBoxSet(TString &name)
std::map< Int_t, Int_t >::iterator IntIter
ClassDef(PndDrcAccuDigiPixelDraw, 1)
std::map< Int_t, TEveBoxSet * >::iterator boxSetMapIter