@@ -44,14 +44,15 @@ void create_califa_geo_selector(const char* expNumber = "nominal", TString geoTa
4444 gGeoMan = gGeoManager ;
4545
4646 TString installedCrystalsFile = "califa_AllCrystalsInstalled.txt" ;
47- if ((strncmp (expNumber , "s091" , 4 ) == 0 ) || (strncmp (expNumber , "s118" , 4 ) == 0 ) || (strncmp (expNumber , "g249" , 4 ) == 0 ) )
47+ if ((strncmp (expNumber , "s091" , 4 ) == 0 ) || (strncmp (expNumber , "s118" , 4 ) == 0 ) ||
48+ (strncmp (expNumber , "g249" , 4 ) == 0 ))
4849 {
4950 installedCrystalsFile = "califa_InstalledCrystals_Jan2024.txt" ;
5051 geoTag = "v2024.1" ;
5152 }
5253 else if ((strncmp (expNumber , "s522" , 4 ) == 0 ) || (strncmp (expNumber , "s515" , 4 ) == 0 ) ||
5354 (strncmp (expNumber , "s509" , 4 ) == 0 ) || (strncmp (expNumber , "s494" , 4 ) == 0 ) ||
54- (strncmp (expNumber , "s455" , 4 ) == 0 ) || (strncmp (expNumber , "s444" , 4 ) == 0 ))
55+ (strncmp (expNumber , "s455" , 4 ) == 0 ) || (strncmp (expNumber , "s444" , 4 ) == 0 ))
5556 {
5657 installedCrystalsFile = "califa_InstalledCrystals_March2021.txt" ;
5758 geoTag = "v2021.3" ;
@@ -94,9 +95,10 @@ void create_califa_geo_selector(const char* expNumber = "nominal", TString geoTa
9495 << "\033[33m" << fFilePath << " \033[0m" << std ::endl
9596 << std ::endl ;
9697
97- if (strncmp (expNumber , "g249" , 4 ) == 0 || strncmp (expNumber , "s091" , 4 ) == 0 || strncmp (expNumber , "s118" , 4 ) == 0 ||
98- strncmp (expNumber , "s522" , 4 ) == 0 || strncmp (expNumber , "s509" , 4 ) == 0 ||
99- strncmp (expNumber , "s494" , 4 ) == 0 || strncmp (expNumber , "s444" , 4 ) == 0 || strncmp (expNumber , "s467" , 4 ) == 0 )
98+ if (strncmp (expNumber , "g249" , 4 ) == 0 || strncmp (expNumber , "s091" , 4 ) == 0 ||
99+ strncmp (expNumber , "s118" , 4 ) == 0 || strncmp (expNumber , "s522" , 4 ) == 0 ||
100+ strncmp (expNumber , "s509" , 4 ) == 0 || strncmp (expNumber , "s494" , 4 ) == 0 ||
101+ strncmp (expNumber , "s444" , 4 ) == 0 || strncmp (expNumber , "s467" , 4 ) == 0 )
100102 {
101103 std ::cout << "\033[31m No alignment data for this experiment yet \033[0m " << std ::endl << std ::endl ;
102104 }
0 commit comments