![]() |
ATLAS Offline Software
|
Summary of CP (EM/tau) hits produced by the merger modules. More...
#include <CMXCPHits.h>
Public Types | |
| enum | Sources { REMOTE_0, REMOTE_1, REMOTE_2, LOCAL, TOTAL, TOPO_CHECKSUM, TOPO_OCCUPANCY_MAP, TOPO_OCCUPANCY_COUNTS, MAXSOURCE } |
Public Member Functions | |
| CMXCPHits ()=default | |
| Constructors. More... | |
| CMXCPHits (int crate, int cmx, int source) | |
| constructs a CMXCPHits object, specifying crate, cmx, source. More... | |
| CMXCPHits (int crate, int cmx, int source, 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 CMXCPHits 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 | cmx () const |
| returns CMX number (0/1)==(Left/Right)==(Tau/Em?) More... | |
| int | source () const |
| returns source of data More... | |
| unsigned int | hits0 () const |
| For triggered time slice. More... | |
| unsigned int | hits1 () 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_cmx {} |
| int | m_source {} |
| 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 produced by the merger modules.
Used in unpacking and analysis of CP CMX readout data.
Definition at line 23 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
| Enumerator | |
|---|---|
| REMOTE_0 | |
| REMOTE_1 | |
| REMOTE_2 | |
| LOCAL | |
| TOTAL | |
| TOPO_CHECKSUM | |
| TOPO_OCCUPANCY_MAP | |
| TOPO_OCCUPANCY_COUNTS | |
| MAXSOURCE | |
Definition at line 26 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
default |
Constructors.
| LVL1::CMXCPHits::CMXCPHits | ( | int | crate, |
| int | cmx, | ||
| int | source | ||
| ) |
|
inline |
returns CMX number (0/1)==(Left/Right)==(Tau/Em?)
Definition at line 84 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
inline |
Data accessors.
returns crate number
Definition at line 79 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
inline |
returns error0 for peak sample
Definition at line 104 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
inline |
returns error1 for peak sample
Definition at line 109 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
inline |
returns error0
Definition at line 124 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
inline |
returns error1
Definition at line 129 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
inline |
For triggered time slice.
returns hits0 for peak sample
Definition at line 94 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
inline |
returns hits1 for peak sample
Definition at line 99 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
inline |
For multi-slice readout.
returns hits0
Definition at line 114 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
inline |
returns hits1
Definition at line 119 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
inline |
returns peak slice number
Definition at line 150 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
inline |
For multi-slice readout, need to indicate position of triggered BC.
Specify peak slice
Definition at line 145 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
inline |
returns source of data
Definition at line 89 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
private |
Definition at line 68 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
private |
Internal data.
Definition at line 67 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
private |
Definition at line 73 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
private |
Definition at line 74 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
private |
Definition at line 71 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
private |
Definition at line 72 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
private |
Definition at line 70 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
|
private |
Definition at line 69 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h.
1.8.18