ATLAS Offline Software
PadOfflineData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PADOFFLINEDATA_H
6 #define PADOFFLINEDATA_H
7 
8 // Identifier includes
9 #include "Identifier/Identifier.h"
10 
11 // local includes
14 
15 
16 // forward declarations
17 class TVector3;
18 
19 
20 // namespace for the NSW LVL1 related classes
21 namespace NSWL1 {
22 
36  class PadOfflineData: public PadData {
37 
38  private:
39  const Identifier m_id;
41  float m_time;
43 
44  public:
45  PadOfflineData(Identifier id, float time, uint16_t bc_tag, const MuonGM::MuonDetectorManager* detMgr);
47 
49  //Identifier Id() const;
50  Identifier Identity() const;
51  uint32_t id() const;
52  uint16_t BC_Tag() const;
53  float time() const;
54  //bool isDead() const; //!< get the isDead bool
55  //bool isPileup() const; //!< get the isPileup bool
56 
58  int sideId() const;
59  int moduleId() const;
60  int sectorId() const;
61  int sectorType() const;
62  int multipletId() const;
63  int gasGapId() const;
64  int channelId() const;
65  int padEtaId() const;
66  int padPhiId() const;
67  int padNumber() const;
68  int triggerSectorNumber() const;
69  float stationPhiAngle() const;
71 
72 
73  float m_cornerXyz[4][3]{};
74  }; // end of PadOfflineData class
75 
76 } // namespace NSWL1
77 
78 #endif
NSWL1::PadOfflineData::padNumber
int padNumber() const
Definition: PadOfflineData.cxx:101
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
PadData.h
NSWL1::PadOfflineData::moduleId
int moduleId() const
get the physics module (ranging from 1 at lowest R to 3 at highest R)
Definition: PadOfflineData.cxx:40
NSWL1::PadOfflineData::stationPhiAngle
float stationPhiAngle() const
Definition: PadOfflineData.cxx:80
NSWL1::PadData
abstract class to interface the data hit fragment output from the Pad TDS
Definition: PadData.h:30
NSWL1::PadOfflineData::sectorType
int sectorType() const
get the sector type (ranging from 0 to 1, Small and Large)
Definition: PadOfflineData.cxx:50
NSWL1::PadOfflineData::m_detMgr
const MuonGM::MuonDetectorManager * m_detMgr
Definition: PadOfflineData.h:40
NSWL1::PadOfflineData::padEtaId
int padEtaId() const
get the pad eta channel
Definition: PadOfflineData.cxx:70
NSWL1::PadOfflineData::PadOfflineData
PadOfflineData(Identifier id, float time, uint16_t bc_tag, const MuonGM::MuonDetectorManager *detMgr)
Definition: PadOfflineData.cxx:18
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
NSWL1::PadOfflineData
class modeling the pad hit fragment for the NSW L1 offline simulation
Definition: PadOfflineData.h:36
NSWL1::PadOfflineData::Identity
Identifier Identity() const
methods for retrieving the bare data
Definition: PadOfflineData.cxx:30
NSWL1::PadOfflineData::channelId
int channelId() const
get the channel
Definition: PadOfflineData.cxx:65
NSWL1::PadOfflineData::m_time
float m_time
signal arrival time after electronics delay is applied
Definition: PadOfflineData.h:41
NSWL1::PadOfflineData::triggerSectorNumber
int triggerSectorNumber() const
Definition: PadOfflineData.cxx:107
NSWL1::PadOfflineData::padPhiId
int padPhiId() const
get the pad phi channel
Definition: PadOfflineData.cxx:75
NSWL1::PadOfflineData::id
uint32_t id() const
get the 32 bit word identifing the fragment
Definition: PadOfflineData.cxx:29
NSWL1::PadOfflineData::sideId
int sideId() const
helper methods decoding the hit fragment position within the NSW detector
Definition: PadOfflineData.cxx:35
NSWL1::PadOfflineData::multipletId
int multipletId() const
get the multiplet (ranging from 1 to 2, 1 is at lowest |z|)
Definition: PadOfflineData.cxx:55
MuonDetectorManager.h
NSWL1::PadOfflineData::m_cornerXyz
float m_cornerXyz[4][3]
Definition: PadOfflineData.h:73
NSWL1::PadOfflineData::m_bc_tag
uint16_t m_bc_tag
BC Tag.
Definition: PadOfflineData.h:42
NSWL1::PadOfflineData::time
float time() const
get the arrival time after the delay is applied
Definition: PadOfflineData.cxx:32
MuonGM::MuonDetectorManager
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
Definition: MuonDetDescr/MuonReadoutGeometry/MuonReadoutGeometry/MuonDetectorManager.h:50
NSWL1::PadOfflineData::m_id
const Identifier m_id
offline identifier of the PAD hit
Definition: PadOfflineData.h:39
NSWL1::PadOfflineData::gasGapId
int gasGapId() const
get the gas gap (ranging from 1 to 4, 1 is at lowest |z|)
Definition: PadOfflineData.cxx:60
NSWL1::PadOfflineData::sectorId
int sectorId() const
get the sector (ranging from 1 to 8)
Definition: PadOfflineData.cxx:45
NSWL1::PadOfflineData::BC_Tag
uint16_t BC_Tag() const
get the BCID
Definition: PadOfflineData.cxx:31
NSWL1::PadOfflineData::~PadOfflineData
~PadOfflineData()
Definition: PadOfflineData.cxx:24
NSWL1
A trigger trigger candidate for a stgc sector.
Definition: NSWL1Simulation.cxx:9
NSWL1::PadOfflineData::fillGeometricInformation
void fillGeometricInformation()
Definition: PadOfflineData.cxx:117
Identifier
Definition: IdentifierFieldParser.cxx:14