Skip to content

Commit

Permalink
fix more header issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sdobbs committed Sep 4, 2024
1 parent a98f9cb commit 43c054f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/libraries/include/GlueX.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ inline const char* SystemName(DetectorSystem_t sys)
case SYS_ECAL_REF:
return "ECAL_REF";
break;
case SYS_RF:
return "RF";
break;
case SYS_PS:
return "PS";
break;
Expand Down Expand Up @@ -147,6 +150,10 @@ inline DetectorSystem_t NameToSystem(const char* locSystemName)
return SYS_CCAL;
else if(strcmp(locSystemName, "CCAL_REF") == 0)
return SYS_CCAL_REF;
else if(strcmp(locSystemName, "ECAL") == 0)
return SYS_CCAL;
else if(strcmp(locSystemName, "ECAL_REF") == 0)
return SYS_CCAL_REF;
else if(strcmp(locSystemName, "RF") == 0)
return SYS_RF;
else if(strcmp(locSystemName, "PS") == 0)
Expand All @@ -163,10 +170,6 @@ inline DetectorSystem_t NameToSystem(const char* locSystemName)
return SYS_TRD;
else if(strcmp(locSystemName, "CTOF") == 0)
return SYS_CTOF;
else if(strcmp(locSystemName, "ECAL") == 0)
return SYS_ECAL;
else if(strcmp(locSystemName, "ECAL_REF") == 0)
return SYS_ECAL_REF;
else
return SYS_NULL;
}
Expand Down

0 comments on commit 43c054f

Please sign in to comment.