ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_SimDriftTimeTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6// //
7// Class: TRT_SimDriftTimeTool //
8// //
9// Author: Thomas Kittelmann //
10// //
11// First Version: January 2006 //
12// //
14
15#ifndef TRT_DIGITIZATION_TRT_SIMDRIFTTIMETOOL_H
16#define TRT_DIGITIZATION_TRT_SIMDRIFTTIMETOOL_H
18#include "GaudiKernel/ToolHandle.h"
20
21
23{
24public:
25
26 // Standard Constructor:
27 TRT_SimDriftTimeTool(const std::string& type,
28 const std::string& name,
29 const IInterface* parent);
30
31 // ITRT_SimDriftTimeTool interface implementation:
32 virtual double getAverageDriftTime( const double& distIndex,
33 const double& effectivefield_squared,
34 int strawGasType) const;
35
36 // override intialize() method:
37 virtual StatusCode initialize();
38
39private:
40
41 const double m_minDistance;
42 const double m_maxDistance;
43 double m_maxField;
46
47 const unsigned int m_nTabulatedDistances;
49
50 std::vector < std::vector<double> > m_table_of_dist2meanDT_at_noField;
51 std::vector < std::vector<double> > m_table_of_dist2meanDT_at_maxField;
52
53};
54
55#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
const double m_invDeltaTabulatedDistances
virtual double getAverageDriftTime(const double &distIndex, const double &effectivefield_squared, int strawGasType) const
TRT_SimDriftTimeTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize()
std::vector< std::vector< double > > m_table_of_dist2meanDT_at_noField
std::vector< std::vector< double > > m_table_of_dist2meanDT_at_maxField
const unsigned int m_nTabulatedDistances