ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
NSWL1::StripClusterOfflineData Class Reference

class modeling the strip hit fragment for the NSW L1 offline simulation More...

#include <StripClusterOfflineData.h>

Inheritance diagram for NSWL1::StripClusterOfflineData:
Collaboration diagram for NSWL1::StripClusterOfflineData:

Public Member Functions

 StripClusterOfflineData (int bandId, int bcId, int sideId, int phiId, int isSmall, int moduleId, int sectorId, int wedge, int layer, int size, float charge, float globX, float globY, float globZ)
 
 ~StripClusterOfflineData ()
 
int set_bandId (int bandId)
 
int set_BCID (int)
 
int set_phiId (int phiId)
 
bool set_isSmall (bool set_isSmall)
 
int set_moduleId (int moduleId)
 
int set_sectorId (int sectorId)
 
int set_wedge (int wedge)
 
int set_layer (int layer)
 
int set_size (int size)
 
float set_charge (float charge)
 
float set_globX (float globX)
 
float set_globY (float globY)
 
float set_globZ (float globZ)
 
int bandId () const
 methods for retrieving the bare data More...
 
int BCID () const
 
int phiId () const
 get the phi id More...
 
int isSmall () const
 helper methods decoding the hit fragment position within the NSW detector More...
 
int sideId () const
 
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 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 size () const
 
float charge () const
 
float globX () const
 global X pos More...
 
float globY () const
 global Y pos More...
 
float globZ () const
 globzl Z pos More...
 

Private Attributes

int m_bandId
 
int m_bcId
 
int m_sideId
 
int m_phiId
 
int m_isSmall
 
int m_moduleId
 
int m_sectorId
 
int m_wedge
 
int m_layer
 
int m_size
 
float m_charge
 
float m_globX
 
float m_globY
 
float m_globZ
 

Detailed Description

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.

Author
Alessandro Di Mattia dimat.nosp@m.tia@.nosp@m.cern..nosp@m.ch

Definition at line 33 of file StripClusterOfflineData.h.

Constructor & Destructor Documentation

◆ StripClusterOfflineData()

NSWL1::StripClusterOfflineData::StripClusterOfflineData ( int  bandId,
int  bcId,
int  sideId,
int  phiId,
int  isSmall,
int  moduleId,
int  sectorId,
int  wedge,
int  layer,
int  size,
float  charge,
float  globX,
float  globY,
float  globZ 
)

Definition at line 11 of file StripClusterOfflineData.cxx.

24  : StripClusterData(),
26  m_bcId(bcid),
27  m_sideId(sideid),
28  m_phiId(phiId),
32  m_wedge(wedge),
33  m_layer(layer),
34  m_size(size),
36  m_globX(globX),
37  m_globY(globY),
38  m_globZ(globZ){ }

◆ ~StripClusterOfflineData()

NSWL1::StripClusterOfflineData::~StripClusterOfflineData ( )

Definition at line 40 of file StripClusterOfflineData.cxx.

40  {
41  // StripOfflineData doesn't own the helper, so nothing to do here
42  }

Member Function Documentation

◆ bandId()

int NSWL1::StripClusterOfflineData::bandId ( ) const
inlinevirtual

methods for retrieving the bare data

get the band id

Implements NSWL1::StripClusterData.

Definition at line 85 of file StripClusterOfflineData.h.

85 {return m_bandId;}

◆ BCID()

int NSWL1::StripClusterOfflineData::BCID ( ) const
inlinevirtual

Implements NSWL1::StripClusterData.

Definition at line 86 of file StripClusterOfflineData.h.

86 {return m_bcId;}

◆ charge()

float NSWL1::StripClusterOfflineData::charge ( ) const
inlinevirtual

Implements NSWL1::StripClusterData.

Definition at line 95 of file StripClusterOfflineData.h.

95 {return m_charge;};

◆ globX()

float NSWL1::StripClusterOfflineData::globX ( ) const
inlinevirtual

global X pos

Implements NSWL1::StripClusterData.

Definition at line 96 of file StripClusterOfflineData.h.

96 {return m_globX;};

◆ globY()

float NSWL1::StripClusterOfflineData::globY ( ) const
inlinevirtual

global Y pos

Implements NSWL1::StripClusterData.

Definition at line 97 of file StripClusterOfflineData.h.

97 {return m_globY;};

◆ globZ()

float NSWL1::StripClusterOfflineData::globZ ( ) const
inlinevirtual

globzl Z pos

Implements NSWL1::StripClusterData.

Definition at line 98 of file StripClusterOfflineData.h.

98 {return m_globZ;};

◆ isSmall()

int NSWL1::StripClusterOfflineData::isSmall ( ) const
inlinevirtual

