![]() |
Diana Software
|
Version of MCoincidenceMultiplicity that uses neighbours. More...
Classes | |
| struct | ChannelInfo |
Public Member Functions | |
| void | Init (Diana::QEvent &ev) |
| Init method. More... | |
| void | Do (Diana::QEvent &ev, const Diana::QEventList &neighbours) |
| Do method. More... | |
| void | Done () |
| Done method. More... | |
| double | GetTime (const Diana::QEvent &ev) |
| Get time of the event. More... | |
Private Types | |
| enum | TimeVariable { TV_RAW , TV_OF } |
Private Member Functions | |
| void | GetEventEnergy (const Diana::QEvent &ev, double &energy, bool &valid) const |
| Get the energy of the event. Throws if event is invalid and fOkInvalidTotalEnergy is false. More... | |
| double | GetDistanceMm (const Diana::QEvent &ev, const Diana::QEvent *coincident) |
| Get the distance in mm between the centers of the main and the coincident crystals. More... | |
Private Attributes | |
| int | fDataset |
| bool | fUseRunningWindow |
| bool | fSyncTime |
| std::string | fSyncType |
| bool | fOkInvalidTotalEnergy |
| std::string | fSyncSource |
| std::string | fSyncTowerSource |
| double | fCoincidenceWindow |
| std::string | fEnergyLabel |
| std::vector< std::string > | fPSALabels |
| TimeVariable | fTimeVariable |
| QRunData | fRunData |
| int | fThisRun |
| std::map< int, ChannelInfo > | fSyncTimeDifference |
| bool | fStorePosition |
| std::set< int > | fBlackList |
| std::string | fOFLabel |
| double | fCoincidenceRadius |
| std::map< int, double > | fChannelPositionX |
| std::map< int, double > | fChannelPositionY |
| std::map< int, double > | fChannelPositionZ |
Version of MCoincidenceMultiplicity that uses neighbours.
With respect to that module, computed quantities are stored in the QCoincidenceData QObject.
module Coincidence verbosity = info enable = true CoincidenceWindow = 0.1 EnergyLabel = ApplyCalibration_Energy PSALabel = ApplyPSA_PSA_nsigma TimeVariable = Raw UseRunningWindow = true SyncTime = false endmod
Definition at line 72 of file MCoincidence.hh.
|
private |
| Enumerator | |
|---|---|
| TV_RAW | |
| TV_OF | |
Definition at line 88 of file MCoincidence.hh.
| void MCoincidence::Do | ( | Diana::QEvent & | ev, |
| const Diana::QEventList & | neighbours | ||
| ) |
Do method.
Definition at line 85 of file MCoincidence.cc.
References QCoincidentChannel::fChannelId, QCoincidenceData::fCoincidentChannels, QCoincidentChannel::fDeltaFloor, QCoincidentChannel::fDeltaPosition, QCoincidentChannel::fDeltaT, QCoincidentChannel::fDeltaTower, QCoincidentChannel::fEnergy, QCoincidentChannel::fEventNumber, QCoincidenceData::fFarthestCoincidentIndex, QCoincidenceData::fMultiplicity, QCoincidenceData::fNearestCoincidentIndex, QCoincidenceData::fOrderInMultiple, QCoincidentChannel::fPSAVariables, QEvent::Get(), QEvent::GetByLabel(), QPulseInfo::GetChannelId(), QEvent::GetReadNumber(), QHeader::GetRun(), QEventList::Push(), Q_DOUBLE_DEFAULT, rHandle, and QEventList::Size().
| void MCoincidence::Done | ( | ) |
Done method.
Definition at line 241 of file MCoincidence.cc.
|
private |
Get the distance in mm between the centers of the main and the coincident crystals.
Definition at line 345 of file MCoincidence.cc.
References pow().
|
private |
Get the energy of the event. Throws if event is invalid and fOkInvalidTotalEnergy is false.
Definition at line 321 of file MCoincidence.cc.
References Q_DOUBLE_DEFAULT.
| double MCoincidence::GetTime | ( | const Diana::QEvent & | ev | ) |
Get time of the event.
Definition at line 246 of file MCoincidence.cc.
References channel, QJitter::fJitter, QJitter::fRefChannel, QEvent::Get(), and QHeader::GetTime().
| void MCoincidence::Init | ( | Diana::QEvent & | ev | ) |
Init method.
Definition at line 22 of file MCoincidence.cc.
|
private |
Definition at line 117 of file MCoincidence.hh.
|
private |
Definition at line 120 of file MCoincidence.hh.
|
private |
Definition at line 121 of file MCoincidence.hh.
|
private |
Definition at line 122 of file MCoincidence.hh.
|
private |
Definition at line 119 of file MCoincidence.hh.
|
private |
Definition at line 105 of file MCoincidence.hh.
|
private |
Definition at line 98 of file MCoincidence.hh.
|
private |
Definition at line 106 of file MCoincidence.hh.
|
private |
Definition at line 118 of file MCoincidence.hh.
|
private |
Definition at line 102 of file MCoincidence.hh.
|
private |
Definition at line 107 of file MCoincidence.hh.
|
private |
Definition at line 109 of file MCoincidence.hh.
|
private |
Definition at line 116 of file MCoincidence.hh.
|
private |
Definition at line 103 of file MCoincidence.hh.
|
private |
Definition at line 100 of file MCoincidence.hh.
|
private |
Definition at line 115 of file MCoincidence.hh.
|
private |
Definition at line 104 of file MCoincidence.hh.
|
private |
Definition at line 101 of file MCoincidence.hh.
|
private |
Definition at line 110 of file MCoincidence.hh.
|
private |
Definition at line 108 of file MCoincidence.hh.
|
private |
Definition at line 99 of file MCoincidence.hh.