Skip to content

Commit f763a01

Browse files
committed
Remove the remaining references to AlgConfigPool::CommonParameterList() in
favor of the new AlgConfigPool::CommonList()
1 parent 46af6d7 commit f763a01

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Apps/gEvGenDM.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ int main(int argc, char ** argv)
237237
GetCommandLineArgs(argc,argv);
238238
PDGLibrary::Instance()->AddDarkMatter(gOptDMMass,gOptMedRatio);
239239
if (gOptZpCoupling > 0.) {
240-
Registry * r = AlgConfigPool::Instance()->CommonParameterList("BoostedDarkMatter");
240+
Registry * r = AlgConfigPool::Instance()->CommonList("Param", "BoostedDarkMatter");
241241
r->UnLock();
242242
r->Set("ZpCoupling", gOptZpCoupling);
243243
r->Lock();
@@ -862,7 +862,7 @@ bool CheckUnitarityLimit(InitialState init_state)
862862
// We estimate the leading divergent piece of the cross-section
863863
// We make sure it does not exceed the unitarity limit
864864
double gzp;
865-
Registry * r = AlgConfigPool::Instance()->CommonParameterList("BoostedDarkMatter");
865+
Registry * r = AlgConfigPool::Instance()->CommonList("Param", "BoostedDarkMatter");
866866
r->Get("ZpCoupling", gzp);
867867
double gzp4 = TMath::Power(gzp,4);
868868
double Mzp = gOptMedRatio * gOptDMMass;

src/Apps/gEvGenLArDM.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ int main(int argc, char ** argv)
386386
GetCommandLineArgs(argc,argv);
387387
PDGLibrary::Instance()->AddDarkMatter(gOptDMMass,gOptMedRatio);
388388
if (gOptZpCoupling > 0.) {
389-
Registry * r = AlgConfigPool::Instance()->CommonParameterList("BoostedDarkMatter");
389+
Registry * r = AlgConfigPool::Instance()->CommonList("Param", "BoostedDarkMatter");
390390
r->UnLock();
391391
r->Set("ZpCoupling", gOptZpCoupling);
392392
r->Lock();

src/Apps/gMakeSplinesDM.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ int main(int argc, char ** argv)
168168
PDGLibrary::Instance()->ReloadDBase();
169169
PDGLibrary::Instance()->AddDarkMatter(*mass,*ratio);
170170
if (*coup > 0.) {
171-
Registry * r = AlgConfigPool::Instance()->CommonParameterList("BoostedDarkMatter");
171+
Registry * r = AlgConfigPool::Instance()->CommonList("Param", "BoostedDarkMatter");
172172
r->UnLock();
173173
r->Set("ZpCoupling", *coup);
174174
r->Lock();

0 commit comments

Comments
 (0)