ATLAS Offline Software
InnerDetector
InDetDigitization
TRT_Digitization
src
TRT_ScaledDriftTimeData.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// //
7
// Class: TRT_ScaledDriftTimeData //
8
// //
9
// Author: Thomas Kittelmann //
10
// //
11
// First Version: January 2006 //
12
// //
14
15
#include "
TRT_ScaledDriftTimeData.h
"
16
17
//______________________________________________________________________________
18
TRT_ScaledDriftTimeData::TRT_ScaledDriftTimeData
(
ITRT_DriftTimeData
* pOriginalData,
//Assumes ownership of pOriginalData!!
19
const
double
& scaleFactor)
20
: m_pOriginalData(pOriginalData), m_scaleFactor(scaleFactor) {}
21
22
//______________________________________________________________________________
23
TRT_ScaledDriftTimeData::~TRT_ScaledDriftTimeData
() {
24
delete
m_pOriginalData
;
25
}
26
27
//______________________________________________________________________________
28
double
TRT_ScaledDriftTimeData::MaxTabulatedField
()
const
{
29
return
m_pOriginalData
->
MaxTabulatedField
();
30
}
31
32
//______________________________________________________________________________
33
double
TRT_ScaledDriftTimeData::DriftTimeAtNoField
(
const
double
& dist)
const
{
34
return
m_pOriginalData
->
DriftTimeAtNoField
(dist) *
m_scaleFactor
;
35
}
36
37
//______________________________________________________________________________
38
double
TRT_ScaledDriftTimeData::DriftTimeAtMaxField
(
const
double
& dist)
const
{
39
return
m_pOriginalData
->
DriftTimeAtMaxField
(dist) *
m_scaleFactor
;
40
}
ITRT_DriftTimeData::MaxTabulatedField
virtual double MaxTabulatedField() const =0
TRT_ScaledDriftTimeData::m_scaleFactor
const double m_scaleFactor
Definition:
TRT_ScaledDriftTimeData.h:38
TRT_ScaledDriftTimeData::DriftTimeAtMaxField
double DriftTimeAtMaxField(const double &distance) const
Definition:
TRT_ScaledDriftTimeData.cxx:38
ITRT_DriftTimeData::DriftTimeAtNoField
virtual double DriftTimeAtNoField(const double &distance) const =0
TRT_ScaledDriftTimeData::MaxTabulatedField
double MaxTabulatedField() const
Definition:
TRT_ScaledDriftTimeData.cxx:28
TRT_ScaledDriftTimeData::TRT_ScaledDriftTimeData
TRT_ScaledDriftTimeData(ITRT_DriftTimeData *pOriginalData, const double &scaleFactor)
Definition:
TRT_ScaledDriftTimeData.cxx:18
ITRT_DriftTimeData
Definition:
ITRT_DriftTimeData.h:18
ITRT_DriftTimeData::DriftTimeAtMaxField
virtual double DriftTimeAtMaxField(const double &distance) const =0
TRT_ScaledDriftTimeData::DriftTimeAtNoField
double DriftTimeAtNoField(const double &distance) const
Definition:
TRT_ScaledDriftTimeData.cxx:33
TRT_ScaledDriftTimeData.h
TRT_ScaledDriftTimeData::~TRT_ScaledDriftTimeData
~TRT_ScaledDriftTimeData()
Definition:
TRT_ScaledDriftTimeData.cxx:23
TRT_ScaledDriftTimeData::m_pOriginalData
ITRT_DriftTimeData * m_pOriginalData
Definition:
TRT_ScaledDriftTimeData.h:37
Generated on Wed Jan 22 2025 21:21:37 for ATLAS Offline Software by
1.8.18