Skip to content

AFIT-81: Implementation of configurable parameters in FDD reco - #15882

Merged
sawenzel merged 8 commits into
AliceO2Group:devfrom
wpierozak:AFIT-81
Oct 8, 2026
Merged

sawenzel merged 8 commits into
AliceO2Group:devfrom
wpierozak:AFIT-81

Conversation

@wpierozak

@wpierozak wpierozak commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

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

#ifndef O2_MFT_CARECOWORKFLOW_H_
#define O2_MFT_CARECOWORKFLOW_H_
#ifndef ALICEO2_FDD_DIGIT_FILTER_PARAM
#define ALICEO2_FDD_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.

Header guard refers to FDDDigParams.
Maybe change it ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ah yes


#endif // O2_MFT_CARECOWORKFLOW_H_
struct FDDRecoConfig : o2::conf::ConfigurableParamHelper<FDDRecoConfig> {
double AmplitudeCutOnCollisionTimeWeights = 3;

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.

"double" is used for "AmplitudeCutOnCollisionTimeWeights".
It is later compared with "adc" which is "Float_t adc = inChData[ich].mChargeADC;"
If no specific reason for the type change, then let's make it float ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ok, fine for me

@sawenzel
sawenzel merged commit 21d4ce4 into AliceO2Group:dev Oct 8, 2026
11 of 12 checks passed
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.

4 participants