ATLAS Offline Software
Loading...
Searching...
No Matches
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>
14#include "Identifier/Identifier.h"
15
16class MuonDigit : public Identifiable {
17
18protected: // data
19
20 // ID.
22
23public: // functions
24
25 MuonDigit () = default;
26 virtual ~MuonDigit() = default;
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
This class provides an abstract interface to an Identifiable object.
Identifier m_muonId
Definition MuonDigit.h:21
MuonDigit()=default
virtual ~MuonDigit()=default
void setID(const Identifier id)
Definition MuonDigit.h:29
Identifier identify() const
Definition MuonDigit.h:30
MuonDigit(const Identifier &id)
Definition MuonDigit.h:27