File indexing completed on 2025-08-06 08:14:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef TRKSINJETQATRKMANAGER_H
0011 #define TRKSINJETQATRKMANAGER_H
0012
0013
0014 #include <limits>
0015 #include <vector>
0016 #include <utility>
0017
0018 #include <TH1.h>
0019 #include <TH2.h>
0020
0021 #include <trackbase_historic/SvtxTrack.h>
0022
0023 #include "TrksInJetQABaseManager.h"
0024
0025
0026
0027
0028
0029 class TrksInJetQATrkManager : public TrksInJetQABaseManager {
0030
0031 public:
0032
0033
0034
0035 enum Type {All};
0036 enum H1D {Eta, Phi, Pt, Qual};
0037 enum H2D {EtaVsPhi, PtVsQual};
0038
0039
0040 struct TrackQAContent {
0041 double eta = std::numeric_limits<double>::max();
0042 double phi = std::numeric_limits<double>::max();
0043 double pt = std::numeric_limits<double>::max();
0044 double qual = std::numeric_limits<double>::max();
0045 };
0046
0047
0048 using TrksInJetQABaseManager::TrksInJetQABaseManager;
0049 ~TrksInJetQATrkManager() {};
0050
0051
0052 void GetInfo(SvtxTrack* track);
0053
0054 private:
0055
0056
0057 void FillHistograms(const int type, TrackQAContent& content);
0058
0059
0060 void DefineHistograms() override;
0061
0062 };
0063
0064 #endif
0065
0066
0067