Pottu
Public Member Functions | Public Attributes | List of all members
pottu::jyfl_nucspec_std_detectors_2023_03::GreatFPGeInfo Struct Reference

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::DetectorEventplanarx
 
std::vector< pottu::DetectorEventplanary
 
std::vector< pottu::DetectorEventclovers
 
std::vector< GeEventgammas
 

Detailed Description

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.

Member Function Documentation

◆ fillGammas()

void pottu::jyfl_nucspec_std_detectors_2023_03::GreatFPGeInfo::fillGammas ( bool  doCloverAddback = true,
int64_t  cloverAddbackDuration = 10 
)
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.


The documentation for this struct was generated from the following files: