ATLAS Offline Software
Loading...
Searching...
No Matches
MdtDigiToolOutput.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MDT_DIGITIZATION_MDTDIGITOOLOUTPUT_H
6#define MDT_DIGITIZATION_MDTDIGITOOLOUTPUT_H
7
8/*-----------------------------------------------
9
10 Created 7-5-2004 by Niels van Eldik
11
12Class to store output produced by MDT_Digitization tools:
13 - was tube efficient
14 - drift time
15 - adc counts
16
17-----------------------------------------------*/
18
20public:
21 MdtDigiToolOutput(bool wasEff, double time, double adc) :
22 m_wasEff(wasEff),
23 m_time(time),
24 m_adc(adc) {}
25
26
27 double driftTime() const { return m_time; }
28 double adc() const { return m_adc; }
29 double wasEfficient() const { return m_wasEff; }
30
31private:
32 bool m_wasEff{false};
33 double m_time{0.};
34 double m_adc{0.};
35};
36
37#endif
double driftTime() const
double wasEfficient() const
MdtDigiToolOutput(bool wasEff, double time, double adc)