![]() |
ATLAS Offline Software
|
Summary of CP (EM/tau) hits received by the merger modules. More...
#include <CMMCPHits.h>
Public Types | |
enum | DataIDs { REMOTE_0 = 15, REMOTE_1, REMOTE_2, LOCAL, TOTAL, MAXID } |
Public Member Functions | |
CMMCPHits ()=default | |
Constructors. More... | |
CMMCPHits (int crate, int dataID) | |
constructs a CMMCPHits object, specifying crate, data ID. More... | |
CMMCPHits (int crate, int dataID, const std::vector< unsigned int > &hits0, const std::vector< unsigned int > &hits1, const std::vector< int > &error0, const std::vector< int > &error1, int peak) | |
constructs a CMMCPHits object and fill all data members More... | |
void | setPeak (int peak) |
For multi-slice readout, need to indicate position of triggered BC. More... | |
void | addHits (const std::vector< unsigned int > &hits0, const std::vector< unsigned int > &hits1, const std::vector< int > &error0, const std::vector< int > &error1) |
Add data to existing object. More... | |
int | crate () const |
Data accessors. More... | |
int | dataID () const |
returns data ID of data More... | |
unsigned int | HitWord0 () const |
For triggered time slice. More... | |
unsigned int | HitWord1 () const |
returns hits1 for peak sample More... | |
int | Error0 () const |
returns error0 for peak sample More... | |
int | Error1 () const |
returns error1 for peak sample More... | |
const std::vector< unsigned int > & | HitsVec0 () const |
For multi-slice readout. More... | |
const std::vector< unsigned int > & | HitsVec1 () const |
returns hits1 More... | |
const std::vector< int > & | ErrorVec0 () const |
returns error0 More... | |
const std::vector< int > & | ErrorVec1 () const |
returns error1 More... | |
int | peak () const |
returns peak slice number More... | |
Private Attributes | |
int | m_crate {} |
Internal data. More... | |
int | m_dataID {} |
int | m_peak {} |
std::vector< unsigned int > | m_hits0 {0} |
std::vector< unsigned int > | m_hits1 {0} |
std::vector< int > | m_error0 {0} |
std::vector< int > | m_error1 {0} |
Summary of CP (EM/tau) hits received by the merger modules.
Used in unpacking and analysis of CP CMM readout data.
Definition at line 30 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMCPHits.h.
|
default |
Constructors.
LVL1::CMMCPHits::CMMCPHits | ( | int | crate, |
int | dataID | ||
) |
constructs a CMMCPHits object, specifying crate, data ID.
Definition at line 28 of file CMMCPHits.cxx.
LVL1::CMMCPHits::CMMCPHits | ( | int | crate, |
int | dataID, | ||
const std::vector< unsigned int > & | hits0, | ||
const std::vector< unsigned int > & | hits1, | ||
const std::vector< int > & | error0, | ||
const std::vector< int > & | error1, | ||
int | peak | ||
) |
constructs a CMMCPHits object and fill all data members
Definition at line 35 of file CMMCPHits.cxx.
void LVL1::CMMCPHits::addHits | ( | const std::vector< unsigned int > & | hits0, |
const std::vector< unsigned int > & | hits1, | ||
const std::vector< int > & | error0, | ||
const std::vector< int > & | error1 | ||
) |
int LVL1::CMMCPHits::crate | ( | ) | const |
int LVL1::CMMCPHits::dataID | ( | ) | const |
returns data ID of data
Definition at line 57 of file CMMCPHits.cxx.
int LVL1::CMMCPHits::Error0 | ( | ) | const |
returns error0 for peak sample
Definition at line 72 of file CMMCPHits.cxx.
int LVL1::CMMCPHits::Error1 | ( | ) | const |
returns error1 for peak sample
Definition at line 77 of file CMMCPHits.cxx.
const std::vector< int > & LVL1::CMMCPHits::ErrorVec0 | ( | ) | const |
const std::vector< int > & LVL1::CMMCPHits::ErrorVec1 | ( | ) | const |
returns error1
Definition at line 97 of file CMMCPHits.cxx.
const std::vector< unsigned int > & LVL1::CMMCPHits::HitsVec0 | ( | ) | const |
const std::vector< unsigned int > & LVL1::CMMCPHits::HitsVec1 | ( | ) | const |
unsigned int LVL1::CMMCPHits::HitWord0 | ( | ) | const |
For triggered time slice.
returns hits0 for peak sample
Definition at line 62 of file CMMCPHits.cxx.
unsigned int LVL1::CMMCPHits::HitWord1 | ( | ) | const |
returns hits1 for peak sample
Definition at line 67 of file CMMCPHits.cxx.
int LVL1::CMMCPHits::peak | ( | ) | const |
returns peak slice number
Definition at line 118 of file CMMCPHits.cxx.
void LVL1::CMMCPHits::setPeak | ( | int | peak | ) |
For multi-slice readout, need to indicate position of triggered BC.
Specify peak slice
Definition at line 113 of file CMMCPHits.cxx.
|
private |
Internal data.
Definition at line 70 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMCPHits.h.
|
private |
Definition at line 71 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMCPHits.h.
|
private |
Definition at line 75 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMCPHits.h.
|
private |
Definition at line 76 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMCPHits.h.
|
private |
Definition at line 73 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMCPHits.h.
|
private |
Definition at line 74 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMCPHits.h.
|
private |
Definition at line 72 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMCPHits.h.