ATLAS Offline Software
|
CMXEtSums object stores Et sums from the Energy CMXs. More...
#include <CMXEtSums.h>
Public Member Functions | |
CMXEtSums () | |
Constructors. More... | |
CMXEtSums (int crate, int source) | |
constructs a CMXEtSums object, specifying crate, and data ID. More... | |
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 More... | |
virtual | ~CMXEtSums () |
void | setPeak (int peak) |
In multi-slice readout must specify which slice is triggered BC. More... | |
void | addEt (const std::vector< unsigned int > &Et, const std::vector< int > &EtError) |
Add data to existing objects. More... | |
void | addEx (const std::vector< unsigned int > &Ex, const std::vector< int > &ExError) |
Update Ex sum. More... | |
void | addEy (const std::vector< unsigned int > &Ey, const std::vector< int > &EyError) |
Update Ey sum. More... | |
int | crate () const |
Data accessors. More... | |
int | source () const |
returns data source More... | |
unsigned int | Et () const |
For triggered time slice. More... | |
unsigned int | Ex () const |
returns module Ex sum for peak sample More... | |
unsigned int | Ey () const |
returns module Ey sum for peak sample More... | |
int | EtError () const |
returns module ET sum error for peak sample More... | |
int | ExError () const |
returns module Ex sum error for peak sample More... | |
int | EyError () const |
returns module Ey sum error for peak sample More... | |
const std::vector< unsigned int > & | EtVec () const |
Access multi-slice data. More... | |
const std::vector< unsigned int > & | ExVec () const |
returns module Ex sum More... | |
const std::vector< unsigned int > & | EyVec () const |
returns module Ey sum More... | |
const std::vector< int > & | EtErrorVec () const |
returns module ET errors More... | |
const std::vector< int > & | ExErrorVec () const |
returns module Ex errors More... | |
const std::vector< int > & | EyErrorVec () const |
returns module Ey errors 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_Et |
std::vector< unsigned int > | m_Ex |
std::vector< unsigned int > | m_Ey |
std::vector< int > | m_EtError |
std::vector< int > | m_ExError |
std::vector< int > | m_EyError |
CMXEtSums object stores Et sums from the Energy CMXs.
Used in unpacking and analysis of CMX readout data.
Definition at line 27 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
Definition at line 30 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
LVL1::CMXEtSums::CMXEtSums | ( | ) |
LVL1::CMXEtSums::CMXEtSums | ( | int | crate, |
int | source | ||
) |
|
virtual |
Definition at line 29 of file CMXEtSums.cxx.
|
inline |
Data accessors.
returns crate number
Definition at line 95 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
For triggered time slice.
returns module ET sum for peak sample
Definition at line 105 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module ET sum error for peak sample
Definition at line 120 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module ET errors
Definition at line 150 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
Access multi-slice data.
returns module ET sum
Definition at line 135 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ex sum for peak sample
Definition at line 110 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ex sum error for peak sample
Definition at line 125 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ex errors
Definition at line 155 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ex sum
Definition at line 140 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ey sum for peak sample
Definition at line 115 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ey sum error for peak sample
Definition at line 130 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ey errors
Definition at line 160 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns module Ey sum
Definition at line 145 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns peak slice number
Definition at line 191 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 186 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
inline |
returns data source
Definition at line 100 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
private |
Internal data.
Definition at line 82 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 86 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.
|
private |
Definition at line 89 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 90 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 83 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXEtSums.h.