#include <L1DataEmulDigi.h>
Public Member Functions | |
int | cid () const |
void | data (unsigned int *d) const |
L1MonitorDigi | data () const |
bool | empty () const |
L1MonitorDigi | emul () const |
L1DataEmulDigi (int sid, int cid, double x1, double x2, double x3, int n) | |
L1DataEmulDigi () | |
L1DataEmulDigi (int sid, int cid, double x1, double x2, double x3, int n, unsigned int dw, unsigned int ew, float dr, float er, L1MonitorDigi dm, L1MonitorDigi em) | |
void | rank (float *r) const |
int | reset () |
void | setCid (int cid) |
void | setData (unsigned int d, unsigned int e) |
void | setDEpair (L1MonitorDigi d, L1MonitorDigi e) |
void | setLocation (double x1, double x2, double x3) |
void | setRank (float d, float e) |
void | setSid (int sid) |
void | setType (int n) |
int | sid () const |
int | type () const |
double | x1 () const |
double | x2 () const |
double | x3 () const |
~L1DataEmulDigi () | |
Private Attributes | |
int | m_cid |
unsigned int | m_data [2] |
L1MonitorDigi | m_DEpair [2] |
double | m_location [3] |
int | m_null |
float | m_rank [2] |
int | m_sid |
int | m_type |
Definition at line 17 of file L1DataEmulDigi.h.
L1DataEmulDigi::L1DataEmulDigi | ( | ) |
L1DataEmulDigi::L1DataEmulDigi | ( | int | sid, |
int | cid, | ||
double | x1, | ||
double | x2, | ||
double | x3, | ||
int | n | ||
) |
L1DataEmulDigi::L1DataEmulDigi | ( | int | sid, |
int | cid, | ||
double | x1, | ||
double | x2, | ||
double | x3, | ||
int | n, | ||
unsigned int | dw, | ||
unsigned int | ew, | ||
float | dr, | ||
float | er, | ||
L1MonitorDigi | dm, | ||
L1MonitorDigi | em | ||
) |
L1DataEmulDigi::~L1DataEmulDigi | ( | ) |
Definition at line 50 of file L1DataEmulDigi.cc.
{}
int L1DataEmulDigi::cid | ( | ) | const [inline] |
Definition at line 39 of file L1DataEmulDigi.h.
References m_cid.
Referenced by L1DataEmulDigi(), operator<<(), and setCid().
{return m_cid;}
L1MonitorDigi L1DataEmulDigi::data | ( | ) | const [inline] |
void L1DataEmulDigi::data | ( | unsigned int * | d | ) | const [inline] |
bool L1DataEmulDigi::empty | ( | ) | const |
L1MonitorDigi L1DataEmulDigi::emul | ( | ) | const [inline] |
void L1DataEmulDigi::rank | ( | float * | r | ) | const [inline] |
int L1DataEmulDigi::reset | ( | void | ) |
Definition at line 13 of file L1DataEmulDigi.cc.
References def, lumiContext::fill, i, m_cid, m_data, m_DEpair, m_location, m_null, m_rank, m_sid, and m_type.
Referenced by L1TdeGCT::analyze(), L1TDEMON::analyze(), and L1DataEmulDigi().
{ m_null = -99; m_sid = m_null; m_cid = m_null; for(int i=0; i<3; i++) m_location[i]=m_null; m_type = m_null; std::fill(m_data,m_data+sizeof(m_data)/sizeof(m_data[0]),0); std::fill(m_rank,m_rank+sizeof(m_rank)/sizeof(m_rank[0]),m_null); L1MonitorDigi def; m_DEpair[0]=def; m_DEpair[1]=def; return m_null; }
void L1DataEmulDigi::setCid | ( | int | cid | ) | [inline] |
void L1DataEmulDigi::setData | ( | unsigned int | d, |
unsigned int | e | ||
) | [inline] |
Definition at line 33 of file L1DataEmulDigi.h.
References alignCSCRings::e, and m_data.
Referenced by DEutils< T >::DEDigi().
void L1DataEmulDigi::setDEpair | ( | L1MonitorDigi | d, |
L1MonitorDigi | e | ||
) | [inline] |
Definition at line 35 of file L1DataEmulDigi.h.
References alignCSCRings::e, and m_DEpair.
Referenced by DEutils< T >::DEDigi().
void L1DataEmulDigi::setLocation | ( | double | x1, |
double | x2, | ||
double | x3 | ||
) | [inline] |
Definition at line 30 of file L1DataEmulDigi.h.
References m_location, x1(), x2(), and x3().
{ m_location[0]=x1; m_location[1]=x2; m_location[2]=x3;}
void L1DataEmulDigi::setRank | ( | float | d, |
float | e | ||
) | [inline] |
Definition at line 34 of file L1DataEmulDigi.h.
References alignCSCRings::e, and m_rank.
Referenced by DEutils< T >::DEDigi().
void L1DataEmulDigi::setSid | ( | int | sid | ) | [inline] |
void L1DataEmulDigi::setType | ( | int | n | ) | [inline] |
int L1DataEmulDigi::sid | ( | ) | const [inline] |
Definition at line 38 of file L1DataEmulDigi.h.
References m_sid.
Referenced by L1DataEmulDigi(), operator<<(), and setSid().
{return m_sid;}
int L1DataEmulDigi::type | ( | ) | const [inline] |
Definition at line 43 of file L1DataEmulDigi.h.
References m_type.
Referenced by operator<<().
{return m_type;}
double L1DataEmulDigi::x1 | ( | ) | const [inline] |
Definition at line 40 of file L1DataEmulDigi.h.
References m_location.
Referenced by L1DataEmulDigi(), operator<<(), and setLocation().
{return m_location[0];}
double L1DataEmulDigi::x2 | ( | ) | const [inline] |
Definition at line 41 of file L1DataEmulDigi.h.
References m_location.
Referenced by L1DataEmulDigi(), operator<<(), and setLocation().
{return m_location[1];}
double L1DataEmulDigi::x3 | ( | ) | const [inline] |
Definition at line 42 of file L1DataEmulDigi.h.
References m_location.
Referenced by L1DataEmulDigi(), operator<<(), and setLocation().
{return m_location[2];}
int L1DataEmulDigi::m_cid [private] |
Definition at line 55 of file L1DataEmulDigi.h.
Referenced by cid(), empty(), L1DataEmulDigi(), reset(), and setCid().
unsigned int L1DataEmulDigi::m_data[2] [private] |
Definition at line 58 of file L1DataEmulDigi.h.
Referenced by data(), L1DataEmulDigi(), reset(), and setData().
L1MonitorDigi L1DataEmulDigi::m_DEpair[2] [private] |
Definition at line 61 of file L1DataEmulDigi.h.
Referenced by data(), emul(), L1DataEmulDigi(), reset(), and setDEpair().
double L1DataEmulDigi::m_location[3] [private] |
Definition at line 56 of file L1DataEmulDigi.h.
Referenced by empty(), L1DataEmulDigi(), reset(), setLocation(), x1(), x2(), and x3().
int L1DataEmulDigi::m_null [private] |
Definition at line 60 of file L1DataEmulDigi.h.
float L1DataEmulDigi::m_rank[2] [private] |
Definition at line 59 of file L1DataEmulDigi.h.
Referenced by L1DataEmulDigi(), rank(), reset(), and setRank().
int L1DataEmulDigi::m_sid [private] |
Definition at line 54 of file L1DataEmulDigi.h.
Referenced by empty(), L1DataEmulDigi(), reset(), setSid(), and sid().
int L1DataEmulDigi::m_type [private] |
Definition at line 57 of file L1DataEmulDigi.h.
Referenced by L1DataEmulDigi(), reset(), setType(), and type().