00001 #include "DataFormats/L1Trigger/interface/L1TriggerError.h" 00002 00003 00004 L1TriggerError::L1TriggerError(unsigned short prod, unsigned short code) : 00005 code_(prod<<16 & code) 00006 { 00007 } 00008 00009 00010 L1TriggerError::~L1TriggerError() 00011 { 00012 } 00013 00014 00015 unsigned L1TriggerError::prodID() { 00016 return (code_>>16) & 0xffff; 00017 } 00018 00019 00020 unsigned L1TriggerError::prodErr() { 00021 return code_ & 0xffff; 00022 }