1 #ifndef PNDMVDALLDATAEVENTANA_H 2 #define PNDMVDALLDATAEVENTANA_H 29 #include "TClonesArray.h" 45 virtual void Init(TString filename);
67 void DrawHitHisto(TString detName, TCanvas *extCan =
nullptr, Int_t pad = 0);
68 void DrawDigiHisto(TString detName, TCanvas *extCan =
nullptr, Int_t pad = 0);
69 void DrawClusterHisto(TString detName, TCanvas *extCan =
nullptr, Int_t pad = 0);
70 void DrawRecoHisto(TString detName, TCanvas *extCan =
nullptr, Int_t pad = 0);
71 void DrawAllHistos(TString detName, TCanvas *extCan =
nullptr);
73 void Draw3D(TString opt =
"", TCanvas *extCan =
nullptr, Int_t pad = 0);
76 void DrawEvent(
bool tracks =
false, TCanvas *extCan =
nullptr);
77 void DrawTopVolume(TCanvas *extCan =
nullptr, Int_t pad = 0,
const char *opt =
"");
78 void DrawHisxy(TCanvas *extCan =
nullptr, Int_t pad = 0);
79 void DrawHisrz(TCanvas *extCan =
nullptr, Int_t pad = 0);
80 void DrawHistoVec(std::vector<TH1 *> *vec, TCanvas *extCan =
nullptr, Int_t pad = 0)
const;
81 void DrawHisto(TH1 *histo, TCanvas *extCan =
nullptr, Int_t pad = 0)
const;
105 std::map<TString, TH1 *> fDigiHistos;
106 std::map<TString, TH1 *> fClusterHistos;
107 std::map<TString, TH1 *> fRecoHistos;
108 std::map<TString, TH1 *> fHitPerClusterHistos;
109 std::map<TString, TH1 *> fHitResolutionHistos;
111 std::vector<TH1 *> fHitHistoVec;
112 std::vector<TH1 *> fDigiHistoVec;
113 std::vector<TH1 *> fClusterHistoVec;
114 std::vector<TH1 *> fRecoHistoVec;
116 TGeoVolume *fMvdTopVolume;
117 TGeoVolume *fRecoTopVolume;
118 TGeoVolume *fRecoVolume;
120 TH1 *fRecoErrorHisto;
121 TH1 *fAllHitPerClusterHistos;
122 TH1 *fAllHitResolutionHistos;
125 std::vector<TH1 *> fSimHisxy;
126 std::vector<TH1 *> fSimHisrz;
127 std::vector<TH1 *> fRecoHisxy;
128 std::vector<TH1 *> fRecoHisrz;
TVector3 CalcMeanHitPos(std::vector< Int_t > points)
void DrawHisrz(TCanvas *extCan=nullptr, Int_t pad=0)
TClonesArray * fDigiArray
void DrawHisxy(TCanvas *extCan=nullptr, Int_t pad=0)
void DrawTopVolume(TCanvas *extCan=nullptr, Int_t pad=0, const char *opt="")
TClonesArray * fRecoArray
Class to store the Digis which belong to one cluster This class holds the information which Digi belo...
virtual void InitBranch()
void DrawAllHistos(TString detName, TCanvas *extCan=nullptr)
display of hits inside the gGeoManager
TClonesArray * fGeoTrackArray
virtual void InitHistos()
void DrawHitPerCluster(TCanvas *extCan=nullptr, Int_t pad=0)
void DrawAllTracks(TCanvas *extCan=nullptr, Int_t pad=0)
virtual void ClearHistos()
TVector3 GetLocalHitPoints(TString detName, TVector3 input)
void DrawHisto(TH1 *histo, TCanvas *extCan=nullptr, Int_t pad=0) const
TClonesArray * fClusterArray
void Draw3D(TString opt="", TCanvas *extCan=nullptr, Int_t pad=0)
virtual ~PndMvdAllDataEventAna()
void DrawHitHisto(TString detName, TCanvas *extCan=nullptr, Int_t pad=0)
void DrawEvent(bool tracks=false, TCanvas *extCan=nullptr)
void ClearHistoVector(std::vector< TH1 *> *myVectors) const
void DrawClusterHisto(TString detName, TCanvas *extCan=nullptr, Int_t pad=0)
void DrawRecoHisto(TString detName, TCanvas *extCan=nullptr, Int_t pad=0)
void DrawDigiHisto(TString detName, TCanvas *extCan=nullptr, Int_t pad=0)
void DrawHistoVec(std::vector< TH1 *> *vec, TCanvas *extCan=nullptr, Int_t pad=0) const
std::vector< TString > GetModulesHit()
void DrawResolution(TCanvas *extCan=nullptr, Int_t pad=0)
void FillHitResolutionHistos()
std::vector< Int_t > GetHitPerCluster(PndSdsCluster *clusterCand)
void DrawHitTracks(TCanvas *extCan=nullptr, Int_t pad=0)
Class to calculate the position of digis on a front-end from the digis on a sensor.
void ClearHistoMaps(std::map< TString, TH1 *> *myHistos) const
virtual void Init(TString filename)
void FillHitPerClusterHistos()
TClonesArray * fTrackFArray
virtual void BeginOfEventAction()
virtual void EndOfEventAction()