This is to fix a bug of TGCTriggerLUTs::TYPE_SHIFT and add protection in the L1TGC trigger simulation.