ATLAS Offline Software
|
The CPMHits object contains the hit data produced by a given Cluster Processor Module, i.e. More...
#include <CPMHits.h>
Public Member Functions | |
CPMHits () | |
Constructors. More... | |
CPMHits (int crate, int module) | |
CPMHits (int crate, int module, const std::vector< unsigned int > &EMTauHits0, const std::vector< unsigned int > &EMTauHits1, int peak) | |
virtual | ~CPMHits () |
Destructor. More... | |
void | setPeak (int peak) |
In multi-slice readout, need to specify which is peak slice. More... | |
void | addHits (const std::vector< unsigned int > &hits0, const std::vector< unsigned int > &hits1) |
Add hits to existing object. More... | |
int | crate () const |
Data accessors. More... | |
int | module () const |
returns module number More... | |
unsigned int | HitWord0 () const |
returns hits for peak sample More... | |
unsigned int | HitWord1 () const |
const std::vector< unsigned int > & | HitsVec0 () const |
Multi-slice accessors. More... | |
const std::vector< unsigned int > & | HitsVec1 () const |
int | peak () const |
returns peak slice number More... | |
Private Attributes | |
int | m_crate |
Internal data. More... | |
int | m_module |
int | m_peak |
std::vector< unsigned int > | m_Hits0 |
std::vector< unsigned int > | m_Hits1 |
The CPMHits object contains the hit data produced by a given Cluster Processor Module, i.e.
the hit multiplicity sums for all 16 EM+Tau thresholds for one module. The sums are packed into 2 words, representing the data sent to the 2 CMMs.
The main function of the CPMHits object is for the unpacking and analysis of the hit data from the CPM readout.
Definition at line 35 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMHits.h.
LVL1::CPMHits::CPMHits | ( | ) |
Constructors.
Definition at line 27 of file CPMHits.cxx.
LVL1::CPMHits::CPMHits | ( | int | crate, |
int | module | ||
) |
LVL1::CPMHits::CPMHits | ( | int | crate, |
int | module, | ||
const std::vector< unsigned int > & | EMTauHits0, | ||
const std::vector< unsigned int > & | EMTauHits1, | ||
int | peak | ||
) |
|
virtual |
void LVL1::CPMHits::addHits | ( | const std::vector< unsigned int > & | hits0, |
const std::vector< unsigned int > & | hits1 | ||
) |
int LVL1::CPMHits::crate | ( | ) | const |
const std::vector< unsigned int > & LVL1::CPMHits::HitsVec0 | ( | ) | const |
const std::vector< unsigned int > & LVL1::CPMHits::HitsVec1 | ( | ) | const |
Definition at line 84 of file CPMHits.cxx.
unsigned int LVL1::CPMHits::HitWord0 | ( | ) | const |
returns hits for peak sample
Definition at line 73 of file CPMHits.cxx.
unsigned int LVL1::CPMHits::HitWord1 | ( | ) | const |
Definition at line 76 of file CPMHits.cxx.
int LVL1::CPMHits::module | ( | ) | const |
returns module number
Definition at line 68 of file CPMHits.cxx.
int LVL1::CPMHits::peak | ( | ) | const |
returns peak slice number
Definition at line 101 of file CPMHits.cxx.
void LVL1::CPMHits::setPeak | ( | int | peak | ) |
In multi-slice readout, need to specify which is peak slice.
Specify peak slice
Definition at line 96 of file CPMHits.cxx.
|
private |
Internal data.
Definition at line 66 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMHits.h.
|
private |
Definition at line 69 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMHits.h.
|
private |
Definition at line 70 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMHits.h.
|
private |
Definition at line 67 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMHits.h.
|
private |
Definition at line 68 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMHits.h.