![]() |
ATLAS Offline Software
|
Summary of JEP (Jet) hits produced by the merger modules. More...
#include <CMXJetHits.h>
Public Types | |
| enum | Sources { REMOTE_MAIN = 0 , LOCAL_MAIN = 1 , TOTAL_MAIN = 2 , REMOTE_FORWARD = 4 , LOCAL_FORWARD = 5 , TOTAL_FORWARD = 6 , TOPO_CHECKSUM = 8 , TOPO_OCCUPANCY_MAP = 9 , TOPO_OCCUPANCY_COUNTS = 10 , MAX_SOURCE = 15 } |
Public Member Functions | |
| CMXJetHits ()=default | |
| Constructors. | |
| CMXJetHits (int crate, int source) | |
| constructs a CMXJetHits object, specifying crate, cmx, source. | |
| CMXJetHits (int crate, 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 CMXJetHits 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 | source () const |
| returns source of data | |
| unsigned int | hits0 () const |
| For triggered time slice. | |
| unsigned int | hits1 () 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_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 JEP (Jet) hits produced by the merger modules.
Used in unpacking and analysis of JEP CMX readout data.
Definition at line 23 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
| Enumerator | |
|---|---|
| REMOTE_MAIN | |
| LOCAL_MAIN | |
| TOTAL_MAIN | |
| REMOTE_FORWARD | |
| LOCAL_FORWARD | |
| TOTAL_FORWARD | |
| TOPO_CHECKSUM | |
| TOPO_OCCUPANCY_MAP | |
| TOPO_OCCUPANCY_COUNTS | |
| MAX_SOURCE | |
Definition at line 26 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
default |
Constructors.
| LVL1::CMXJetHits::CMXJetHits | ( | int | crate, |
| int | source ) |
constructs a CMXJetHits object, specifying crate, cmx, source.
Definition at line 18 of file CMXJetHits.cxx.
| LVL1::CMXJetHits::CMXJetHits | ( | int | crate, |
| 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 CMXJetHits object and fill all data members
Definition at line 25 of file CMXJetHits.cxx.
|
inline |
|
inline |
Data accessors.
returns crate number
Definition at line 86 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
inline |
returns error0 for peak sample
Definition at line 106 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
inline |
|
inline |
returns error0
Definition at line 126 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
inline |
returns error1
Definition at line 131 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
inline |
|
inline |
|
inline |
For multi-slice readout.
returns hits0
Definition at line 116 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
inline |
returns hits1
Definition at line 121 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
inline |
returns peak slice number
Definition at line 152 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
inline |
For multi-slice readout, need to indicate position of triggered BC.
Specify peak slice.
Definition at line 147 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
inline |
returns source of data
Definition at line 91 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
private |
Internal data.
Definition at line 75 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
private |
Definition at line 80 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
private |
Definition at line 81 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
private |
Definition at line 78 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
private |
Definition at line 79 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
private |
Definition at line 77 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
private |
Definition at line 76 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.