You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// check all the specified signals and fill histograms for MC truth matched tracks
952
-
for (auto& sig : fMCSignals) {
952
+
for (constauto& sig : fMCSignals) {
953
953
if (sig->CheckSignal(true, mctrack)) {
954
954
mcflags |= (static_cast<uint16_t>(1) << i);
955
955
// If detailed QA is on, fill histograms for each MC signal and track cut combination
956
956
if (fDoDetailedQA) {
957
957
j = 0;
958
-
for (auto& cut : fTrackCuts) {
958
+
for (constauto& cut : fTrackCuts) {
959
959
if (trackTempFilterMap & (uint8_t(1) << j)) {
960
960
fHistMan->FillHistClass(Form("TrackBarrel_%s_%s", cut->GetName(), sig->GetName()), dqtablemakermc_helpers::varValues()); // fill the reconstructed truth
961
961
}
@@ -1014,7 +1014,7 @@ struct TableMakerMC {
1014
1014
mcflags = 0;
1015
1015
int i = 0; // runs over the MC signals
1016
1016
// check all the specified signals and fill histograms for MC truth matched tracks
1017
-
for (auto& sig : fMCSignals) {
1017
+
for (constauto& sig : fMCSignals) {
1018
1018
if (sig->CheckSignal(true, mctrack)) {
1019
1019
mcflags |= (static_cast<uint16_t>(1) << i);
1020
1020
// If detailed QA is on, fill histograms for each MC signal and track cut combination
@@ -1057,7 +1057,7 @@ struct TableMakerMC {
1057
1057
}
1058
1058
}
1059
1059
}
1060
-
for (auto& pairCand : mCandidates) {
1060
+
for (constauto& pairCand : mCandidates) {
1061
1061
fBestMatch[pairCand.second.second] = true;
1062
1062
}
1063
1063
}
@@ -1091,7 +1091,7 @@ struct TableMakerMC {
1091
1091
}
1092
1092
}
1093
1093
}
1094
-
for (auto& pairCand : mCandidates) {
1094
+
for (constauto& pairCand : mCandidates) {
1095
1095
fBestMatch[pairCand.second.second] = true;
1096
1096
}
1097
1097
}
@@ -1196,12 +1196,12 @@ struct TableMakerMC {
1196
1196
int i = 0; // runs over the MC signals
1197
1197
int j = 0; // runs over the track cuts
1198
1198
// check all the specified signals and fill histograms for MC truth matched tracks
1199
-
for (auto& sig : fMCSignals) {
1199
+
for (constauto& sig : fMCSignals) {
1200
1200
if (sig->CheckSignal(true, mctrack)) {
1201
1201
mcflags |= (static_cast<uint16_t>(1) << i);
1202
1202
if (fDoDetailedQA) {
1203
1203
j = 0;
1204
-
for (auto& cut : fMuonCuts) {
1204
+
for (constauto& cut : fMuonCuts) {
1205
1205
if (trackTempFilterMap & (uint8_t(1) << j)) {
1206
1206
fHistMan->FillHistClass(Form("Muons_%s_%s", cut->GetName(), sig->GetName()), dqtablemakermc_helpers::varValues()); // fill the reconstructed truth
0 commit comments