5 #include "St2011WMaker.h"
6 #include <StMuDSTMaker/COMMON/StMuDstMaker.h>
11 St2011WMaker::passes_L0(){
20 for (
int m=0;m<300;m++)
21 if(muEve->emcTriggerDetector().highTower(m)>par_l0emulAdcThresh)
return true;
28 St2011WMaker::passes_L2(){
35 for (
int i=0;i<mxBtow;i++)
36 if (wEve->bemc.statTile[0][i]==0)
37 if (wEve->bemc.eneTile[0][i]>par_l2emulSeedThresh){
38 int ieta=-1;
int iphi=-1;
39 float etaF=positionBtow[i].Eta();
40 float phiF=positionBtow[i].Phi();
41 L2algoEtaPhi2IJ(etaF, phiF,ieta,iphi);
43 if (c.ET>par_l2emulClusterThresh)
return true;
49 St2011WMaker::patchToEtaPhi(
int patch,
int*eta,
int*phi)
51 if (patch<0 || patch>299)
53 printf(
"patchToEtaPhi p=%d, out of range. Eta phi not defined.\n",patch);
static StMuEvent * event()
returns pointer to current StMuEvent (class holding the event wise information, e.g. event number, run number)