ATLAS Offline Software
|
class modeling the strip hit fragment for the NSW L1 offline simulation More...
#include <StripOfflineData.h>
Public Member Functions | |
StripOfflineData (Identifier id, const sTgcIdHelper *helper, const sTgcDigit *digit) | |
~StripOfflineData () | |
void | setTrigBCID (int bcid) |
void | setTrigIndex (int) |
void | setStripCharge (float charge) |
void | setStripCharge_6bit (int charge) |
void | setStripCharge_10bit (int charge) |
void | setBandId (int band_id) |
get the band id More... | |
void | setPhiId (int phi_id) |
get the band id More... | |
void | set_readStrip (bool readStrip) |
void | setSideId (int) |
void | setSectorType (int) |
void | setSectorId (int) |
void | setModuleId (int) |
void | setWedgeId (int) |
void | setLayerId (int) |
uint32_t | id () const |
methods for retrieving the bare data More... | |
float | time () const |
global X pos More... | |
Identifier | Identity () const |
return indentifier More... | |
int | BCID () const |
int | trigIndex () const |
float | charge () const |
int | trig_BCID () const |
get the trigger BCID More... | |
float | strip_charge () const |
get the strip charge More... | |
int | strip_charge_6bit () const |
get the strip charge in 6 bit More... | |
int | strip_charge_10bit () const |
get the strip charge in 10 bit More... | |
bool | readStrip () const |
Check if strip should be read. More... | |
int | bandId () const |
get the band id More... | |
int | phiId () const |
get the phi id More... | |
int | sideId () const |
helper methods decoding the hit fragment position within the NSW detector More... | |
int | isSmall () const |
get the side (0==sideC, 1==sideA) More... | |
int | moduleId () const |
get the physics module (ranging from 0 at lowest R to 3 at highest R) More... | |
int | sectorId () const |
get the sector (ranging from 0 to 15) More... | |
int | sectorType () const |
helper methods decoding the hit fragment position within the NSW detector More... | |
int | wedge () const |
get the multiplet (ranging from 0 to 1, 1 is at lowest |z|) More... | |
int | layer () const |
get the gas gap (ranging from 0 to 3, 1 is at lowest |z|) More... | |
int | channelId () const |
get the channel More... | |
float | globX () const |
Use this for clustering. More... | |
float | globY () const |
global Y pos More... | |
float | globZ () const |
globzl Z pos More... | |
float | etaCenter () const |
void | set_globX (float pos) |
void | set_globY (float pos) |
void | set_globZ (float pos) |
char | type () const |
std::string | stationName () const |
float | locX () const |
local X pos More... | |
float | locY () const |
local Y pos More... | |
float | locZ () const |
local Z pos More... | |
void | set_locX (float pos) |
void | set_locY (float pos) |
void | set_locZ (float pos) |
Private Attributes | |
const Identifier | m_id |
offline identifier of the strip hit More... | |
const sTgcIdHelper * | m_helper {} |
helper for the identifier decoding More... | |
int | m_trig_bcid {} |
int | m_padTrigIndex {} |
float | m_strip_charge {} |
float | m_strip_time {} |
int | m_strip_charge_10bit {} |
int | m_strip_charge_6bit {} |
int | m_band_id {} |
int | m_phi_id {} |
float | m_x {} |
float | m_y {} |
float | m_z {} |
float | m_lx {} |
float | m_ly {} |
float | m_lz {} |
bool | m_read_strip {} |
int | m_sideId {} |
int | m_sectorType {} |
int | m_sectorId {} |
int | m_moduleId {} |
int | m_wedgeId {} |
int | m_layerId {} |
class modeling the strip hit fragment for the NSW L1 offline simulation
This holds the hit offline identifier with the corresponding helper plus the following: Trigger BCID, strip charge, band Id, phi Id. Additional data can be added providing the relative access methods are also added in the abstract class.
Definition at line 34 of file StripOfflineData.h.
NSWL1::StripOfflineData::StripOfflineData | ( | Identifier | id, |
const sTgcIdHelper * | helper, | ||
const sTgcDigit * | digit | ||
) |
Definition at line 14 of file StripOfflineData.cxx.
NSWL1::StripOfflineData::~StripOfflineData | ( | ) |
Definition at line 24 of file StripOfflineData.cxx.
|
virtual |
int NSWL1::StripOfflineData::BCID | ( | ) | const |
|
virtual |
float NSWL1::StripOfflineData::charge | ( | ) | const |
|
virtual |
Implements NSWL1::StripData.
Definition at line 147 of file StripOfflineData.cxx.
|
virtual |
Use this for clustering.
global X pos
Implements NSWL1::StripData.
Definition at line 137 of file StripOfflineData.cxx.
|
virtual |
|
virtual |
|
virtual |
methods for retrieving the bare data
get the 32 bit word identifing the fragment
Implements NSWL1::StripData.
Definition at line 58 of file StripOfflineData.cxx.
|
virtual |
|
virtual |
get the side (0==sideC, 1==sideA)
Implements NSWL1::StripData.
Definition at line 112 of file StripOfflineData.cxx.
|
virtual |
get the gas gap (ranging from 0 to 3, 1 is at lowest |z|)
Implements NSWL1::StripData.
Definition at line 127 of file StripOfflineData.cxx.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
get the physics module (ranging from 0 at lowest R to 3 at highest R)
Implements NSWL1::StripData.
Definition at line 77 of file StripOfflineData.cxx.
|
virtual |
|
virtual |
Check if strip should be read.
Implements NSWL1::StripData.
Definition at line 173 of file StripOfflineData.cxx.
|
virtual |
get the sector (ranging from 0 to 15)
Implements NSWL1::StripData.
Definition at line 82 of file StripOfflineData.cxx.
|
virtual |
helper methods decoding the hit fragment position within the NSW detector
Implements NSWL1::StripData.
Definition at line 107 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::set_globX | ( | float | pos | ) |
Definition at line 152 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::set_globY | ( | float | pos | ) |
Definition at line 155 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::set_globZ | ( | float | pos | ) |
Definition at line 158 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::set_locX | ( | float | pos | ) |
Definition at line 182 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::set_locY | ( | float | pos | ) |
Definition at line 185 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::set_locZ | ( | float | pos | ) |
Definition at line 188 of file StripOfflineData.cxx.
|
virtual |
Implements NSWL1::StripData.
Definition at line 177 of file StripOfflineData.cxx.
|
virtual |
void NSWL1::StripOfflineData::setLayerId | ( | int | lr | ) |
Definition at line 207 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::setModuleId | ( | int | mod | ) |
Definition at line 201 of file StripOfflineData.cxx.
|
virtual |
void NSWL1::StripOfflineData::setSectorId | ( | int | id | ) |
Definition at line 198 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::setSectorType | ( | int | t | ) |
Definition at line 195 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::setSideId | ( | int | id | ) |
Definition at line 192 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::setStripCharge | ( | float | charge | ) |
Definition at line 42 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::setStripCharge_10bit | ( | int | charge | ) |
Definition at line 38 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::setStripCharge_6bit | ( | int | charge | ) |
Definition at line 34 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::setTrigBCID | ( | int | bcid | ) |
Definition at line 28 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::setTrigIndex | ( | int | idx | ) |
Definition at line 31 of file StripOfflineData.cxx.
void NSWL1::StripOfflineData::setWedgeId | ( | int | wg | ) |
Definition at line 204 of file StripOfflineData.cxx.
|
virtual |
helper methods decoding the hit fragment position within the NSW detector
get the side (0==sideC, 1==sideA)
Implements NSWL1::StripData.
Definition at line 72 of file StripOfflineData.cxx.
|
virtual |
|
virtual |
get the strip charge
Implements NSWL1::StripData.
Definition at line 64 of file StripOfflineData.cxx.
|
virtual |
get the strip charge in 10 bit
Implements NSWL1::StripData.
Definition at line 66 of file StripOfflineData.cxx.
|
virtual |
get the strip charge in 6 bit
Implements NSWL1::StripData.
Definition at line 65 of file StripOfflineData.cxx.
|
virtual |
|
virtual |
get the trigger BCID
Implements NSWL1::StripData.
Definition at line 61 of file StripOfflineData.cxx.
int NSWL1::StripOfflineData::trigIndex | ( | ) | const |
Definition at line 62 of file StripOfflineData.cxx.
|
virtual |
|
virtual |
get the multiplet (ranging from 0 to 1, 1 is at lowest |z|)
Implements NSWL1::StripData.
Definition at line 122 of file StripOfflineData.cxx.
|
private |
Definition at line 45 of file StripOfflineData.h.
|
private |
helper for the identifier decoding
Definition at line 38 of file StripOfflineData.h.
|
private |
offline identifier of the strip hit
Definition at line 37 of file StripOfflineData.h.
|
private |
Definition at line 56 of file StripOfflineData.h.
|
private |
Definition at line 48 of file StripOfflineData.h.
|
private |
Definition at line 48 of file StripOfflineData.h.
|
private |
Definition at line 48 of file StripOfflineData.h.
|
private |
Definition at line 54 of file StripOfflineData.h.
|
private |
Definition at line 40 of file StripOfflineData.h.
|
private |
Definition at line 46 of file StripOfflineData.h.
|
private |
Definition at line 49 of file StripOfflineData.h.
|
private |
Definition at line 53 of file StripOfflineData.h.
|
private |
Definition at line 52 of file StripOfflineData.h.
|
private |
Definition at line 51 of file StripOfflineData.h.
|
private |
Definition at line 41 of file StripOfflineData.h.
|
private |
Definition at line 43 of file StripOfflineData.h.
|
private |
Definition at line 44 of file StripOfflineData.h.
|
private |
Definition at line 42 of file StripOfflineData.h.
|
private |
Definition at line 39 of file StripOfflineData.h.
|
private |
Definition at line 55 of file StripOfflineData.h.
|
private |
Definition at line 47 of file StripOfflineData.h.
|
private |
Definition at line 47 of file StripOfflineData.h.
|
private |
Definition at line 47 of file StripOfflineData.h.