13 #ifndef PNDMVDALLDATAEVENTANA_H 14 #define PNDMVDALLDATAEVENTANA_H 41 #include "TClonesArray.h" 57 virtual void Init(TString filename);
79 void DrawHitHisto(TString detName, TCanvas *extCan =
nullptr, Int_t pad = 0);
80 void DrawDigiHisto(TString detName, TCanvas *extCan =
nullptr, Int_t pad = 0);
81 void DrawClusterHisto(TString detName, TCanvas *extCan =
nullptr, Int_t pad = 0);
82 void DrawRecoHisto(TString detName, TCanvas *extCan =
nullptr, Int_t pad = 0);
83 void DrawAllHistos(TString detName, TCanvas *extCan =
nullptr);
85 void Draw3D(TString opt =
"", TCanvas *extCan =
nullptr, Int_t pad = 0);
88 void DrawEvent(
bool tracks =
false, TCanvas *extCan =
nullptr);
89 void DrawTopVolume(TCanvas *extCan =
nullptr, Int_t pad = 0,
const char *opt =
"");
90 void DrawHisxy(TCanvas *extCan =
nullptr, Int_t pad = 0);
91 void DrawHisrz(TCanvas *extCan =
nullptr, Int_t pad = 0);
92 void DrawHistoVec(std::vector<TH1 *> *vec, TCanvas *extCan =
nullptr, Int_t pad = 0)
const;
93 void DrawHisto(TH1 *histo, TCanvas *extCan =
nullptr, Int_t pad = 0)
const;
117 std::map<TString, TH1 *> fDigiHistos;
118 std::map<TString, TH1 *> fClusterHistos;
119 std::map<TString, TH1 *> fRecoHistos;
120 std::map<TString, TH1 *> fHitPerClusterHistos;
121 std::map<TString, TH1 *> fHitResolutionHistos;
123 std::vector<TH1 *> fHitHistoVec;
124 std::vector<TH1 *> fDigiHistoVec;
125 std::vector<TH1 *> fClusterHistoVec;
126 std::vector<TH1 *> fRecoHistoVec;
128 TGeoVolume *fMvdTopVolume;
129 TGeoVolume *fRecoTopVolume;
130 TGeoVolume *fRecoVolume;
132 TH1 *fRecoErrorHisto;
133 TH1 *fAllHitPerClusterHistos;
134 TH1 *fAllHitResolutionHistos;
137 std::vector<TH1 *> fSimHisxy;
138 std::vector<TH1 *> fSimHisrz;
139 std::vector<TH1 *> fRecoHisxy;
140 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()