#include <DataFormats/L1Trigger/interface/L1DataEmulRecord.h>
Public Types | |
typedef std::vector < L1DataEmulDigi > | L1DEDigiCollection |
Public Member Functions | |
bool | empty () const |
bool | get_isComp (int i) const |
void | get_status (bool result[]) const |
bool | get_status (int s) const |
bool | get_status () const |
L1DEDigiCollection | getColl () const |
GltDEDigi | getGlt () const |
int | getNCand (int i, int j) const |
L1DataEmulRecord (bool evt_match, bool sys_comp[DEnsys], bool sys_match[DEnsys], int nCand[DEnsys][2], L1DEDigiCollection, GltDEDigi) | |
L1DataEmulRecord () | |
void | set_status (const bool result[]) |
void | set_status (const bool result) |
void | setColl (const L1DEDigiCollection col) |
void | setGlt (GltDEDigi glt) |
~L1DataEmulRecord () | |
Static Public Attributes | |
static const int | DEnsys = 12 |
Private Attributes | |
bool | deAgree |
L1DEDigiCollection | deColl |
GltDEDigi | deGlt |
bool | deMatch [DEnsys] |
int | deNCand [DEnsys][2] |
bool | deSysCompared [DEnsys] |
Definition at line 15 of file L1DataEmulRecord.h.
typedef std::vector<L1DataEmulDigi> L1DataEmulRecord::L1DEDigiCollection |
Definition at line 20 of file L1DataEmulRecord.h.
L1DataEmulRecord::L1DataEmulRecord | ( | ) |
Definition at line 3 of file L1DataEmulRecord.cc.
References deColl, deMatch, deNCand, DEnsys, deSysCompared, i, and j.
00003 : deAgree(0), deGlt() { 00004 for(int i=0; i<DEnsys; i++) { 00005 deMatch[i] = 0; 00006 deSysCompared[i] = 0; 00007 for(int j=0; j<2; j++) 00008 deNCand[i][j] = 0; 00009 } 00010 deColl.clear(); 00011 }
L1DataEmulRecord::L1DataEmulRecord | ( | bool | evt_match, | |
bool | sys_comp[DEnsys], | |||
bool | sys_match[DEnsys], | |||
int | nCand[DEnsys][2], | |||
L1DEDigiCollection | , | |||
GltDEDigi | ||||
) |
L1DataEmulRecord::~L1DataEmulRecord | ( | ) |
bool L1DataEmulRecord::empty | ( | ) | const [inline] |
Definition at line 40 of file L1DataEmulRecord.h.
References deColl.
00040 {return deColl.size()==0;}
Definition at line 33 of file L1DataEmulRecord.h.
References deSysCompared.
Referenced by operator<<().
00033 {return deSysCompared[i];}
bool L1DataEmulRecord::get_status | ( | ) | const [inline] |
Definition at line 27 of file L1DataEmulRecord.h.
References deAgree.
Referenced by operator<<().
00027 { return deAgree; }
L1DEDigiCollection L1DataEmulRecord::getColl | ( | ) | const [inline] |
Definition at line 30 of file L1DataEmulRecord.h.
References deColl.
Referenced by operator<<().
00030 {return deColl;}
GltDEDigi L1DataEmulRecord::getGlt | ( | ) | const [inline] |
Definition at line 31 of file L1DataEmulRecord.h.
References deGlt.
Referenced by operator<<().
00031 {return deGlt;}
void L1DataEmulRecord::setColl | ( | const L1DEDigiCollection | col | ) | [inline] |
bool L1DataEmulRecord::deAgree [private] |
L1DEDigiCollection L1DataEmulRecord::deColl [private] |
Definition at line 48 of file L1DataEmulRecord.h.
Referenced by empty(), getColl(), L1DataEmulRecord(), and setColl().
GltDEDigi L1DataEmulRecord::deGlt [private] |
bool L1DataEmulRecord::deMatch[DEnsys] [private] |
Definition at line 46 of file L1DataEmulRecord.h.
Referenced by get_status(), L1DataEmulRecord(), and set_status().
int L1DataEmulRecord::deNCand[DEnsys][2] [private] |
const int L1DataEmulRecord::DEnsys = 12 [static] |
Definition at line 19 of file L1DataEmulRecord.h.
Referenced by L1DataEmulRecord(), and operator<<().
bool L1DataEmulRecord::deSysCompared[DEnsys] [private] |
Definition at line 45 of file L1DataEmulRecord.h.
Referenced by get_isComp(), and L1DataEmulRecord().