helper methods decoding the hit fragment position within the NSW detector

get the side (0==sideC, 1==sideA)

Implements NSWL1::StripClusterData.

Definition at line 88 of file StripClusterOfflineData.h.

88 {return m_isSmall;};

◆ layer()

int NSWL1::StripClusterOfflineData::layer ( ) const
inlinevirtual

get the gas gap (ranging from 0 to 3, 1 is at lowest |z|)

Implements NSWL1::StripClusterData.

Definition at line 93 of file StripClusterOfflineData.h.

93 {return m_layer;};

◆ moduleId()

int NSWL1::StripClusterOfflineData::moduleId ( ) const
inlinevirtual

get the physics module (ranging from 0 at lowest R to 3 at highest R)

Implements NSWL1::StripClusterData.

Definition at line 90 of file StripClusterOfflineData.h.

90 {return m_moduleId;};

◆ phiId()

int NSWL1::StripClusterOfflineData::phiId ( ) const
inlinevirtual

get the phi id

Implements NSWL1::StripClusterData.

Definition at line 87 of file StripClusterOfflineData.h.

87 {return m_phiId;}

◆ sectorId()

int NSWL1::StripClusterOfflineData::sectorId ( ) const
inlinevirtual

get the sector (ranging from 0 to 15)

Implements NSWL1::StripClusterData.

Definition at line 91 of file StripClusterOfflineData.h.

91 {return m_sectorId;};

◆ set_bandId()

int NSWL1::StripClusterOfflineData::set_bandId ( int  bandId)

◆ set_BCID()

int NSWL1::StripClusterOfflineData::set_BCID ( int  )

◆ set_charge()

float NSWL1::StripClusterOfflineData::set_charge ( float  charge)

◆ set_globX()

float NSWL1::StripClusterOfflineData::set_globX ( float  globX)

◆ set_globY()

float NSWL1::StripClusterOfflineData::set_globY ( float  globY)

◆ set_globZ()

float NSWL1::StripClusterOfflineData::set_globZ ( float  globZ)

◆ set_isSmall()

bool NSWL1::StripClusterOfflineData::set_isSmall ( bool  set_isSmall)

◆ set_layer()

int NSWL1::StripClusterOfflineData::set_layer ( int  layer)

◆ set_moduleId()

int NSWL1::StripClusterOfflineData::set_moduleId ( int  moduleId)

◆ set_phiId()

int NSWL1::StripClusterOfflineData::set_phiId ( int  phiId)

◆ set_sectorId()

int NSWL1::StripClusterOfflineData::set_sectorId ( int  sectorId)

◆ set_size()

int NSWL1::StripClusterOfflineData::set_size ( int  size)

◆ set_wedge()

int NSWL1::StripClusterOfflineData::set_wedge ( int  wedge)

◆ sideId()

int NSWL1::StripClusterOfflineData::sideId ( ) const
inlinevirtual

Implements NSWL1::StripClusterData.

Definition at line 89 of file StripClusterOfflineData.h.

89 { return m_sideId;}

◆ size()

int NSWL1::StripClusterOfflineData::size ( ) const
inlinevirtual

Implements NSWL1::StripClusterData.

Definition at line 94 of file StripClusterOfflineData.h.

94 {return m_size;};

◆ wedge()

int NSWL1::StripClusterOfflineData::wedge ( ) const
inlinevirtual

get the multiplet (ranging from 0 to 1, 1 is at lowest |z|)

Implements NSWL1::StripClusterData.

Definition at line 92 of file StripClusterOfflineData.h.

92 {return m_wedge;};

Member Data Documentation

◆ m_bandId

int NSWL1::StripClusterOfflineData::m_bandId
private

Definition at line 36 of file StripClusterOfflineData.h.

◆ m_bcId

int NSWL1::StripClusterOfflineData::m_bcId
private

Definition at line 37 of file StripClusterOfflineData.h.

◆ m_charge

float NSWL1::StripClusterOfflineData::m_charge
private

Definition at line 46 of file StripClusterOfflineData.h.

◆ m_globX

float NSWL1::StripClusterOfflineData::m_globX
private

Definition at line 47 of file StripClusterOfflineData.h.

◆ m_globY

float NSWL1::StripClusterOfflineData::m_globY
private

Definition at line 48 of file StripClusterOfflineData.h.

◆ m_globZ

float NSWL1::StripClusterOfflineData::m_globZ
private

Definition at line 49 of file StripClusterOfflineData.h.

◆ m_isSmall

int NSWL1::StripClusterOfflineData::m_isSmall
private

Definition at line 40 of file StripClusterOfflineData.h.

◆ m_layer

