ATLAS Offline Software
Loading...
Searching...
No Matches
TGCASDOut.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 TrigT1TGC_TGCASDOut_H
6#define TrigT1TGC_TGCASDOut_H
7
9
10namespace LVL1TGCTrigger {
11
12class TGCASDOut {
13 protected:
16 int m_hitID{0}; // index in a chamber
17 int m_channel{0}; // index in a ASD board
18 double m_hitToF{0};
19
20 public:
21 TGCASDOut() = default;
22 TGCASDOut(TGCReadoutIndex tgcrindex,
23 TGCSignalType sigtype=WIRE, int id=-1, double tof=0.);
24
25 int operator == (const TGCASDOut& right) const { return (this==&right); }
26 int operator != (const TGCASDOut& right) const { return (this!=&right); }
27
28 // set functons
29 void SetParams(TGCSignalType signal_type, int id, double tof);
30 void SetChannel(int ch);
31
32 // get functions
35 int GetHitID() const { return m_hitID; }
36 int GetChannel() const { return m_channel; }
37 double GetHitToF() const { return m_hitToF; }
38
39 // methods
40 void Print() const;
41
42};
43
44
45} //end of namespace bracket
46
47#endif
TGCSignalType m_signalType
Definition TGCASDOut.h:15
int operator==(const TGCASDOut &right) const
Definition TGCASDOut.h:25
TGCReadoutIndex m_tgcReadoutIndex
Definition TGCASDOut.h:14
const TGCReadoutIndex & GetTGCReadoutIndex() const
Definition TGCASDOut.h:33
void SetParams(TGCSignalType signal_type, int id, double tof)
Definition TGCASDOut.cxx:21
int operator!=(const TGCASDOut &right) const
Definition TGCASDOut.h:26
TGCSignalType GetSignalType() const
Definition TGCASDOut.h:34
double GetHitToF() const
Definition TGCASDOut.h:37