22 if ( statusHT==2 || statusHT==3 ) { strawGasType = 0; }
23 else if ( statusHT==5 ) { strawGasType = 1; }
24 else if ( statusHT==1 || statusHT==4 ) { strawGasType = 2; }
25 else if ( statusHT==6 ) { strawGasType = 0; }
26 else if ( statusHT==7 ) { strawGasType = 0; }
31 <<
", must be 'Good(2)||Xenon(3)' or 'Dead(1)||Argon(4)' or 'Krypton(5)!'"
32 <<
", or 'EmulateArgon(6)' or 'EmulateKrypton(7)'" <<
endmsg; }
35 else if (useGasMix==1) { strawGasType = 0; }
36 else if (useGasMix==2) { strawGasType = 1; }
37 else if (useGasMix==3) { strawGasType = 2; }
39 if ( strawGasType<0 || strawGasType>2 ) {
40 if (
log) { *
log <<
MSG::FATAL <<
"StrawGasType: strawGasType value (" << strawGasType <<
") must be 0(Xe), 1(Kr) or 2(Ar)!" <<
endmsg; }