![]() |
ATLAS Offline Software
|
CMMJetHits class stores Jet hit multiplicities received by and read out from the Jet CMMs. More...
#include <CMMJetHits.h>
Public Types | |
| enum | DataIDs { REMOTE_MAIN = 16 , LOCAL_MAIN , TOTAL_MAIN , REMOTE_FORWARD , LOCAL_FORWARD , TOTAL_FORWARD , ET_MAP , MAXID } |
Public Member Functions | |
| CMMJetHits ()=default | |
| Constructors. | |
| CMMJetHits (int crate, int dataID) | |
| constructs a CMMJetHits object, specifying crate, data ID. | |
| CMMJetHits (int crate, int dataID, const std::vector< unsigned int > &hits, const std::vector< int > &errors, int peak) | |
| constructs a CMMJetHits object and fill all data members | |
| void | setPeak (int peak) |
| In multi-slice readout, need to specify which slice corresponds to the triggered bunch-crossing. | |
| void | addHits (const std::vector< unsigned int > &hits, const std::vector< int > &errors) |
| Add hits to existing object. | |
| int | crate () const |
| Data accessors. | |
| int | dataID () const |
| returns data ID of data | |
| unsigned int | Hits () const |
| returns hits for peak sample | |
| int | Error () const |
| returns error for peak sample | |
| const std::vector< unsigned int > & | HitsVec () const |
| Multi-slice accessors. | |
| const std::vector< int > & | ErrorVec () const |
| returns 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_hits {0} |
| std::vector< int > | m_errors {0} |
CMMJetHits class stores Jet hit multiplicities received by and read out from the Jet CMMs.
Its main function is in the unpacking and analysis of the Jet CMM readout.
Definition at line 31 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h.
| Enumerator | |
|---|---|
| REMOTE_MAIN | |
| LOCAL_MAIN | |
| TOTAL_MAIN | |
| REMOTE_FORWARD | |
| LOCAL_FORWARD | |
| TOTAL_FORWARD | |
| ET_MAP | |
| MAXID | |
Definition at line 34 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h.
|
default |
Constructors.
| LVL1::CMMJetHits::CMMJetHits | ( | int | crate, |
| int | dataID ) |
constructs a CMMJetHits object, specifying crate, data ID.
Definition at line 25 of file CMMJetHits.cxx.
| LVL1::CMMJetHits::CMMJetHits | ( | int | crate, |
| int | dataID, | ||
| const std::vector< unsigned int > & | hits, | ||
| const std::vector< int > & | errors, | ||
| int | peak ) |
constructs a CMMJetHits object and fill all data members
Definition at line 35 of file CMMJetHits.cxx.
| void LVL1::CMMJetHits::addHits | ( | const std::vector< unsigned int > & | hits, |
| const std::vector< int > & | errors ) |
Add hits to existing object.
Set hits.
Definition at line 78 of file CMMJetHits.cxx.
| int LVL1::CMMJetHits::crate | ( | ) | const |
| int LVL1::CMMJetHits::dataID | ( | ) | const |
| int LVL1::CMMJetHits::Error | ( | ) | const |
returns error for peak sample
Definition at line 63 of file CMMJetHits.cxx.
| const std::vector< int > & LVL1::CMMJetHits::ErrorVec | ( | ) | const |
| unsigned int LVL1::CMMJetHits::Hits | ( | ) | const |
returns hits for peak sample
Definition at line 58 of file CMMJetHits.cxx.
| const std::vector< unsigned int > & LVL1::CMMJetHits::HitsVec | ( | ) | const |
| int LVL1::CMMJetHits::peak | ( | ) | const |
| void LVL1::CMMJetHits::setPeak | ( | int | peak | ) |
In multi-slice readout, need to specify which slice corresponds to the triggered bunch-crossing.
Specify peak slice.
Definition at line 85 of file CMMJetHits.cxx.
|
private |
Internal data.
Definition at line 65 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h.
|
private |
Definition at line 66 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h.
|
private |
Definition at line 69 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h.
|
private |
Definition at line 68 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h.
|
private |
Definition at line 67 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h.