when converting to WKM, take the beamline tag to decide which exact WKM flavour should be written.

This commit is contained in:
2012-11-09 11:56:10 +00:00
parent e5dd674b44
commit 11d710bce3
2 changed files with 3 additions and 1 deletions

View File

@ -4950,7 +4950,7 @@ Bool_t PRunDataHandler::WriteWkmFile(TString fln)
{
// check if a LEM nemu file needs to be written
bool lem_wkm_style = false;
if (!fAny2ManyInfo->inFormat.CompareTo("ROOT"))
if (!fData[0].GetBeamline()->CompareTo("mue4", TString::kIgnoreCase))
lem_wkm_style = true;
Bool_t ok = false;