ATLAS Offline Software
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 
12 Class to store output produced by MDT_Digitization tools:
13  - was tube efficient
14  - drift time
15  - adc counts
16 
17 -----------------------------------------------*/
18 
20 public:
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 
31 private:
32  bool m_wasEff{false};
33  double m_time{0.};
34  double m_adc{0.};
35 };
36 
37 #endif
MdtDigiToolOutput::m_adc
double m_adc
Definition: MdtDigiToolOutput.h:34
MdtDigiToolOutput
Definition: MdtDigiToolOutput.h:19
MdtDigiToolOutput::MdtDigiToolOutput
MdtDigiToolOutput(bool wasEff, double time, double adc)
Definition: MdtDigiToolOutput.h:21
MdtDigiToolOutput::wasEfficient
double wasEfficient() const
Definition: MdtDigiToolOutput.h:29
MdtDigiToolOutput::m_time
double m_time
Definition: MdtDigiToolOutput.h:33
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
MdtDigiToolOutput::driftTime
double driftTime() const
Definition: MdtDigiToolOutput.h:27
MdtDigiToolOutput::adc
double adc() const
Definition: MdtDigiToolOutput.h:28
MdtDigiToolOutput::m_wasEff
bool m_wasEff
Definition: MdtDigiToolOutput.h:32