Skip to content

Commit e2faa2b

Browse files
authored
Add files via upload
1 parent cfad309 commit e2faa2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGDQ/Tasks/tableReader_withAssoc.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3136,7 +3136,7 @@ struct AnalysisDileptonTrack {
31363136
Configurable<bool> fConfigUseRapcut{"cfgUseMCRapcut", false, "Use Rap cut for dileptons used in the triplet vertexing"};
31373137
Configurable<bool> fConfigEnergycorrelator{"cfgEnergycorrelator", false, "Add some hist for energy correlator study"};
31383138
Configurable<bool> fConfigApplyMassEC{"cfgApplyMassEC", false, "Apply fit mass for sideband for the energy correlator study"};
3139-
Configurable<std::vector<float>> fConfigFitmassEC{"cfgTFitmassEC", std::vector<float>{61199.9144, -19417.7588, 1709.4958, 2.8, 3.2}, "parameter from the fit fuction and fit range"};
3139+
Configurable<std::vector<float>> fConfigFitmassEC{"cfgTFitmassEC", std::vector<float>{-0.541438, 2.8, 3.2}, "parameter from the fit fuction and fit range"};
31403140

31413141
int fCurrentRun; // needed to detect if the run changed and trigger update of calibrations etc.
31423142
int fNCuts; // number of dilepton leg cuts
@@ -3398,9 +3398,9 @@ struct AnalysisDileptonTrack {
33983398

33993399
// the background mass distribution in signal region
34003400
std::vector<float> fMassBkgpar = fConfigFitmassEC;
3401-
fMassBkg = new TF1("fMassBkg", "[0]+[1]*x+[2]*x*x", fMassBkgpar[3], fMassBkgpar[4]);
3402-
fMassBkg->SetParameters(fMassBkgpar[0], fMassBkgpar[1], fMassBkgpar[2]);
3403-
fMassBkg->SetNpx(10000);
3401+
fMassBkg = new TF1("fMassBkg", " exp([0]*x)", fMassBkgpar[1], fMassBkgpar[2]);
3402+
fMassBkg->SetParameters(fMassBkgpar[0]);
3403+
fMassBkg->SetNpx(1000);
34043404
}
34053405

34063406
// init parameters from CCDB

0 commit comments

Comments
 (0)