Skip to content
Snippets Groups Projects
Commit 755a7898 authored by Stephen A. Wood's avatar Stephen A. Wood Committed by Mark K Jones
Browse files

Change parameter name of target mass to gtargmass_amu

  Don't use prefix to construct name
parent dff862eb
No related branches found
No related tags found
No related merge requests found
......@@ -188,19 +188,12 @@ Int_t THcPrimaryKine::ReadDatabase( const TDatime& date )
#ifdef WITH_DEBUG
cout << "In THcPrimaryKine::ReadDatabase()" << endl;
#endif
//
char prefix[2];
// cout << " GetName() " << GetName() << endl;
prefix[0]=tolower(GetName()[0]);
prefix[1]='\0';
DBRequest list[]={
{"targmass_amu", &fMA_amu, kDouble, 0, 1},
{"gtargmass_amu", &fMA_amu, kDouble, 0, 1},
{0}
};
gHcParms->LoadParmValues((DBRequest*)&list,prefix);
gHcParms->LoadParmValues((DBRequest*)&list);
//
fMA= fMA_amu*931.5/1000.;
return kOK;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment