![]() |
ATLAS Offline Software
|
CMMEtSums object stores Et sums from the Energy CMMs. More...
#include <CMMEtSums.h>
Public Types | |
| enum | DataIDs { REMOTE = 16 , LOCAL , TOTAL , MISSING_ET_MAP , SUM_ET_MAP , MISSING_ET_SIG_MAP , MAXID } |
Public Member Functions | |
| CMMEtSums ()=default | |
| Constructors. | |
| CMMEtSums (int crate, int dataID) | |
| constructs a CMMEtSums object, specifying crate, and data ID. | |
| CMMEtSums (int crate, int dataID, 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 CMMEtSums object and fill all data members | |
| void | setPeak (int peak) |
| In multi-slice readout must specify which slide 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 | dataID () const |
| returns data ID | |
| 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_dataID {} |
| 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} |
CMMEtSums object stores Et sums from the Energy CMMs.
Used in unpacking and analysis of CMM readout data.
Definition at line 32 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h.
| Enumerator | |
|---|---|
| REMOTE | |
| LOCAL | |
| TOTAL | |
| MISSING_ET_MAP | |
| SUM_ET_MAP | |
| MISSING_ET_SIG_MAP | |
| MAXID | |
Definition at line 35 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h.
|
default |
Constructors.
| LVL1::CMMEtSums::CMMEtSums | ( | int | crate, |
| int | dataID ) |
constructs a CMMEtSums object, specifying crate, and data ID.
Definition at line 25 of file CMMEtSums.cxx.
| LVL1::CMMEtSums::CMMEtSums | ( | int | crate, |
| int | dataID, | ||
| 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 CMMEtSums object and fill all data members
Definition at line 32 of file CMMEtSums.cxx.
| void LVL1::CMMEtSums::addEt | ( | const std::vector< unsigned int > & | Et, |
| const std::vector< int > & | EtError ) |
| void LVL1::CMMEtSums::addEx | ( | const std::vector< unsigned int > & | Ex, |
| const std::vector< int > & | ExError ) |
| void LVL1::CMMEtSums::addEy | ( | const std::vector< unsigned int > & | Ey, |
| const std::vector< int > & | EyError ) |
| int LVL1::CMMEtSums::crate | ( | ) | const |
| int LVL1::CMMEtSums::dataID | ( | ) | const |
| unsigned int LVL1::CMMEtSums::Et | ( | ) | const |
For triggered time slice.
returns module ET sum for peak sample
Definition at line 64 of file CMMEtSums.cxx.
| int LVL1::CMMEtSums::EtError | ( | ) | const |
returns module ET sum error for peak sample
Definition at line 79 of file CMMEtSums.cxx.
| const std::vector< int > & LVL1::CMMEtSums::EtErrorVec | ( | ) | const |
returns module ET errors
Definition at line 109 of file CMMEtSums.cxx.
| const std::vector< unsigned int > & LVL1::CMMEtSums::EtVec | ( | ) | const |
| unsigned int LVL1::CMMEtSums::Ex | ( | ) | const |
returns module Ex sum for peak sample
Definition at line 69 of file CMMEtSums.cxx.
| int LVL1::CMMEtSums::ExError | ( | ) | const |
returns module Ex sum error for peak sample
Definition at line 84 of file CMMEtSums.cxx.
| const std::vector< int > & LVL1::CMMEtSums::ExErrorVec | ( | ) | const |
returns module Ex errors
Definition at line 114 of file CMMEtSums.cxx.
| const std::vector< unsigned int > & LVL1::CMMEtSums::ExVec | ( | ) | const |
| unsigned int LVL1::CMMEtSums::Ey | ( | ) | const |
returns module Ey sum for peak sample
Definition at line 74 of file CMMEtSums.cxx.
| int LVL1::CMMEtSums::EyError | ( | ) | const |
returns module Ey sum error for peak sample
Definition at line 89 of file CMMEtSums.cxx.
| const std::vector< int > & LVL1::CMMEtSums::EyErrorVec | ( | ) | const |
returns module Ey errors
Definition at line 119 of file CMMEtSums.cxx.
| const std::vector< unsigned int > & LVL1::CMMEtSums::EyVec | ( | ) | const |
| int LVL1::CMMEtSums::peak | ( | ) | const |
returns peak slice number
Definition at line 150 of file CMMEtSums.cxx.
| void LVL1::CMMEtSums::setPeak | ( | int | peak | ) |
In multi-slice readout must specify which slide is triggered BC.
Specify peak slice (Same for all vectors)
Definition at line 145 of file CMMEtSums.cxx.
|
private |
Internal data.
Definition at line 82 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h.
|
private |
Definition at line 83 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h.
|
private |
Definition at line 85 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h.
|
private |
Definition at line 88 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h.
|
private |
Definition at line 86 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h.
|
private |
Definition at line 89 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h.
|
private |
Definition at line 87 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h.
|
private |
Definition at line 90 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h.
|
private |
Definition at line 84 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h.