|
Pottu
|
Class to hold gamma events seen at the focal plane. More...
#include <jyfl_nucspec_detectors.hpp>
Public Member Functions | |
| void | clear () noexcept |
| void | fillGammas (bool doCloverAddback=true, int64_t cloverAddbackDuration=10) noexcept |
| Generates gammas from beges and clovers. More... | |
Public Attributes | |
| std::vector< pottu::DetectorEvent > | beges |
| std::vector< pottu::DetectorEvent > | clovers |
| std::vector< GeEvent > | gammas |
Class to hold gamma events seen at the focal plane.
BEGe and Clover events are separated in raw DetectorEvent level but combined together into the field gammas.
Typical usage of this class is to include this into a logical event as field fpge. During the event construction (most likely in a for loop over DetectorEvents in method constructAndProcessLogicalEvent() ) the vectors beges and clovers should be filled. Then after filling all "raw" detector evens one should call fillGammas() once to populate the gammas vector.
|
noexcept |
Generates gammas from beges and clovers.
This clears the gammas before filling them. I.e. this can be called multiple times although there is no real reason to do that.