![]() |
ATLAS Offline Software
|
CMXEtSums object stores Et sums from the Energy CMXs. More...
#include <CMXEtSums.h>
Public Types | |
| enum | Sources { REMOTE_STANDARD = 16 , REMOTE_RESTRICTED , LOCAL_STANDARD , LOCAL_RESTRICTED , TOTAL_STANDARD , TOTAL_RESTRICTED , SUM_ET_STANDARD , SUM_ET_RESTRICTED , MISSING_ET_STANDARD , MISSING_ET_RESTRICTED , MISSING_ET_SIG_STANDARD , MAX_SOURCE } |
Public Member Functions | |
| CMXEtSums ()=default | |
| Constructors. | |
| CMXEtSums (int crate, int source) | |
| constructs a CMXEtSums object, specifying crate, and data ID. | |
| CMXEtSums (int crate, int source, const std::vector< unsigned int > &Et, const std::vector< unsigned int > &Ex, const std::vector< unsigned int > &Ey, const std::vector< int > &EtError, const std::vector< int > &ExError, const std::vector< int > &EyError, int peak) | |
| constructs a CMXEtSums object and fill all data members | |
| void | setPeak (int peak) |
| In multi-slice readout must specify which slice is triggered BC. | |
| void | addEt (const std::vector< unsigned int > &Et, const std::vector< int > &EtError) |
| Add data to existing objects. | |
| void | addEx (const std::vector< unsigned int > &Ex, const std::vector< int > &ExError) |
| Update Ex sum. | |
| void | addEy (const std::vector< unsigned int > &Ey, const std::vector< int > &EyError) |
| Update Ey sum. | |
| int | crate () const |
| Data accessors. | |
| int | source () const |
| returns data source | |
| unsigned int | Et () const |
| For triggered time slice. | |
| unsigned int | Ex () const |
| returns module Ex sum for peak sample | |
| unsigned int | Ey () const |
| returns module Ey sum for peak sample | |
| int | EtError () const |
| returns module ET sum error for peak sample | |
| int | ExError () const |
| returns module Ex sum error for peak sample | |
| int | EyError () const |
| returns module Ey sum error for peak sample | |
| const std::vector< unsigned int > & | EtVec () const |
| Access multi-slice data. | |
| const std::vector< unsigned int > & | ExVec () const |
| returns module Ex sum | |
| const std::vector< unsigned int > & | EyVec () const |
| returns module Ey sum | |
| const std::vector< int > & | EtErrorVec () const |
| returns module ET errors | |
| const std::vector< int > & | ExErrorVec () const |
| returns module Ex errors | |
| const std::vector< int > & | EyErrorVec () const |
| returns module Ey errors | |
| 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_Et {0} |
| std::vector< unsigned int > | m_Ex {0} |
| std::vector< unsigned int > | m_Ey {0} |
| std::vector< int > | m_EtError {0} |
| std::vector< int > | m_ExError {0} |
| std::vector< int > | m_EyError {0} |
CMXEtSums object stores Et sums from the Energy CMXs.
Used in unpacking and analysis of CMX readout data.
Definition at line 26 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
Definition at line 29 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
default |
Constructors.
| LVL1::CMXEtSums::CMXEtSums | ( | int | crate, |
| int | source ) |
constructs a CMXEtSums object, specifying crate, and data ID.
Definition at line 19 of file CMXEtSums.cxx.
| LVL1::CMXEtSums::CMXEtSums | ( | int | crate, |
| int | source, | ||
| const std::vector< unsigned int > & | Et, | ||
| const std::vector< unsigned int > & | Ex, | ||
| const std::vector< unsigned int > & | Ey, | ||
| const std::vector< int > & | EtError, | ||
| const std::vector< int > & | ExError, | ||
| const std::vector< int > & | EyError, | ||
| int | peak ) |
constructs a CMXEtSums object and fill all data members
Definition at line 26 of file CMXEtSums.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
Data accessors.
returns crate number
Definition at line 93 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
For triggered time slice.
returns module ET sum for peak sample
Definition at line 103 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module ET sum error for peak sample
Definition at line 118 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module ET errors
Definition at line 148 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
Access multi-slice data.
returns module ET sum
Definition at line 133 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ex sum for peak sample
Definition at line 108 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ex sum error for peak sample
Definition at line 123 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ex errors
Definition at line 153 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ex sum
Definition at line 138 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ey sum for peak sample
Definition at line 113 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ey sum error for peak sample
Definition at line 128 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ey errors
Definition at line 158 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ey sum
Definition at line 143 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns peak slice number
Definition at line 189 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
In multi-slice readout must specify which slice is triggered BC.
Specify peak slice (Same for all vectors)
Definition at line 184 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns data source
Definition at line 98 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
private |
Internal data.
Definition at line 80 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
private |
Definition at line 83 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
private |
Definition at line 86 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
private |
Definition at line 84 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
private |
Definition at line 87 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
private |
Definition at line 85 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
private |
Definition at line 88 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
private |
Definition at line 82 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
private |
Definition at line 81 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.