int NSWL1::StripClusterOfflineData::m_layer
private

Definition at line 44 of file StripClusterOfflineData.h.

◆ m_moduleId

int NSWL1::StripClusterOfflineData::m_moduleId
private

Definition at line 41 of file StripClusterOfflineData.h.

◆ m_phiId

int NSWL1::StripClusterOfflineData::m_phiId
private

Definition at line 39 of file StripClusterOfflineData.h.

◆ m_sectorId

int NSWL1::StripClusterOfflineData::m_sectorId
private

Definition at line 42 of file StripClusterOfflineData.h.

◆ m_sideId

int NSWL1::StripClusterOfflineData::m_sideId
private

Definition at line 38 of file StripClusterOfflineData.h.

◆ m_size

int NSWL1::StripClusterOfflineData::m_size
private

Definition at line 45 of file StripClusterOfflineData.h.

◆ m_wedge

int NSWL1::StripClusterOfflineData::m_wedge
private

Definition at line 43 of file StripClusterOfflineData.h.


The documentation for this class was generated from the following files:
NSWL1::StripClusterOfflineData::moduleId
int moduleId() const
get the physics module (ranging from 0 at lowest R to 3 at highest R)
Definition: StripClusterOfflineData.h:90
NSWL1::StripClusterData::StripClusterData
StripClusterData()
Definition: StripClusterData.h:56
NSWL1::StripClusterOfflineData::charge
float charge() const
Definition: StripClusterOfflineData.h:95
NSWL1::StripClusterOfflineData::m_wedge
int m_wedge
Definition: StripClusterOfflineData.h:43
NSWL1::StripClusterOfflineData::m_bandId
int m_bandId
Definition: StripClusterOfflineData.h:36
NSWL1::StripClusterOfflineData::m_charge
float m_charge
Definition: StripClusterOfflineData.h:46
NSWL1::StripClusterOfflineData::globX
float globX() const
global X pos
Definition: StripClusterOfflineData.h:96
NSWL1::StripClusterOfflineData::m_size
int m_size
Definition: StripClusterOfflineData.h:45
NSWL1::StripClusterOfflineData::sectorId
int sectorId() const
get the sector (ranging from 0 to 15)
Definition: StripClusterOfflineData.h:91
NSWL1::StripClusterOfflineData::bandId
int bandId() const
methods for retrieving the bare data
Definition: StripClusterOfflineData.h:85
NSWL1::StripClusterOfflineData::m_isSmall
int m_isSmall
Definition: StripClusterOfflineData.h:40
NSWL1::StripClusterOfflineData::m_globX
float m_globX
Definition: StripClusterOfflineData.h:47
NSWL1::StripClusterOfflineData::m_globZ
float m_globZ
Definition: StripClusterOfflineData.h:49
NSWL1::StripClusterOfflineData::m_globY
float m_globY
Definition: StripClusterOfflineData.h:48
NSWL1::StripClusterOfflineData::m_sideId
int m_sideId
Definition: StripClusterOfflineData.h:38
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
NSWL1::StripClusterOfflineData::m_phiId
int m_phiId
Definition: StripClusterOfflineData.h:39
NSWL1::StripClusterOfflineData::layer
int layer() const
get the gas gap (ranging from 0 to 3, 1 is at lowest |z|)
Definition: StripClusterOfflineData.h:93
NSWL1::StripClusterOfflineData::phiId
int phiId() const
get the phi id
Definition: StripClusterOfflineData.h:87
NSWL1::StripClusterOfflineData::m_bcId
int m_bcId
Definition: StripClusterOfflineData.h:37
NSWL1::StripClusterOfflineData::m_layer
int m_layer
Definition: StripClusterOfflineData.h:44
NSWL1::StripClusterOfflineData::m_sectorId
int m_sectorId
Definition: StripClusterOfflineData.h:42
NSWL1::StripClusterOfflineData::m_moduleId
int m_moduleId
Definition: StripClusterOfflineData.h:41
NSWL1::StripClusterOfflineData::globY
float globY() const
global Y pos
Definition: StripClusterOfflineData.h:97
NSWL1::StripClusterOfflineData::size
int size() const
Definition: StripClusterOfflineData.h:94
NSWL1::StripClusterOfflineData::globZ
float globZ() const
globzl Z pos
Definition: StripClusterOfflineData.h:98
NSWL1::StripClusterOfflineData::isSmall
int isSmall() const
helper methods decoding the hit fragment position within the NSW detector
Definition: StripClusterOfflineData.h:88
NSWL1::StripClusterOfflineData::wedge
int wedge() const
get the multiplet (ranging from 0 to 1, 1 is at lowest |z|)
Definition: StripClusterOfflineData.h:92