Commit bc3e5aa4 authored by Lennart Huth's avatar Lennart Huth
Browse files

changed naming: thickness -> materialBudget

parent 730d5658
......@@ -58,7 +58,7 @@ Detector::Detector(const Configuration& config) : m_role(DetectorRole::NONE) {
// Size of the pixels
m_pitch = config.get<ROOT::Math::XYVector>("pixel_pitch");
// Detector thickness in radiationb length
m_thickness = config.get<double>("thickness", 0.02); // fixme: no default here pls
m_materialBudget = config.get<double>("material_budget");
// Intrinsic position resolution, defaults to 4um:
m_resolution = config.get<ROOT::Math::XYVector>("resolution", ROOT::Math::XYVector(0.004, 0.004));
......
......@@ -258,10 +258,10 @@ namespace corryvreckan {
bool isWithinROI(Cluster* cluster) const;
/**
* @brief Return the thickness of the senosr layer in radiation length
* @brief Return the thickness of the senosr assembly layer (sensor+support) in fractions of radiation length
* @return thickness in in radiation length
*/
double thickness() const { return m_thickness; }
double materialBudget() const { return m_materialBudget; }
private:
// Roles of the detector
......@@ -281,7 +281,7 @@ namespace corryvreckan {
XYVector m_resolution;
ROOT::Math::DisplacementVector2D<ROOT::Math::Cartesian2D<int>> m_nPixels;
double m_timingOffset;
double m_thickness;
double m_materialBudget;
std::vector<std::vector<int>> m_roi;
static int winding_number(std::pair<int, int> probe, std::vector<std::vector<int>> polygon);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment