Skip to content

AFIT-80 - Implementation of configurable parameters for FV0 reconstruction - #15881

Open
wpierozak wants to merge 10 commits into
AliceO2Group:devfrom
wpierozak:AFIT-80
Open

wpierozak wants to merge 10 commits into
AliceO2Group:devfrom
wpierozak:AFIT-80

Conversation

@wpierozak

@wpierozak wpierozak commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Moved FV0 reconstruction parameters from digitizer configuration structure to dedicated configurable structure and updated reconstruction code to use it.
FV0RecoConfig inherits from ConfigurableParamHelper, so it can be modified by either command-line arguments or object fetched from CCDB.

struct FV0RecoConfig : o2::conf::ConfigurableParamHelper<FV0RecoConfig> {
double AmplitudeLowerThreshold = 24; // only channels with amplitude higher will participate in calibration and collision time
double AmplitudeThreholdForMeanTime = 5; // Charge threshold, only above which the time is taken into account in calculating the mean time of all qualifying channels
double TimeUpperThershold = 1000.0; // only channels with time below will participate in calibration and collision time

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in "Threshold". Let's correct this so that the configurable parameter name is consistent.

// or submit itself to any jurisdiction.

#ifndef ALICEO2_FV0_DIGIT_FILTER_PARAM
#define ALICEO2_FV0_DIGIT_FILTER_PARAM

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The header was renamed to FV0RecoConfig.h, but the guard still refers to "FV0_DIGIT_FILTER_PARAM"
Could we rename it, for e.g. ALICEO2_FV0_RECO_CONFIG to avoid name clash ?

struct FV0RecoConfig : o2::conf::ConfigurableParamHelper<FV0RecoConfig> {
double AmplitudeLowerThreshold = 24; // only channels with amplitude higher will participate in calibration and collision time
double AmplitudeThreholdForMeanTime = 5; // Charge threshold, only above which the time is taken into account in calculating the mean time of all qualifying channels
double TimeUpperThershold = 1000.0; // only channels with time below will participate in calibration and collision time

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, any specific reason to change the type of the 3 parameters to double ?
Earlier it was:
float chargeThrForMeanTime = 5;
float mAmpThresholdForReco = 24;
short mTimeThresholdForReco = 1000;

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants