ATLAS Offline Software
Loading...
Searching...
No Matches
MaterialOnTrackValidation.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// MaterialOnTrackValidation.h, (c) ATLAS Detector software
8
9#ifndef MATERIALONTRACKVALIDATION_H
10#define MATERIALONTRACKVALIDATION_H
11
12// Gaudi includes
14#include <string>
15
16// Maximal number of updates
17#define MAXUPDATES 100
18
19class Identifier;
20class TTree;
21
22namespace Trk {
23
34
36
37 public:
38
40 MaterialOnTrackValidation(const std::string& name, ISvcLocator* pSvcLocator);
43
45 StatusCode initialize();
47 StatusCode execute();
49 StatusCode finalize();
50
51 private:
52
55
57 void bookTree();
58 TTree* m_Tree{};
59
61 int m_updates{};
71 double m_eta[MAXUPDATES]{};
72 double m_stepInX0{};
73
74};
75
76} // end of namespace
77
78#endif
#define MAXUPDATES
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
float m_positionY[MAXUPDATES]
y position of the update
float m_positionZ[MAXUPDATES]
z position of the update
float m_positionR[MAXUPDATES]
r value of the material update
~MaterialOnTrackValidation()
Default Destructor.
std::string m_inputTrackCollection
properties from JobOptions:
float m_positionX[MAXUPDATES]
x position of the update
float m_traversedStepInX0[MAXUPDATES]
the step path in x0
MaterialOnTrackValidation(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
float m_momentumChange[MAXUPDATES]
change of the momentum
StatusCode initialize()
standard Athena-Algorithm method
StatusCode execute()
standard Athena-Algorithm method
double m_currentPathInX0
accumulation variable
float m_traversedPathInX0[MAXUPDATES]
accumulated traversed path in rlength
StatusCode finalize()
standard Athena-Algorithm method
double m_stepInX0
traversed thickness in radiation length
float m_momentum[MAXUPDATES]
momentum before the update is applied
Ensure that the ATLAS eigen extensions are properly loaded.