CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/DataFormats/L1Trigger/interface/L1TriggerError.h

Go to the documentation of this file.
00001 #ifndef L1TriggerError_h
00002 #define L1TriggerError_h
00003 
00004 // -*- C++ -*-
00005 //
00006 // Package:     DataFormatsL1Trigger
00007 // Class  :     L1TriggerError
00008 // 
00014 //
00015 // Original Author:  Jim Brooke
00016 //         Created:  
00017 // $Id: L1TriggerError.h,v 1.3 2009/09/18 15:08:26 jbrooke Exp $
00018 //
00019 
00020 
00021 class L1TriggerError {
00022  public:
00023   
00025   explicit L1TriggerError(unsigned short prodID=0, unsigned short code=0);
00026 
00028   ~L1TriggerError();
00029 
00031   void setCode(int code) { code_ = code; }
00032   
00034   unsigned code() { return code_; }
00035 
00037   unsigned prodID();
00038 
00040   unsigned prodErr();
00041 
00042   private:
00043 
00044     unsigned code_;
00045 
00046 };
00047 
00048 #include <vector>
00049 
00050 typedef std::vector<L1TriggerError> L1TriggerErrorCollection;
00051 
00052 #endif