CFEL - ASG Software Suite
2.5.0
CASS
|
Simple sorter of hits from a Quadanode delayline detector. More...
#include <delayline_detector_analyzer_simple.h>
Public Member Functions | |
DelaylineDetectorAnalyzerSimple () | |
constuctor More... | |
detectorHits_t & | operator() (detectorHits_t &hits) |
the function creating the detectorhit list More... | |
void | loadSettings (CASSSettings &s, DelaylineDetector &d) |
load the detector analyzers settings from .ini file More... | |
![]() | |
virtual | ~DetectorAnalyzerBackend () |
virtual destructor More... | |
Private Attributes | |
SignalProducer * | _mcp |
the mcp More... | |
std::pair< std::pair< SignalProducer *, SignalProducer * >, std::pair< SignalProducer *, SignalProducer * > > | _layerCombination |
the layer combination More... | |
std::pair< std::pair< double, double >, std::pair< double, double > > | _tsrange |
timesum ranges of the layers More... | |
std::pair< double, double > | _ts |
timesums of the layers More... | |
std::pair< double, double > | _sf |
the scalefactor for the two layers (convert ns -> mm) More... | |
double | _runtime |
maximum runtime over the layers More... | |
double | _mcpRadius |
maximum radius that det hits are allowed to be in, in ns More... | |
std::tr1::shared_ptr< PositionCalculator > | _poscalc |
the calculator to calc the position for the correlated wireend signals 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 sorter of hits from a Quadanode delayline detector.
Do a simple sorting by checking the timesum for each MCP Signal that was identified. This is done for only one pair of anode layers.
AcqirisDetectors/%detectorname%/Simple/{Runtime}
maximum time a signal will run over the complete delayline. Default is 150.
AcqirisDetectors/%detectorname%/Simple/{McpRadius}
Radius of the MCP in mm. Default is 88
AcqirisDetectors/%detectorname%/Simple/{LayersToUse}
Layers that should be used for sorting. Default is 0. Possible choises are:
AcqirisDetectors/%detectorname%/Simple/{TimesumFirstLayerLow|TimesumFirstLayerHigh}
the timesum condition range for the first layer. Default is 0 | 200
AcqirisDetectors/%detectorname%/Simple/{TimesumSecondLayerLow|TimesumSecondLayerHigh}
the timesum condition range for the second layer. Default is 0 | 200
AcqirisDetectors/%detectorname%/Simple/{ScalefactorFirstLayer|ScalefactorSecondLayer}
the scalefactors that convert ns to mm for the two layers. Default is 0.4 | 0.4
Definition at line 55 of file delayline_detector_analyzer_simple.h.
|
inline |
constuctor
Definition at line 60 of file delayline_detector_analyzer_simple.h.
|
virtual |
load the detector analyzers settings from .ini file
retrieve all necessary information to be able to sort the signals of the detector to detector hits. Also retrieve the signal producers of the layers whos signals we should sort.
s | the CASSSetting object |
d | the detector object that we are belonging to |
Implements cass::ACQIRIS::DetectorAnalyzerBackend.
Definition at line 190 of file delayline_detector_analyzer_simple.cpp.
References QSettings::beginGroup(), QSettings::endGroup(), cass::ACQIRIS::Hex, cass::ACQIRIS::DelaylineDetector::layers(), cass::ACQIRIS::TofDetector::mcp(), cass::ACQIRIS::Quad, and QSettings::value().
|
virtual |
the function creating the detectorhit list
hits | the hitcontainer |
Implements cass::ACQIRIS::DetectorAnalyzerBackend.
Definition at line 109 of file delayline_detector_analyzer_simple.cpp.
References cass::fuzzyIsNull(), cass::ACQIRIS::getSignalRange(), hit, hits, cass::ACQIRIS::isUsed, cass::ACQIRIS::NbrDetectorHitDefinitions, cass::ACQIRIS::t, cass::ACQIRIS::time, cass::ACQIRIS::x, and cass::ACQIRIS::y.
|
private |
the layer combination
Definition at line 89 of file delayline_detector_analyzer_simple.h.
|
private |
the mcp
Definition at line 85 of file delayline_detector_analyzer_simple.h.
|
private |
maximum radius that det hits are allowed to be in, in ns
Definition at line 105 of file delayline_detector_analyzer_simple.h.
|
private |
the calculator to calc the position for the correlated wireend signals
Definition at line 108 of file delayline_detector_analyzer_simple.h.
|
private |
maximum runtime over the layers
Definition at line 102 of file delayline_detector_analyzer_simple.h.
|
private |
the scalefactor for the two layers (convert ns -> mm)
Definition at line 99 of file delayline_detector_analyzer_simple.h.
|
private |
timesums of the layers
Definition at line 96 of file delayline_detector_analyzer_simple.h.
|
private |
timesum ranges of the layers
Definition at line 93 of file delayline_detector_analyzer_simple.h.