Skip to content
Snippets Groups Projects
hcal_replay_cuts.def 1.29 KiB
Newer Older
# Cuts for the HMS calorimeter calibration.
#

Block: RawDecode

Pedestal_event    g.evtyp==4
scalar_event         g.evtyp==0
HMS_event         g.evtyp==1
SOS_event         g.evtyp==2
coin_event         g.evtyp==3
misc_event         g.evtyp>=5
hms_and_coin	HMS_event||coin_event
RawDecode_master  1

Block: Decode
Decode_master     hms_and_coin

Block: CoarseTracking
CoarseTracking_master !Pedestal_event

Block: CoarseReconstruct
RawCoarseReconstruct !Pedestal_event

Block: Reconstruct

one_sh_track H.cal.ntracks==1
in_delta  H.tr.tg_dp>-10.&&H.tr.tg_dp<10.
good_cer H.cer.npesum>3.
#good_beta H.tr.beta>0.9&&H.tr.beta<1.1
good_beta H.hod.fpBeta>0.740&&H.hod.fpBeta<0.935   # 3sigma cut for run 52949
in_calx   H.cal.trx>-65.4&&H.cal.trx<54.6    #top+5cm, bottom-5cm (see hcal.pos)
in_caly   H.cal.try>-30.&&H.cal.try<30.      #left+5cm, right-5cm.(see hcal.pos)
in_cal    in_calx&&in_caly

# This version is for calibration from scratch (no calibration constants exist,
# first time calibration).
Reconstruct_master one_track && one_clust && in_delta && good_cer && good_beta && in_cal

# This version can be used for iterative calibration (improve existing
# constants).
#Reconstruct_master one_track && one_sh_track && in_delta && good_cer && good_beta && in_cal