|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef SOLENOIDTEST_H
14 #define SOLENOIDTEST_H
20 #include "GaudiKernel/ITHistSvc.h"
41 this,
"AtlasFieldCacheCondObj",
"fieldCondObj",
42 "Magnetic Field conditions object key"};
56 this,
"HistStreamName",
"SolenoidTest",
57 "Name of the THistSvc output stream"};
59 this,
"ROOTTreeName",
"field",
60 "Name of the TTree object in the output file."};
61 Gaudi::Property<double>
m_minR{
this,
"MinimumR", 0,
"minimum R"};
62 Gaudi::Property<double>
m_maxR{
this,
"MaximumR", 1075.,
"maximum R"};
63 Gaudi::Property<double>
m_minZ{
this,
"MinimumZ", -2820,
"minimum Z"};
64 Gaudi::Property<double>
m_maxZ{
this,
"MaximumZ", 2820.,
"maximum Z"};
65 Gaudi::Property<int>
m_stepsR{
this,
"StepsR", 200,
66 "Number of steps along radius (granularity)"};
67 Gaudi::Property<int>
m_stepsZ{
this,
"StepsZ", 200,
68 "Number of steps along z (granularity)"};
70 "Number of steps along phi (granularity)"};
71 Gaudi::Property<int>
m_event{
this,
"eventTodump", 0,
72 "Event to dump the magnetic field for"};
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< std::string > m_treeName
Gaudi::Property< int > m_stepsPhi
ServiceHandle< ITHistSvc > m_thistSvc
Histogram Service.
Gaudi::Property< double > m_minR
double m_derivZR[9]
stores derivatives
Gaudi::Property< int > m_stepsR
SolenoidTest(const std::string &name, ISvcLocator *pSvcLocator)
double m_deriv[9]
stores derivatives
TTree * m_tree
the ROOT tree containing the output
std::atomic< long int > m_eventsSeen
event counter
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< double > m_maxZ
Gaudi::Property< int > m_stepsZ
virtual StatusCode execute() override final
double m_fieldZR[3]
stores the 2d field components
virtual StatusCode initialize() override final
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
Gaudi::Property< double > m_minZ
Gaudi::Property< double > m_maxR
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCacheKey
double m_field[3]
stores the field components
Gaudi::Property< int > m_event
double m_xyzt[4]
Variable to write out.
Gaudi::Property< std::string > m_histStream