FairRoot/PandaRoot
PndDrcAccuDigiPixelDraw.h
Go to the documentation of this file.
1 // -----------------------------------------
2 // PndDrcAccuDigiPixelDraw.h
3 //
4 // Created on: 03.06.2013
5 // Author: R.Dzhygadlo
6 // ------------------------------------------
7 
8 // Class allows to plot DIRC digitized hits in accumulative mode using Event Display
9 
10 #ifndef PNDDRCACCUDIGIPIXELDRAW_H_
11 #define PNDDRCACCUDIGIPIXELDRAW_H_
12 
13 #include "FairBoxSetDraw.h"
14 #include "PndGeoHandling.h"
15 #include "PndGeoDrc.h"
16 
17 #include "TVector3.h"
18 #include "TEveBoxSet.h"
19 
20 #include <map>
21 #include <vector>
22 
23 typedef std::map<Int_t, TEveBoxSet*>::iterator boxSetMapIter;
24 typedef std::map<Int_t, Int_t>::iterator IntIter;
25 
26 class PndDrcAccuDigiPixelDraw : public FairBoxSetDraw
27 {
28 public:
30  PndDrcAccuDigiPixelDraw(const char* name, TString digifile, Double_t weight =0, Int_t ndigievents = 0, Int_t iVerbose = 1);
31  virtual ~PndDrcAccuDigiPixelDraw();
32 
33  void Exec(Option_t* option);
34 
35 protected:
36  TVector3 GetVector(TObject* ){return TVector3();}; // obj //[R.K.03/2017] unused variable(s)
37 
38  InitStatus Init();
39 
40  void ReadAllHits();
41  void SortDigis(TClonesArray* digis);
42  TEveBoxSet* CreateNewBoxSet(TString& name);
43 
44  std::map<Int_t, TEveBoxSet* > fHitsArr;
45  std::map<Int_t, Int_t > fHitsN;
47  TClonesArray* fClusterCands;
48  TClonesArray* fRecoHits;
49 
51  Int_t fNdigiEvents;
54 
57 
60 
61 
63 };
64 
65 #endif /* PNDDRCACCUDIGIPIXELDRAW_H_ */
void SortDigis(TClonesArray *digis)
std::map< Int_t, TEveBoxSet * >::iterator boxSetMapIter
Class to access the naming information of the MVD.
std::map< Int_t, TEveBoxSet * > fHitsArr
Double_t
TEveBoxSet * CreateNewBoxSet(TString &name)
TString name
std::map< Int_t, Int_t > fHitsN
Int_t iVerbose
std::map< Int_t, Int_t >::iterator IntIter
ClassDef(PndDrcAccuDigiPixelDraw, 1)