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 () | |
Constructors. More... | |
CMXJetHits (int crate, int source) | |
constructs a CMXJetHits object, specifying crate, cmx, source. More... | |
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 More... | |
virtual | ~CMXJetHits () |
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 | 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_source |
int | m_peak |
std::vector< unsigned int > | m_hits0 |
std::vector< unsigned int > | m_hits1 |
std::vector< int > | m_error0 |
std::vector< int > | m_error1 |
Summary of JEP (Jet) hits produced by the merger modules.
Used in unpacking and analysis of JEP CMX readout data.
Definition at line 24 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 27 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
LVL1::CMXJetHits::CMXJetHits | ( | ) |
LVL1::CMXJetHits::CMXJetHits | ( | int | crate, |
int | source | ||
) |
|
virtual |
Definition at line 27 of file CMXJetHits.cxx.
|
inline |
Data accessors.
returns crate number
Definition at line 88 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
inline |
|
inline |
|
inline |
returns error0
Definition at line 128 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
inline |
returns error1
Definition at line 133 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
inline |
|
inline |
|
inline |
For multi-slice readout.
returns hits0
Definition at line 118 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
inline |
returns hits1
Definition at line 123 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
inline |
returns peak slice number
Definition at line 154 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 149 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
inline |
returns source of data
Definition at line 93 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
private |
Internal data.
Definition at line 77 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
private |
Definition at line 82 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
private |
Definition at line 83 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 79 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.
|
private |
Definition at line 78 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXJetHits.h.