Skip to content

Commit 5140f08

Browse files
authored
Add files via upload
1 parent 653ea43 commit 5140f08

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

PWGDQ/Tasks/dqEfficiency_withAssoc_direct.cxx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2068,6 +2068,7 @@ struct AnalysisDileptonTrack {
20682068
Configurable<bool> fConfigApplyMassEC{"cfgApplyMassEC", false, "Apply fit mass for sideband for the energy correlator study"};
20692069
Configurable<std::vector<int>> fConfigSavelessevents{"cfgSavelessevents", std::vector<int>{1, 0}, "Save less events for the energy correlator study"};
20702070
Configurable<std::vector<float>> fConfigTransRange{"cfgTransRange", std::vector<float>{0.333333, 0.666667}, "Transverse region for the energy correlstor analysis"};
2071+
Configurable<bool> fConfigEnergycorrelator{"cfgEnergycorrelator", false, "Add some hist for energy correlator study"};
20712072
} fConfigOptions;
20722073

20732074
struct : ConfigurableGroup {
@@ -2385,7 +2386,11 @@ struct AnalysisDileptonTrack {
23852386
fLegCutNames.push_back(pairLegCutName);
23862387

23872388
// define dilepton histograms
2388-
DefineHistograms(fHistMan, Form("DileptonsSelected_%s", pairLegCutName.Data()), "barrel,vertexing");
2389+
if (!fConfigOptions.fConfigEnergycorrelator) {
2390+
DefineHistograms(fHistMan, Form("DileptonsSelected_%s", pairLegCutName.Data()), "barrel,vertexing");
2391+
} else {
2392+
DefineHistograms(fHistMan, Form("DileptonsSelected_%s", pairLegCutName.Data()), "");
2393+
}
23892394
// loop over track cuts and create dilepton - track histogram directories
23902395
for (int iCutTrack = 0; iCutTrack < fNCuts; iCutTrack++) {
23912396

0 commit comments

Comments
 (0)