test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1TriggerError.h
Go to the documentation of this file.
1 #ifndef L1TriggerError_h
2 #define L1TriggerError_h
3 
4 // -*- C++ -*-
5 //
6 // Package: DataFormatsL1Trigger
7 // Class : L1TriggerError
8 //
14 //
15 // Original Author: Jim Brooke
16 // Created:
17 //
18 
19 
21  public:
22 
24  explicit L1TriggerError(unsigned short prodID=0, unsigned short code=0);
25 
28 
30  void setCode(int code) { code_ = code; }
31 
33  unsigned code() { return code_; }
34 
36  unsigned prodID();
37 
39  unsigned prodErr();
40 
41  private:
42 
43  unsigned code_;
44 
45 };
46 
47 #include <vector>
48 
49 typedef std::vector<L1TriggerError> L1TriggerErrorCollection;
50 
51 #endif
unsigned code()
get error
std::vector< L1TriggerError > L1TriggerErrorCollection
L1TriggerError(unsigned short prodID=0, unsigned short code=0)
construct from an error code
unsigned prodID()
producer ID
~L1TriggerError()
dtor
unsigned prodErr()
producer error
void setCode(int code)
set error