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 () | |
Constructors. More... | |
CMMJetHits (int crate, int dataID) | |
constructs a CMMJetHits object, specifying crate, data ID. More... | |
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 More... | |
virtual | ~CMMJetHits () |
Destructor. More... | |
void | setPeak (int peak) |
In multi-slice readout, need to specify which slice corresponds to the triggered bunch-crossing. More... | |
void | addHits (const std::vector< unsigned int > &hits, const std::vector< int > &errors) |
Add hits to existing object. More... | |
int | crate () const |
Data accessors. More... | |
int | dataID () const |
returns data ID of data More... | |
unsigned int | Hits () const |
returns hits for peak sample More... | |
int | Error () const |
returns error for peak sample More... | |
const std::vector< unsigned int > & | HitsVec () const |
Multi-slice accessors. More... | |
const std::vector< int > & | ErrorVec () const |
returns errors More... | |
int | peak () const |
returns peak slice number More... | |
Private Attributes | |
int | m_crate |
Internal data. More... | |
int | m_dataID |
int | m_peak |
std::vector< unsigned int > | m_hits |
std::vector< int > | m_errors |
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 32 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 35 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h.
LVL1::CMMJetHits::CMMJetHits | ( | ) |
Constructors.
Definition at line 27 of file CMMJetHits.cxx.
LVL1::CMMJetHits::CMMJetHits | ( | int | crate, |
int | dataID | ||
) |
constructs a CMMJetHits object, specifying crate, data ID.
Definition at line 40 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 50 of file CMMJetHits.cxx.
|
virtual |
void LVL1::CMMJetHits::addHits | ( | const std::vector< unsigned int > & | hits, |
const std::vector< int > & | errors | ||
) |
int LVL1::CMMJetHits::crate | ( | ) | const |
int LVL1::CMMJetHits::dataID | ( | ) | const |
returns data ID of data
Definition at line 68 of file CMMJetHits.cxx.
int LVL1::CMMJetHits::Error | ( | ) | const |
returns error for peak sample
Definition at line 78 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 73 of file CMMJetHits.cxx.
const std::vector< unsigned int > & LVL1::CMMJetHits::HitsVec | ( | ) | const |
int LVL1::CMMJetHits::peak | ( | ) | const |
returns peak slice number
Definition at line 105 of file CMMJetHits.cxx.
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 100 of file CMMJetHits.cxx.
|
private |
Internal data.
Definition at line 68 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 72 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h.
|
private |
Definition at line 71 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h.
|
private |
Definition at line 70 of file Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h.