#ifndef CAL_THRESHOLD_HH_ #define CAL_THRESHOLD_HH_ #ifdef USE_CDFEDM2 ///////////////////////////////////////////////////////////////////// // // CalThreshold: temporary thresholds header file (P. Savard) // // CEMMIN = min energy in a cell of CEM to be written // CHAMIN = min energy in a cell of CHA to be written // WHAMIN = min energy in a cell of WHA to be written // PEMMIN = min energy in a cell of PEM to be written // PHAMIN = min energy in a cell of PHA to be written // CESMIN = min energy in a cell of CES to be written // PESMIN = min energy in a cell of PES to be written // MPAMIN = min energy in a cell of MPA to be written // // Feb 01, 2001 RGW - Moved the attenuation length and calorimeter width // parameters to CalorGeometry/CalParameters.hh // // Apr 23, 2002 KT - Added codes for the miniplug // //////////////////////////////////////////////////////////////////// #include // threshold/calibration const int THRCEM=10 ; const int THRCHA=10 ; const int THRWHA=10 ; const int THRPEM=10 ; const int THRPHA=10 ; const int THRCES=40 ; //I changed it from 10 to 40 like CESDTE (Robert M Harris; const int THRCCR=10 ; const int THRMPA=10 ; // const float SCLCEM=0.005825 ; const float SCLCHA=0.005825 ; const float SCLWHA=0.005825 ; const float SCLPEM=0.00625 ; const float SCLPHA=0.00476 ; const float SCLCES=0.00143 ; const float SCLCCR=0.001 ; const float SCLMPA=0.001 ; // // SET MIN ENERGY // const float CEMMIN=SCLCEM*THRCEM ; const float CHAMIN=SCLCHA*THRCHA ; const float WHAMIN=SCLWHA*THRWHA ; const float PEMMIN=SCLPEM*THRPEM ; const float PHAMIN=SCLPHA*THRPHA ; const float CESMIN=SCLCES*THRCES ; const float PESMIN=CESMIN ; const float CCRMIN=SCLCCR*THRCCR ; // const float CCRMIN=0.1 ; const float MPAMIN=SCLMPA*THRMPA ; // const float TIMOFF = 10.0; // single photo tube spike killer // values used in Run I const float SIGNCEM_92=4.0; const float SIGNCHA_92=3.0; const float SIGNWHA_92=3.0; const float SIGKCEM_92=0.35; const float SIGKCHA_92=0.7; const float SIGKWHA_92=0.7; const float SGLCEM_92 = 1.0; const float SGLCHA_92 = 1.0; const float SGLWHA_92 = 1.0; //latest values const float SIGNCEM = SIGNCEM_92; const float SIGNCHA = SIGNCHA_92; const float SIGNWHA = SIGNWHA_92; const float SIGKCEM = SIGKCEM_92; const float SIGKCHA = SIGKCHA_92; const float SIGKWHA = SIGKWHA_92; const float SGLCEM = SGLCEM_92; const float SGLCHA = SGLCHA_92; const float SGLWHA = SGLWHA_92; // defines in c$cal:calorimetry.cin but not used in QFL // const float ISIGCEM = 1./SIGNCEM; // const float ISIGCHA = 1./SIGNCHA; // const float ISIGWHA = 1./SIGNWHA; // const float NSIGCEM= SIGNCEM; // const float NSIGCHA= SIGNCHA; // const float NSIGWHA= SIGNWHA; // const float KSIGCEM= SIGKCEM; // const float KSIGCHA= SIGKCHA; // const float KSIGWHA= SIGKWHA; #endif // USE_CDFEDM2 #endif