CFEL - ASG Software Suite
2.5.0
CASS
|
Simple detectorhit creator. More...
#include <delayline_non_sorting.h>
Public Member Functions | |
DelaylineNonSorting () | |
constructor More... | |
detectorHits_t & | operator() (detectorHits_t &hits) |
retrieve detector hits from signals More... | |
void | loadSettings (CASSSettings &, DelaylineDetector &) |
load the settings of the analyzer More... | |
![]() | |
virtual | ~DetectorAnalyzerBackend () |
virtual destructor More... | |
Private Attributes | |
std::pair< std::pair< SignalProducer *, SignalProducer * >, std::pair< SignalProducer *, SignalProducer * > > | _layerCombination |
the layer combination More... | |
std::tr1::shared_ptr< PositionCalculator > | _poscalc |
the calculator to calc the position for the correlated wireend signals More... | |
std::pair< double, double > | _sf |
the scalefactor for the two layers (convert ns -> mm) More... | |
Additional Inherited Members | |
![]() | |
typedef std::tr1::shared_ptr< DetectorAnalyzerBackend > | shared_pointer |
typedef this as a shared pointer More... | |
![]() | |
static shared_pointer | instance (const DetectorAnalyzerType &type) |
create an instance of the right analyzer type More... | |
Simple detectorhit creator.
this class will just go through the anodewire signals and create positions without any checks
.../NonSorting/{LayersToUse}
Layers that should be used for sorting. Default is 0. Possible choises are:
.../NonSorting/{ScalefactorFirstLayer|ScalefactorSecondLayer}
the scalefactors that convert ns to mm for the two layers. Default is 0.4 | 0.4
Definition at line 42 of file delayline_non_sorting.h.
DelaylineNonSorting::DelaylineNonSorting | ( | ) |
constructor
Definition at line 21 of file delayline_non_sorting.cpp.
|
virtual |
load the settings of the analyzer
load where to find the signals that we need to sort
s | reference to the CASSSettings object |
d | the detector object that we the analyzer belongs to |
Implements cass::ACQIRIS::DetectorAnalyzerBackend.
Definition at line 87 of file delayline_non_sorting.cpp.
References _layerCombination, _poscalc, _sf, QSettings::beginGroup(), QSettings::endGroup(), cass::ACQIRIS::Hex, cass::ACQIRIS::DelaylineDetector::layers(), cass::ACQIRIS::Quad, and QSettings::value().
|
virtual |
retrieve detector hits from signals
goes through the anodewire signals and calculates positions without any checks.
[out] | hits | the container where the found hits will go |
extract the signal arrays from the signal producers
extract the iterators from the arrays
find out which array is the shortest and assign the iterators of that array to the loop variables
go linear through all hits and create detectorhits for each entry in the array
Implements cass::ACQIRIS::DetectorAnalyzerBackend.
Definition at line 25 of file delayline_non_sorting.cpp.
References _layerCombination, _poscalc, _sf, hit, hits, cass::ACQIRIS::NbrDetectorHitDefinitions, cass::ACQIRIS::t, cass::ACQIRIS::time, cass::ACQIRIS::x, and cass::ACQIRIS::y.
|
private |
the layer combination
Definition at line 71 of file delayline_non_sorting.h.
Referenced by loadSettings(), and operator()().
|
private |
the calculator to calc the position for the correlated wireend signals
Definition at line 74 of file delayline_non_sorting.h.
Referenced by loadSettings(), and operator()().
|
private |
the scalefactor for the two layers (convert ns -> mm)
Definition at line 77 of file delayline_non_sorting.h.
Referenced by loadSettings(), and operator()().