Done.
s/AnalysisElectronCT/AnalysisBeamProfile/g
?
This implements a module called AnalysisBeamProfile
.
This module is can be used for analysing properties of a bunched beam on an event-by-event basis. What it does is the following:
Pixel
objects for the corresponding detector from the clipboarderrorX
&errorY
as widths based on a fit to a gaussian distribution or from statistics to (charge-weighted) projections onto the x/y-axesPoints for discussion:
AnalysisBeamProfile
would be more suitable. We use it for this method, but in principle the functionality is very generic. Any opinions?Cluster->errorX()
? I abused the errorX
&errorY
for storing the width of the cluster. The reason is, that here we'd like to store the width of a gaussian of the cluster projection (or StdDev, depending on the configuration), and the columnWidth
&rowWidth
members are Cluster-internally coded to be the extent of the cluster along these axes, computed during addPixel(...)
. An option would be to add setter functions for the columnWidth
&rowWidth
members and overwrite them in the new module after the last pixel has been added. Any opinions?...and only works for orientation_mode = "xyz"
, because the returned vector is interpreted exactly as that in the alignment modules where it is used:
git grep "rotation()" src/ src/core/detector/Detector.hpp: XYZVector rotation() const { return alignment_->orientation(); };
src/modules/AlignmentDUTResidual/AlignmentDUTResidual.cpp: << Units::display(m_detector->rotation(), {"deg"});
src/modules/AlignmentDUTResidual/AlignmentDUTResidual.cpp: residualFitter->SetParameter(3, (name + "_rotationX").c_str(), m_detector->rotation().X(), 0.001, -6.30, 6.30);
src/modules/AlignmentDUTResidual/AlignmentDUTResidual.cpp: residualFitter->SetParameter(3, (name + "_rotationX").c_str(), m_detector->rotation().X(), 0, -6.30, 6.30);
src/modules/AlignmentDUTResidual/AlignmentDUTResidual.cpp: residualFitter->SetParameter(4, (name + "_rotationY").c_str(), m_detector->rotation().Y(), 0.001, -6.30, 6.30);
src/modules/AlignmentDUTResidual/AlignmentDUTResidual.cpp: residualFitter->SetParameter(4, (name + "_rotationY").c_str(), m_detector->rotation().Y(), 0, -6.30, 6.30);
src/modules/AlignmentDUTResidual/AlignmentDUTResidual.cpp: residualFitter->SetParameter(5, (name + "_rotationZ").c_str(), m_detector->rotation().Z(), 0.001, -6.30, 6.30);
src/modules/AlignmentDUTResidual/AlignmentDUTResidual.cpp: residualFitter->SetParameter(5, (name + "_rotationZ").c_str(), m_detector->rotation().Z(), 0, -6.30, 6.30);
Furthermore, histograms in global coordinates (such as AnalysisEfficiency/globalEfficiency) currently do not have rotations applied to the detector, so if rotated by 90deg in the testbeam, parts of the detector are cut off. Rotations should be applied to the Detector::getSize()
results to transform to global coordinates.
This has been solved in !675 (merged) - closing it now
Lennart Huth (c43bbd78) at 05 Mar 10:24
adding a readme
Simon Spannagel (02811f9e) at 22 Feb 15:43
Merge branch 'ReadmeParticleFlux' into 'master'
... and 1 more commit
Just a small readme change:
I wanted to use this module and have plots in rad and tried using angle_unit = "rad"
as suggested by the Readme. When I noticed that the output plots were still in degree, a look at the source code revealed that the config parameter in question should be a bool output_plots_in_degrees
instead. Hence this suggested change of the documentation.
Just a small readme change:
I wanted to use this module and have plots in rad and tried using angle_unit = "rad"
as suggested by the Readme. When I noticed that the output plots were still in degree, a look at the source code revealed that the config parameter in question should be a bool output_plots_in_degrees
instead. Hence this suggested change of the documentation.
Just a small readme change:
I wanted to use this module and have plots in rad and tried using angle_unit = "rad"
as suggested by the Readme. When I noticed that the output plots were still in degree, a look at the source code revealed that the config parameter in question should be a bool output_plots_in_degrees
instead. Hence this suggested change of the documentation.
Lennart Huth (0f0f66d1) at 15 Feb 14:58
Simon Spannagel (05dfd633) at 15 Feb 14:58
Merge branch 'support_mp11' into 'master'
... and 1 more commit
MuPix11 identifier added to converter
MuPix11 identifier added to converter
Lennart Huth (82031e4f) at 15 Feb 14:56
only suppress building of axis if there are no pixels defined
MuPix11 identifier added to converter
Lennart Huth (0f0f66d1) at 15 Feb 14:52
adding support of mupix11
Gianpiero Vignola (5959c4ff) at 06 Feb 17:24