File indexing completed on 2025-08-05 08:11:03
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef MATCHERCOMPARATOROPTIONS_H
0010 #define MATCHERCOMPARATOROPTIONS_H
0011
0012
0013 #include <string>
0014 #include <vector>
0015 #include <utility>
0016
0017 #include "/sphenix/user/danderson/install/include/strackmatchercomparator/STrackMatcherComparatorConfig.h"
0018 #include "/sphenix/user/danderson/install/include/strackmatchercomparator/STrackMatcherComparatorHistDef.h"
0019
0020
0021 using namespace std;
0022
0023
0024
0025 namespace MatcherComparatorOptions {
0026
0027
0028
0029 STrackMatcherComparatorConfig GetConfig() {
0030
0031
0032 const vector<string> cfg_info = {
0033 "#bf{#it{sPHENIX}} Simulation",
0034 "1 #pi^{-}/event, p_{T} = 10 GeV/c",
0035 "#bf{Only #pi^{-}}"
0036 };
0037
0038
0039 const vector<pair<float, float>> cfg_sectors = {
0040 make_pair(-2.92, 0.12),
0041 make_pair(-2.38, 0.05),
0042 make_pair(-1.93, 0.18),
0043 make_pair(-1.33, 0.07),
0044 make_pair(-0.90, 0.24),
0045 make_pair(-0.29, 0.09),
0046 make_pair(0.23, 0.11),
0047 make_pair(0.73, 0.10),
0048 make_pair(1.28, 0.10),
0049 make_pair(1.81, 0.08),
0050 make_pair(2.23, 0.18),
0051 make_pair(2.80, 0.17)
0052 };
0053
0054 STrackMatcherComparatorConfig cfg {
0055 .outFileName = "matchComparison.noVtxDistribution_vzM1010.pt10num1evt500pim.d8m2y2024.root",
0056 .newInFileName = "input/merged/sPhenixG4_oneMatchPerParticleAndEmbedScanOn_noVtxDistribution_newMatcher.pt10num1evt500pim.d8m2y2024.root",
0057 .oldInFileName = "input/merged/sPhenixG4_oneMatchPerParticleAndEmbedScanOn_noVtxDistribution_oldEval.pt10num1evt500pim.d8m2y2024.root",
0058 .useOnlyPrimTrks = true,
0059 .doZVtxCut = true,
0060 .doPhiCut = true,
0061 .oddPtFrac = {0.5, 1.50},
0062 .zVtxRange = {-10., 10.},
0063 .phiSectors = cfg_sectors,
0064 .info = cfg_info,
0065 .doIntNorm = true,
0066 .matchVertScales = true
0067 };
0068 return cfg;
0069
0070 }
0071
0072
0073
0074
0075
0076 STrackMatcherComparatorHistDef GetHistDef() {
0077
0078
0079 const uint32_t def_nPtBins = 101;
0080
0081
0082 const pair<float, float> def_xPtBins = {-0.5, 100.5};
0083
0084 STrackMatcherComparatorHistDef def;
0085 def.nPtBins = def_nPtBins;
0086 def.xPtBins = def_xPtBins;
0087 return def;
0088
0089 }
0090
0091 }
0092
0093 #endif
0094
0095