![]() |
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. | |
| CMMCPHits (int crate, int dataID) | |
| constructs a CMMCPHits object, specifying crate, data ID. | |
| 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 | |
| void | setPeak (int peak) |
| For multi-slice readout, need to indicate position of triggered BC. | |
| 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. | |
| int | crate () const |
| Data accessors. | |
| int | dataID () const |
| returns data ID of data | |
| unsigned int | HitWord0 () const |
| For triggered time slice. | |
| unsigned int | HitWord1 () const |
| returns hits1 for peak sample | |
| int | Error0 () const |
| returns error0 for peak sample | |
| int | Error1 () const |
| returns error1 for peak sample | |
| const std::vector< unsigned int > & | HitsVec0 () const |
| For multi-slice readout. | |
| const std::vector< unsigned int > & | HitsVec1 () const |
| returns hits1 | |
| const std::vector< int > & | ErrorVec0 () const |
| returns error0 | |
| const std::vector< int > & | ErrorVec1 () const |
| returns error1 | |
| int | peak () const |
| returns peak slice number | |
Private Attributes | |
| int | m_crate {} |
| Internal data. | |
| 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.
| Enumerator | |
|---|---|
| REMOTE_0 | |
| REMOTE_1 | |
| REMOTE_2 | |
| LOCAL | |
| TOTAL | |
| MAXID | |
Definition at line 33 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 23 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 30 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 |
| int LVL1::CMMCPHits::Error0 | ( | ) | const |
returns error0 for peak sample
Definition at line 67 of file CMMCPHits.cxx.
| int LVL1::CMMCPHits::Error1 | ( | ) | const |
returns error1 for peak sample
Definition at line 72 of file CMMCPHits.cxx.
| const std::vector< int > & LVL1::CMMCPHits::ErrorVec0 | ( | ) | const |
| const std::vector< int > & LVL1::CMMCPHits::ErrorVec1 | ( | ) | const |
| 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 57 of file CMMCPHits.cxx.
| unsigned int LVL1::CMMCPHits::HitWord1 | ( | ) | const |
returns hits1 for peak sample
Definition at line 62 of file CMMCPHits.cxx.
| int LVL1::CMMCPHits::peak | ( | ) | const |
returns peak slice number
Definition at line 113 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 108 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.