File indexing completed on 2025-08-06 08:18:44
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef TRKSINJETQACLUSTMANAGER_H
0012 #define TRKSINJETQACLUSTMANAGER_H
0013
0014
0015 #include "TrksInJetQABaseManager.h"
0016
0017
0018 #include <trackbase/ActsGeometry.h>
0019 #include <trackbase/TrkrCluster.h>
0020 #include <trackbase/TrkrDefs.h>
0021 #include <trackbase/TrkrHitSet.h>
0022
0023
0024 #include <TH1.h>
0025 #include <TH2.h>
0026
0027
0028 #include <limits>
0029 #include <utility>
0030 #include <vector>
0031
0032
0033
0034
0035
0036
0037
0038 class TrksInJetQAClustManager : public TrksInJetQABaseManager
0039 {
0040 public:
0041
0042 enum Type
0043 {
0044 All,
0045 Mvtx,
0046 Intt,
0047 Tpc
0048 };
0049
0050
0051 enum H1D
0052 {
0053 PosX,
0054 PosY,
0055 PosZ,
0056 PosR
0057 };
0058
0059
0060 enum H2D
0061 {
0062 PosYvsX,
0063 PosRvsZ
0064 };
0065
0066
0067
0068
0069
0070
0071
0072 struct ClustQAContent
0073 {
0074 double x = std::numeric_limits<double>::max();
0075 double y = std::numeric_limits<double>::max();
0076 double z = std::numeric_limits<double>::max();
0077 double r = std::numeric_limits<double>::max();
0078 };
0079
0080
0081 using TrksInJetQABaseManager::TrksInJetQABaseManager;
0082 ~TrksInJetQAClustManager(){};
0083
0084
0085 void GetInfo(TrkrCluster* cluster, TrkrDefs::cluskey& clustKey, ActsGeometry* actsGeom);
0086
0087 private:
0088
0089 void FillHistograms(const int type, ClustQAContent& content);
0090
0091
0092 void DefineHistograms() override;
0093
0094 };
0095
0096 #endif
0097
0098