ATLAS Offline Software
Loading...
Searching...
No Matches
TrigT1NSWSimTools/src/MMT_Hit.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3 */
4
5#ifndef MMT_HIT_H
6#define MMT_HIT_H
7
11#include <cmath>
12
13class MMT_Hit {
14 public:
15 MMT_Hit(const Identifier &id, const std::string& stationName,
16 const int stEta, const int stPhi, const int sectorPhi,
17 const int multiplet, const int gasGap, const int channel,
18 const float stripTime, const int BC,
19 const MuonGM::MuonDetectorManager* detManager);
20
21 ~MMT_Hit() = default;
22
23 // Getters
24 int getART() const { return m_ART_ASIC; }
25 int getAge() const { return m_age; }
26 int getBC() const { return m_BC_time; }
27 int getChannel() const { return m_strip; }
28 int getPlane() const { return m_plane; }
29 char getSector() const { return m_sector; }
30 double getRZSlope() const { return m_RZslope; }
31 int getVMM() const { return m_VMM_chip; }
32 double getShift() const { return m_shift; }
33 int getStationEta() const { return m_station_eta; }
34 int getStationPhi() const { return m_station_phi; }
35 int getSectorPhi() const { return m_sector_phi; }
36 double getR() const { return m_R; }
37 double getRp() const { return m_Rp; }
38 double getZ() const { return m_Z; }
39 double getPitchOverZ() const { return m_PitchOverZ; }
40 float getTime() const { return m_time; }
41 bool isX() const { return m_isX; }
42 bool isU() const { return m_isU; }
43 bool isV() const { return m_isV; }
44 bool infSlope() const { return std::isinf(m_RZslope); }
45
46 // Setters
47 void setAge(int age) { m_age = age; }
48
49 private:
50 double m_RZslope{-1}, m_Rp{-1};
51 double m_Z{-1}, m_R{-1};
52 double m_PitchOverZ{-1}, m_shift{-1};
53 float m_time;
62 int m_age;
64 bool m_isX{false};
65 bool m_isU{false};
66 bool m_isV{false};
67};
68#endif
MMT_Hit(const Identifier &id, const std::string &stationName, const int stEta, const int stPhi, const int sectorPhi, const int multiplet, const int gasGap, const int channel, const float stripTime, const int BC, const MuonGM::MuonDetectorManager *detManager)
double getRZSlope() const
double getShift() const
~MMT_Hit()=default
double getPitchOverZ() const
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...