#include <DataFormats/L1Trigger/interface/L1MonitorDigi.h>
Public Member Functions | |
unsigned | cid () const |
bool | empty () const |
L1MonitorDigi (unsigned sid, unsigned cid, unsigned x1, unsigned x2, unsigned x3, unsigned value, unsigned data) | |
L1MonitorDigi () | |
unsigned | raw () const |
unsigned | reset () |
void | setCid (int cid) |
void | setLoc (unsigned x1, unsigned x2, unsigned x3) |
void | setRaw (unsigned raw) |
void | setSid (int sid) |
void | setValue (unsigned val) |
unsigned | sid () const |
unsigned | value () const |
unsigned | x1 () const |
unsigned | x2 () const |
unsigned | x3 () const |
~L1MonitorDigi () | |
Private Attributes | |
unsigned | m_cid |
unsigned | m_data |
unsigned | m_location [3] |
unsigned | m_null |
unsigned | m_sid |
unsigned | m_value |
Definition at line 14 of file L1MonitorDigi.h.
L1MonitorDigi::L1MonitorDigi | ( | ) |
L1MonitorDigi::L1MonitorDigi | ( | unsigned | sid, | |
unsigned | cid, | |||
unsigned | x1, | |||
unsigned | x2, | |||
unsigned | x3, | |||
unsigned | value, | |||
unsigned | data | |||
) |
Definition at line 25 of file L1MonitorDigi.cc.
References m_cid, m_data, m_location, m_sid, m_value, and reset().
00027 { 00028 reset(); 00029 m_sid = sid; m_cid = cid; 00030 m_location[0]=x1; m_location[1]=x2; m_location[2]=x3; 00031 m_value = value; 00032 m_data = data; 00033 }
L1MonitorDigi::~L1MonitorDigi | ( | ) |
unsigned L1MonitorDigi::cid | ( | ) | const [inline] |
Definition at line 31 of file L1MonitorDigi.h.
References m_cid.
Referenced by operator<<().
00031 {return m_cid;}
bool L1MonitorDigi::empty | ( | ) | const |
unsigned L1MonitorDigi::raw | ( | ) | const [inline] |
Definition at line 35 of file L1MonitorDigi.h.
References m_data.
Referenced by operator<<().
00035 {return m_data;}
unsigned L1MonitorDigi::reset | ( | void | ) |
Definition at line 10 of file L1MonitorDigi.cc.
References i, m_cid, m_data, m_location, m_null, m_sid, and m_value.
Referenced by L1MonitorDigi().
00010 { 00011 m_null = 999; 00012 m_sid = m_null; 00013 m_cid = m_null; 00014 for(int i=0; i<3; i++) 00015 m_location[i]=m_null; 00016 m_data=0; 00017 m_value=m_null; 00018 return m_null; 00019 }
void L1MonitorDigi::setLoc | ( | unsigned | x1, | |
unsigned | x2, | |||
unsigned | x3 | |||
) | [inline] |
Definition at line 25 of file L1MonitorDigi.h.
References m_location.
00026 { m_location[0]=x1; m_location[1]=x2; m_location[2]=x3;}
void L1MonitorDigi::setRaw | ( | unsigned | raw | ) | [inline] |
void L1MonitorDigi::setValue | ( | unsigned | val | ) | [inline] |
unsigned L1MonitorDigi::sid | ( | ) | const [inline] |
Definition at line 30 of file L1MonitorDigi.h.
References m_sid.
Referenced by operator<<().
00030 {return m_sid;}
unsigned L1MonitorDigi::value | ( | ) | const [inline] |
Definition at line 36 of file L1MonitorDigi.h.
References m_value.
Referenced by operator<<().
00036 {return m_value;}
unsigned L1MonitorDigi::x1 | ( | ) | const [inline] |
Definition at line 32 of file L1MonitorDigi.h.
References m_location.
Referenced by operator<<().
00032 {return m_location[0];}
unsigned L1MonitorDigi::x2 | ( | ) | const [inline] |
Definition at line 33 of file L1MonitorDigi.h.
References m_location.
Referenced by operator<<().
00033 {return m_location[1];}
unsigned L1MonitorDigi::x3 | ( | ) | const [inline] |
Definition at line 34 of file L1MonitorDigi.h.
References m_location.
Referenced by operator<<().
00034 {return m_location[2];}
unsigned L1MonitorDigi::m_cid [private] |
Definition at line 44 of file L1MonitorDigi.h.
Referenced by cid(), empty(), L1MonitorDigi(), reset(), and setCid().
unsigned L1MonitorDigi::m_data [private] |
Definition at line 47 of file L1MonitorDigi.h.
Referenced by L1MonitorDigi(), raw(), reset(), and setRaw().
unsigned L1MonitorDigi::m_location[3] [private] |
Definition at line 45 of file L1MonitorDigi.h.
Referenced by L1MonitorDigi(), reset(), setLoc(), x1(), x2(), and x3().
unsigned L1MonitorDigi::m_null [private] |
unsigned L1MonitorDigi::m_sid [private] |
Definition at line 43 of file L1MonitorDigi.h.
Referenced by empty(), L1MonitorDigi(), reset(), setSid(), and sid().
unsigned L1MonitorDigi::m_value [private] |
Definition at line 46 of file L1MonitorDigi.h.
Referenced by empty(), L1MonitorDigi(), reset(), setValue(), and value().