Service that facilitates material scan on initialize This service outputs a ROOT file containing a TTree with radiation lengths and material thickness in both eta/theta (in degrees)/cos(theta)/theta (in radians) and in phi (2D material scan).
More...
#include <MaterialScan_2D_genericAngle.h>
|
Gaudi::Property< std::string > | m_filename {this, "filename", "", "file name to save the tree to"} |
| name of the output file
|
|
ServiceHandle< IGeoSvc > | m_geoSvc |
| Handle to the geometry service from which the detector is retrieved.
|
|
Gaudi::Property< double > | m_angleBinning {this, "angleBinning", 0.05, "eta/theta/cosTheta/thetaRad bin size"} |
| Step size in eta/theta/cosTheta/thetaRad.
|
|
Gaudi::Property< double > | m_angleMax {this, "angleMax", 6, "maximum eta/theta/cosTheta/thetaRad value"} |
| Maximum eta/theta/cosTheta/thetaRad until which to scan.
|
|
Gaudi::Property< double > | m_angleMin {this, "angleMin", -6, "minimum eta/theta/cosTheta/thetaRad value"} |
| Minimum eta/theta/cosTheta/thetaRad until which to scan.
|
|
Gaudi::Property< double > | m_nPhi |
| number of phi values to run over, evenly distributed from 0 to 2 pi
|
|
Gaudi::Property< std::string > | m_angleDef |
| angle definition to use: eta, theta, cosTheta or thetaRad default: eta
|
|
Gaudi::Property< std::string > | m_envelopeName |
| Name of the envelope within which the material is measured (by default: world volume)
|
|
Rndm::Numbers | m_flatAngleDist |
| Flat random number generator.
|
|
Service that facilitates material scan on initialize This service outputs a ROOT file containing a TTree with radiation lengths and material thickness in both eta/theta (in degrees)/cos(theta)/theta (in radians) and in phi (2D material scan).
For an example on how to read the file, see Examples/scripts/material_plots.py
- Author
- J. Lingemann, A. Ilg
◆ MaterialScan_2D_genericAngle()
MaterialScan_2D_genericAngle::MaterialScan_2D_genericAngle |
( |
const std::string & | name, |
|
|
ISvcLocator * | svcLoc ) |
|
explicit |
◆ ~MaterialScan_2D_genericAngle()
virtual MaterialScan_2D_genericAngle::~MaterialScan_2D_genericAngle |
( |
| ) |
|
|
inlinevirtual |
◆ finalize()
StatusCode MaterialScan_2D_genericAngle::finalize |
( |
| ) |
|
|
virtual |
◆ initialize()
StatusCode MaterialScan_2D_genericAngle::initialize |
( |
| ) |
|
|
virtual |
◆ m_angleBinning
Gaudi::Property<double> MaterialScan_2D_genericAngle::m_angleBinning {this, "angleBinning", 0.05, "eta/theta/cosTheta/thetaRad bin size"} |
|
private |
Step size in eta/theta/cosTheta/thetaRad.
◆ m_angleDef
Gaudi::Property<std::string> MaterialScan_2D_genericAngle::m_angleDef |
|
private |
Initial value:{this, "angleDef", "eta",
"angle definition to use: 'eta', 'theta' (in degrees), 'cosTheta' or 'thetaRad' (in rad), default: 'eta'"}
angle definition to use: eta, theta, cosTheta or thetaRad default: eta
◆ m_angleMax
Gaudi::Property<double> MaterialScan_2D_genericAngle::m_angleMax {this, "angleMax", 6, "maximum eta/theta/cosTheta/thetaRad value"} |
|
private |
Maximum eta/theta/cosTheta/thetaRad until which to scan.
◆ m_angleMin
Gaudi::Property<double> MaterialScan_2D_genericAngle::m_angleMin {this, "angleMin", -6, "minimum eta/theta/cosTheta/thetaRad value"} |
|
private |
Minimum eta/theta/cosTheta/thetaRad until which to scan.
◆ m_envelopeName
Gaudi::Property<std::string> MaterialScan_2D_genericAngle::m_envelopeName |
|
private |
Initial value:{this, "envelopeName", "world",
"name of the envelope within which the material is measured"}
Name of the envelope within which the material is measured (by default: world volume)
◆ m_filename
Gaudi::Property<std::string> MaterialScan_2D_genericAngle::m_filename {this, "filename", "", "file name to save the tree to"} |
|
private |
◆ m_flatAngleDist
Rndm::Numbers MaterialScan_2D_genericAngle::m_flatAngleDist |
|
private |
Flat random number generator.
◆ m_geoSvc
ServiceHandle<IGeoSvc> MaterialScan_2D_genericAngle::m_geoSvc |
|
private |
Handle to the geometry service from which the detector is retrieved.
◆ m_nPhi
Gaudi::Property<double> MaterialScan_2D_genericAngle::m_nPhi |
|
private |
Initial value:{this, "nPhi", 100,
"number of phi values to run over, evenly distributed from 0 to 2 pi"}
number of phi values to run over, evenly distributed from 0 to 2 pi
The documentation for this class was generated from the following files: