ATLAS Offline Software
CETmaterial.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // CETmaterial.h, (c) ATLAS Detector software
8 
9 #ifndef TRKEXALGS_CETMATERIAL_H
10 #define TRKEXALGS_CETMATERIAL_H
11 
12 // Gaudi includes
14 #include "GaudiKernel/IRndmGenSvc.h"
15 #include "GaudiKernel/RndmGenerators.h"
16 #include "GaudiKernel/ToolHandle.h"
17 #include "GaudiKernel/IChronoStatSvc.h"
19 #include <string>
20 
21 
22 namespace Trk
23 {
24 
25  class IExtrapolator;
26  class Surface;
27  class TrackingVolume;
28  class TrackingGeometry;
29 
38  class CETmaterial : public AthAlgorithm
39  {
40  public:
41 
43  CETmaterial(const std::string& name, ISvcLocator* pSvcLocator);
45  ~CETmaterial();
46 
53 
54  private:
55  void printMat(double th, double ph, double mat,double dtheta=0.,double dphi=0.) const;
56  void printMatScan(double theta, double phi, double r, double z, double mat, const std::string& name) const;
57  void printMatPrec(double theta, double phi, const Trk::TrackParameters*, const Trk::TrackParameters*,
58  double mat, int id, const std::string& name);
59  void printMatComp(double theta, double phi, const Trk::TrackParameters* currPar, const std::string& name, double mat, double matApp,double dx, double dy) const;
60 
62  ToolHandle<IExtrapolator> m_extrapolator;
63  ToolHandle<IExtrapolator> m_extraprec;
64 
66  Rndm::Numbers* m_gaussDist;
67  Rndm::Numbers* m_flatDist;
68 
69  double m_sigmaD0;
70  double m_minZ0;
71  double m_maxZ0;
72  double m_minEta;
73  double m_maxEta;
74  double m_minTheta;
75  double m_maxTheta;
76  double m_minPhi;
77  double m_maxPhi;
78  double m_minP;
79  double m_maxP;
80  double m_charge;
81  unsigned int m_numScan;
85  const char* m_matTotFile;
86  const char* m_matScanFile;
87  const char* m_matActiveFile;
88  const char* m_matCompFile;
89  bool m_backward;
92  double m_th;
93  double m_ph;
94  int m_id;
95  double m_matSaved;
98 
102 
104 
107 
108  };
109 } // end of namespace
110 
111 #endif
Trk::CETmaterial::CETmaterial
CETmaterial(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
Definition: CETmaterial.cxx:26
beamspotman.r
def r
Definition: beamspotman.py:676
Trk::CETmaterial::finalize
StatusCode finalize()
standard Athena-Algorithm method
Definition: CETmaterial.cxx:139
Trk::CETmaterial::m_id
int m_id
Definition: CETmaterial.h:94
Trk::CETmaterial::~CETmaterial
~CETmaterial()
Default Destructor.
Definition: CETmaterial.cxx:100
Trk::CETmaterial::IChronoStatSvc_t
ServiceHandle< IChronoStatSvc > IChronoStatSvc_t
Definition: CETmaterial.h:105
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:27
Trk::CETmaterial::m_ph
double m_ph
Definition: CETmaterial.h:93
TrackParameters.h
Trk::z
@ z
global position (cartesian)
Definition: ParamDefs.h:57
Trk::CETmaterial::m_flatDist
Rndm::Numbers * m_flatDist
Definition: CETmaterial.h:67
Trk::CETmaterial::m_charge
double m_charge
charge
Definition: CETmaterial.h:80
Trk::CETmaterial::printMatComp
void printMatComp(double theta, double phi, const Trk::TrackParameters *currPar, const std::string &name, double mat, double matApp, double dx, double dy) const
Definition: CETmaterial.cxx:504
mat
GeoMaterial * mat
Definition: LArDetectorConstructionTBEC.cxx:55
Trk::CETmaterial::m_gaussDist
Rndm::Numbers * m_gaussDist
Random Number setup.
Definition: CETmaterial.h:66
Surface
Definition: Trigger/TrigAccel/TrigCudaFitter/src/Surface.h:8
Trk::CETmaterial::m_next
Trk::TrackParameters * m_next
Definition: CETmaterial.h:96
Trk::CETmaterial::m_matScanFile
const char * m_matScanFile
Definition: CETmaterial.h:86
Trk::CETmaterial::m_maxTheta
double m_maxTheta
Maximal theta value.
Definition: CETmaterial.h:75
Trk::CETmaterial::m_domsentry
bool m_domsentry
Definition: CETmaterial.h:90
Trk::CETmaterial::m_numScan
unsigned int m_numScan
number of scan tracks
Definition: CETmaterial.h:81
Trk::CETmaterial::printMatPrec
void printMatPrec(double theta, double phi, const Trk::TrackParameters *, const Trk::TrackParameters *, double mat, int id, const std::string &name)
Definition: CETmaterial.cxx:438
Trk::CETmaterial::m_minZ0
double m_minZ0
min Z0
Definition: CETmaterial.h:70
AthAlgorithm.h
Trk::CETmaterial::printMat
void printMat(double th, double ph, double mat, double dtheta=0., double dphi=0.) const
Definition: CETmaterial.cxx:423
Trk::CETmaterial::m_trackingGeometry
const Trk::TrackingGeometry * m_trackingGeometry
Definition: CETmaterial.h:100
Trk::CETmaterial::m_outerBoundary
const Trk::Surface * m_outerBoundary
Definition: CETmaterial.h:99
python.TriggerHandler.th
th
Definition: TriggerHandler.py:296
Trk::CETmaterial::m_maxP
double m_maxP
Maximal p value.
Definition: CETmaterial.h:79
Trk::CETmaterial::m_matCompFile
const char * m_matCompFile
Definition: CETmaterial.h:88
Trk::CETmaterial::m_doprecision
bool m_doprecision
Definition: CETmaterial.h:91
Trk::theta
@ theta
Definition: ParamDefs.h:66
Trk::TrackingGeometry
Definition: TrackingGeometry.h:67
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trk::CETmaterial::execute
StatusCode execute()
standard Athena-Algorithm method
Definition: CETmaterial.cxx:150
Trk::CETmaterial::printMatScan
void printMatScan(double theta, double phi, double r, double z, double mat, const std::string &name) const
Definition: CETmaterial.cxx:431
Trk::CETmaterial::m_err
Amg::MatrixX * m_err
Definition: CETmaterial.h:97
Trk::CETmaterial::m_minTheta
double m_minTheta
Minimal theta value.
Definition: CETmaterial.h:74
Trk::CETmaterial::m_maxPhi
double m_maxPhi
Maximal phi value.
Definition: CETmaterial.h:77
Trk::CETmaterial::m_chronoStatSvc
IChronoStatSvc_t m_chronoStatSvc
Definition: CETmaterial.h:106
Trk::ParametersBase
Definition: ParametersBase.h:55
Trk::CETmaterial::m_msentry
const Trk::TrackingVolume * m_msentry
Definition: CETmaterial.h:101
Trk::CETmaterial::m_backward
bool m_backward
Definition: CETmaterial.h:89
AthAlgorithm
Definition: AthAlgorithm.h:47
Trk::CETmaterial::m_th
double m_th
Definition: CETmaterial.h:92
Trk::CETmaterial::m_maxEta
double m_maxEta
Maximal eta value.
Definition: CETmaterial.h:73
Trk::CETmaterial::m_sigmaD0
double m_sigmaD0
Sigma of distribution for D0.
Definition: CETmaterial.h:69
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
Trk::CETmaterial
Definition: CETmaterial.h:39
Trk::CETmaterial::m_minEta
double m_minEta
Minimal eta value.
Definition: CETmaterial.h:72
Trk::CETmaterial::m_printMaterial
bool m_printMaterial
Definition: CETmaterial.h:83
makeTRTBarrelCans.dy
tuple dy
Definition: makeTRTBarrelCans.py:21
Trk::CETmaterial::m_matSaved
double m_matSaved
Definition: CETmaterial.h:95
Trk::CETmaterial::m_maxZ0
double m_maxZ0
max Z0
Definition: CETmaterial.h:71
Trk::CETmaterial::m_checkStepWise
bool m_checkStepWise
Definition: CETmaterial.h:82
Trk::CETmaterial::m_printActive
bool m_printActive
Definition: CETmaterial.h:84
Trk::CETmaterial::m_minPhi
double m_minPhi
Minimal phi value.
Definition: CETmaterial.h:76
makeTRTBarrelCans.dx
tuple dx
Definition: makeTRTBarrelCans.py:20
Trk::CETmaterial::m_extrapolator
ToolHandle< IExtrapolator > m_extrapolator
The Extrapolator(s) to be retrieved.
Definition: CETmaterial.h:62
Trk::CETmaterial::m_matActiveFile
const char * m_matActiveFile
Definition: CETmaterial.h:87
Trk::phi
@ phi
Definition: ParamDefs.h:75
Trk::CETmaterial::initialize
StatusCode initialize()
standard Athena-Algorithm method
Definition: CETmaterial.cxx:110
Trk::CETmaterial::m_minP
double m_minP
Minimal p value.
Definition: CETmaterial.h:78
Trk::CETmaterial::m_matTotFile
const char * m_matTotFile
Definition: CETmaterial.h:85
Trk::Surface
Definition: Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h:75
Trk::TrackingVolume
Definition: TrackingVolume.h:121
Trk::CETmaterial::m_particleType
int m_particleType
the particle typre for the extrap.
Definition: CETmaterial.h:103
ServiceHandle< IChronoStatSvc >
Trk::CETmaterial::m_extraprec
ToolHandle< IExtrapolator > m_extraprec
Definition: CETmaterial.h:63