![]() |
ATLAS Offline Software
|
TOB data received by the merger modules. More...
#include <CMXCPTob.h>
Public Member Functions | |
CMXCPTob ()=default | |
Constructors. More... | |
CMXCPTob (int crate, int cmx, int cpm, int chip, int loc) | |
constructs a CMXCPTob object, specifying crate, cmx, cpm etc. More... | |
CMXCPTob (int crate, int cmx, int cpm, int chip, int loc, const std::vector< int > &energy, const std::vector< int > &isolation, const std::vector< int > &error, const std::vector< unsigned int > &presenceMap, int peak) | |
constructs a CMXCPTob object and fill all data members More... | |
void | setPeak (int peak) |
For multi-slice readout, need to indicate position of triggered BC. More... | |
void | addTob (const std::vector< int > &energy, const std::vector< int > &isolation, const std::vector< int > &error, const std::vector< unsigned int > &presenceMap) |
Add data to existing object. More... | |
int | crate () const |
Data accessors. More... | |
int | cmx () const |
returns CMX number (0/1)==(Left/Right)==(Tau/Em) More... | |
int | cpm () const |
returns CPM number More... | |
int | chip () const |
returns chip number (3 or 4 bits?) More... | |
int | location () const |
returns location (3 or 2 bits?) More... | |
int | energy () const |
For triggered time slice. More... | |
int | isolation () const |
returns isolation for peak sample More... | |
int | error () const |
returns error for peak sample More... | |
unsigned int | presenceMap () const |
returns presence map for peak sample More... | |
const std::vector< int > & | energyVec () const |
For multi-slice readout. More... | |
const std::vector< int > & | isolationVec () const |
returns isolation More... | |
const std::vector< int > & | errorVec () const |
returns error More... | |
const std::vector< unsigned int > & | presenceMapVec () const |
returns presence maps More... | |
int | peak () const |
returns peak slice number More... | |
Private Attributes | |
int | m_crate {} |
Internal data. More... | |
int | m_cmx {} |
int | m_cpm {} |
int | m_chip {} |
int | m_location {} |
int | m_peak {} |
std::vector< int > | m_energy {0} |
std::vector< int > | m_isolation {0} |
std::vector< int > | m_error {0} |
std::vector< unsigned int > | m_presenceMap {0} |
TOB data received by the merger modules.
Used in unpacking and analysis of CP CMX readout data.
Definition at line 23 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
default |
Constructors.
LVL1::CMXCPTob::CMXCPTob | ( | int | crate, |
int | cmx, | ||
int | cpm, | ||
int | chip, | ||
int | loc | ||
) |
LVL1::CMXCPTob::CMXCPTob | ( | int | crate, |
int | cmx, | ||
int | cpm, | ||
int | chip, | ||
int | loc, | ||
const std::vector< int > & | energy, | ||
const std::vector< int > & | isolation, | ||
const std::vector< int > & | error, | ||
const std::vector< unsigned int > & | presenceMap, | ||
int | peak | ||
) |
|
inline |
Add data to existing object.
Set TOB.
Definition at line 144 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
returns chip number (3 or 4 bits?)
Definition at line 94 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
returns CMX number (0/1)==(Left/Right)==(Tau/Em)
Definition at line 84 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
returns CPM number
Definition at line 89 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
Data accessors.
returns crate number
Definition at line 79 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
For triggered time slice.
returns energy for peak sample
Definition at line 104 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
For multi-slice readout.
returns energy
Definition at line 124 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
returns error for peak sample
Definition at line 114 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
returns error
Definition at line 134 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
returns isolation for peak sample
Definition at line 109 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
returns isolation
Definition at line 129 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
returns location (3 or 2 bits?)
Definition at line 99 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
returns peak slice number
Definition at line 160 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
returns presence map for peak sample
Definition at line 119 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
returns presence maps
Definition at line 139 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
inline |
For multi-slice readout, need to indicate position of triggered BC.
Specify peak slice
Definition at line 155 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
private |
Definition at line 68 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
private |
Definition at line 66 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
private |
Definition at line 67 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
private |
Internal data.
Definition at line 65 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
private |
Definition at line 71 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
private |
Definition at line 73 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
private |
Definition at line 72 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
private |
Definition at line 69 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
private |
Definition at line 70 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.
|
private |
Definition at line 74 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h.