27 #include "StMuDSTMaker/COMMON/StMuDst.h"
28 #include "StMuDSTMaker/COMMON/StMuEvent.h"
29 #include "StMessMgr.h"
30 #include "StMuScalerCutter.h"
43 LOG_WARN <<
"StMuScalerCutter::Make : No MuDst" << endm;
50 bool StMuScalerCutter::accept(
StMuEvent* event)
54 if (!event)
return true;
56 int run = runInfo.runId();
57 double zdce = runInfo.zdcEastRate();
58 double zdcw = runInfo.zdcWestRate();
59 double zdcx = runInfo.zdcCoincidenceRate();
61 double bbcw = runInfo.bbcWestRate();
62 double bbcx = runInfo.bbcCoincidenceRate();
63 double bbcbb = runInfo.bbcBlueBackgroundRate();
67 if (run > 8330000 && run < 9029000) {
70 if (zdcx/bbcx > 0.42 ||
71 zdcx/zdcw > 0.35)
return false;
74 if (run > 8361110 && run < 8363032) {
75 if (zdce/bbcx > 2.9 ||
76 zdce/zdcw > 1.8)
return false;
78 if (zdce/bbcx > 1.9 ||
79 zdce/zdcw > 1.8)
return false;
83 double R1 = 1.4923e-3*pow(zdcw,-2.57818)*pow(bbcw,3.6488);
85 if (((R2 > 0.2) && (R2 < 0.72)) ||
86 ((R2 > 1.4) && (R2 < 4.6) ))
return false;
Apply cuts to events based on corrupt RICH scalers.
static StMuEvent * event()
returns pointer to current StMuEvent (class holding the event wise information, e.g. event number, run number)