ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSpectrometer
MuonDigitContainer
MuonDigitContainer
MuonDigit.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
// MuonDigit.h
6
7
#ifndef MuonDigitUH
8
#define MuonDigitUH
9
10
// Muon Digit holds an identifier.
11
12
#include <iosfwd>
13
#include "
Identifier/Identifiable.h
"
14
#include "Identifier/Identifier.h"
15
16
class
MuonDigit
:
public
Identifiable
{
17
18
protected
:
// data
19
20
// ID.
21
Identifier
m_muonId
{};
22
23
public
:
// functions
24
25
MuonDigit
() =
default
;
26
virtual
~MuonDigit
() =
default
;
27
MuonDigit
(
const
Identifier
&
id
)
28
:
m_muonId
(id) {}
29
void
setID
(
const
Identifier
id
) {
m_muonId
= id;}
30
Identifier
identify
()
const
{
return
m_muonId
;}
31
32
};
33
34
#endif
35
36
Identifiable.h
Identifiable
This class provides an abstract interface to an Identifiable object.
Definition
Identifiable.h:27
MuonDigit::m_muonId
Identifier m_muonId
Definition
MuonDigit.h:21
MuonDigit::MuonDigit
MuonDigit()=default
MuonDigit::~MuonDigit
virtual ~MuonDigit()=default
MuonDigit::setID
void setID(const Identifier id)
Definition
MuonDigit.h:29
MuonDigit::identify
Identifier identify() const
Definition
MuonDigit.h:30
MuonDigit::MuonDigit
MuonDigit(const Identifier &id)
Definition
MuonDigit.h:27
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.14.0