ATLAS Offline Software
StripClusterOfflineData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef STRIPCLUSTEROFFLINEDATA_H
6 #define STRIPCLUSTEROFFLINEDATA_H
7 
8 // Identifier includes
9 #include "Identifier/Identifier.h"
11 // local includes
13 #include <string.h>
14 
15 // namespace for the NSW LVL1 related classes
16 
17 namespace NSWL1 {
18 
19 
34 
35  private:
36  int m_bandId;
37  int m_bcId;
38  int m_sideId;
39  int m_phiId;
40  int m_isSmall;
43  int m_wedge;
44  int m_layer;
45  int m_size;
46  float m_charge;
47  float m_globX;
48  float m_globY;
49  float m_globZ;
50 
51  public:
52 
54  int bcId,
55  int sideId,
56  int phiId,
57  int isSmall,
58  int moduleId,
59  int sectorId,
60  int wedge,
61  int layer,
62  int size,
63  float charge,
64  float globX,
65  float globY,
66  float globZ);
68 
69  int set_bandId(int bandId);
70  int set_BCID(int);
71  int set_phiId(int phiId);
75  int set_wedge(int wedge);
76  int set_layer(int layer);
77  int set_size(int size);
78  float set_charge(float charge);
79  float set_globX(float globX);
80  float set_globY(float globY);
81  float set_globZ(float globZ);
82 
83 
84 
85  int bandId() const {return m_bandId;}
86  int BCID() const {return m_bcId;}
87  int phiId() const {return m_phiId;}
88  int isSmall() const {return m_isSmall;};
89  int sideId() const { return m_sideId;}
90  int moduleId() const {return m_moduleId;};
91  int sectorId() const {return m_sectorId;};
92  int wedge() const {return m_wedge;};
93  int layer() const {return m_layer;};
94  int size() const {return m_size;};
95  float charge() const {return m_charge;};
96  float globX() const {return m_globX;};
97  float globY() const {return m_globY;};
98  float globZ() const {return m_globZ;};
99 
100  }; // end of StripClusterOfflineData class
101 
102 } // namespace NSWL1
103 
104 #endif
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::StripClusterOfflineData::set_sectorId
int set_sectorId(int sectorId)
NSWL1::StripClusterOfflineData::set_bandId
int set_bandId(int bandId)
NSWL1::StripClusterOfflineData::set_wedge
int set_wedge(int wedge)
NSWL1::StripClusterOfflineData::set_globZ
float set_globZ(float globZ)
NSWL1::StripClusterOfflineData::charge
float charge() const
Definition: StripClusterOfflineData.h:95
NSWL1::StripClusterOfflineData::m_wedge
int m_wedge
Definition: StripClusterOfflineData.h:43
NSWL1::StripClusterOfflineData::BCID
int BCID() const
Definition: StripClusterOfflineData.h:86
NSWL1::StripClusterOfflineData::m_bandId
int m_bandId
Definition: StripClusterOfflineData.h:36
NSWL1::StripClusterOfflineData::m_charge
float m_charge
Definition: StripClusterOfflineData.h:46
StripClusterData.h
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::set_phiId
int set_phiId(int phiId)
NSWL1::StripClusterOfflineData::sectorId
int sectorId() const
get the sector (ranging from 0 to 15)
Definition: StripClusterOfflineData.h:91
NSWL1::StripClusterOfflineData
class modeling the strip hit fragment for the NSW L1 offline simulation
Definition: StripClusterOfflineData.h:33
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::set_isSmall
bool set_isSmall(bool set_isSmall)
NSWL1::StripClusterOfflineData::m_globZ
float m_globZ
Definition: StripClusterOfflineData.h:49
bcId
uint16_t bcId(uint32_t data)
Definition: TgcByteStreamData.h:326
NSWL1::StripClusterOfflineData::set_moduleId
int set_moduleId(int moduleId)
NSWL1::StripClusterOfflineData::~StripClusterOfflineData
~StripClusterOfflineData()
Definition: StripClusterOfflineData.cxx:40
NSWL1::StripClusterOfflineData::set_charge
float set_charge(float charge)
NSWL1::StripClusterOfflineData::sideId
int sideId() const
Definition: StripClusterOfflineData.h:89
NSWL1::StripClusterOfflineData::m_globY
float m_globY
Definition: StripClusterOfflineData.h:48
NSWL1::StripClusterOfflineData::m_sideId
int m_sideId
Definition: StripClusterOfflineData.h:38
NSWL1::StripClusterOfflineData::set_globX
float set_globX(float globX)
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::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: StripClusterOfflineData.cxx:11
NSWL1::StripClusterOfflineData::phiId
int phiId() const
get the phi id
Definition: StripClusterOfflineData.h:87
NSWL1::StripClusterData
abstract class to interface the data hit fragment output from the Strip TDS
Definition: StripClusterData.h:30
NSWL1::StripClusterOfflineData::m_bcId
int m_bcId
Definition: StripClusterOfflineData.h:37
NSWL1::StripClusterOfflineData::m_layer
int m_layer
Definition: StripClusterOfflineData.h:44
NSWL1::StripClusterOfflineData::set_BCID
int set_BCID(int)
NSWL1::StripClusterOfflineData::m_sectorId
int m_sectorId
Definition: StripClusterOfflineData.h:42
NSWL1::StripClusterOfflineData::set_globY
float set_globY(float globY)
sTgcDigit.h
NSWL1::StripClusterOfflineData::set_layer
int set_layer(int layer)
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
A trigger trigger candidate for a stgc sector.
Definition: NSWL1Simulation.cxx:9
NSWL1::StripClusterOfflineData::wedge
int wedge() const
get the multiplet (ranging from 0 to 1, 1 is at lowest |z|)
Definition: StripClusterOfflineData.h:92
NSWL1::StripClusterOfflineData::set_size
int set_size(int size)