Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
L1Trigger
interface
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
// $Id: L1TriggerError.h,v 1.2 2009/04/07 10:42:00 jbrooke Exp $
18
//
19
20
21
class
L1TriggerError
{
22
public
:
23
25
explicit
L1TriggerError
(
unsigned
short
prodID
=0,
unsigned
short
code
=0);
26
28
~L1TriggerError
();
29
31
void
setCode
(
int
code
) {
code_
=
code
; }
32
34
unsigned
code
() {
return
code_
; }
35
37
unsigned
prodID
();
38
40
unsigned
prodErr
();
41
42
private
:
43
44
unsigned
code_
;
45
46
};
47
48
#include <vector>
49
50
typedef
std::vector<L1TriggerError>
L1TriggerErrorCollection
;
51
52
#endif
L1TriggerError::code
unsigned code()
get error
Definition:
L1TriggerError.h:34
L1TriggerErrorCollection
std::vector< L1TriggerError > L1TriggerErrorCollection
Definition:
L1TriggerError.h:50
L1TriggerError
Definition:
L1TriggerError.h:21
L1TriggerError::L1TriggerError
L1TriggerError(unsigned short prodID=0, unsigned short code=0)
construct from an error code
Definition:
L1TriggerError.cc:4
L1TriggerError::prodID
unsigned prodID()
producer ID
Definition:
L1TriggerError.cc:15
L1TriggerError::~L1TriggerError
~L1TriggerError()
dtor
Definition:
L1TriggerError.cc:10
L1TriggerError::prodErr
unsigned prodErr()
producer error
Definition:
L1TriggerError.cc:20
L1TriggerError::code_
unsigned code_
Definition:
L1TriggerError.h:44
L1TriggerError::setCode
void setCode(int code)
set error
Definition:
L1TriggerError.h:31
Generated for CMSSW Reference Manual by
1.8.5