File indexing completed on 2025-08-05 08:15:14
0001 #ifndef __TRACKINGPERFORMANCECHECK_H__
0002 #define __TRACKINGPERFORMANCECHECK_H__
0003
0004 #include <map>
0005
0006 #include <fun4all/SubsysReco.h>
0007 #include <string>
0008 #include <TH1F.h>
0009 #include <TH2F.h>
0010 #include <TH1D.h>
0011 #include <TH2D.h>
0012
0013 class PHCompositeNode;
0014
0015 class TrackingPerformanceCheck: public SubsysReco {
0016
0017 public:
0018
0019 TrackingPerformanceCheck(const std::string &name="TrackingPerformanceCheck");
0020
0021 int Init(PHCompositeNode *topNode);
0022 int process_event(PHCompositeNode *topNode);
0023 int End(PHCompositeNode *topNode);
0024 void SetLayerTPCBegins(int v) {fLayerTPCBegins=v;}
0025 void SetReconstructableTPCHits(int v) {fReconstructable_TPCHits=v;}
0026 void SetFairClustersContribution(int v) {fFair_ClustersContribution=v;}
0027 void SetGoodTrackChi2NDF(float v) {fGTrack_Chi2NDF=v;}
0028 void SetGoodTrackTPCClusters(int v) {fGTrack_TPCClusters=v;}
0029
0030 private:
0031
0032 std::map<int,int> fEmbedded;
0033 int fLayerTPCBegins;
0034 int fReconstructable_TPCHits;
0035 int fFair_ClustersContribution;
0036 float fGTrack_Chi2NDF;
0037 int fGTrack_TPCClusters;
0038
0039 TH1F *fHNEvents;
0040
0041 TH1F *fHTN[5];
0042 TH1F *fHTPt[5];
0043 TH1F *fHTEta[5];
0044 TH1F *fHTPhi[5];
0045 TH1F *fHTNHits[5];
0046 TH2F *fHTChi2[5];
0047 TH2F *fHTDca2D[5];
0048 TH2F *fHTNClustersContribution[5];
0049 TH2F *fHTPtResolution[5];
0050 TH2F *fHTPtResolution2[5];
0051 TH2F *fHTPhiResolution[5];
0052 TH2F *fHTEtaResolution[5];
0053
0054 TH1F *fHRN[4];
0055 TH1F *fHRPt[4];
0056 TH1F *fHREta[4];
0057 TH1F *fHRPhi[4];
0058 TH2F *fHRChi2[4];
0059 TH2F *fHRTPCClus[4];
0060 TH2F *fHRDca2D[4];
0061 TH2F *fHRNClustersContribution[4];
0062 TH2F *fHRPtResolution[4];
0063 TH2F *fHRPtResolution2[4];
0064 TH2F *fHRPhiResolution[4];
0065 TH2F *fHREtaResolution[4];
0066
0067 TH1F *fHNVertexes;
0068 };
0069
0070 #endif