Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing pulser correction in production code #335

Merged
merged 34 commits into from
Apr 8, 2022

Conversation

PhilippWeidenkaff
Copy link
Contributor

Fixing bug in production code that hid pulser correction behind QA flag in Calibmaker.
Pushing adjusted geometry xml to git.

Philipp Weidenkaff and others added 30 commits June 3, 2021 11:01
…l setters from etofIn001 version of this file. Needed to unpack Get4Status bit into event files
…librations in the repository version. Nessecary only for creating calibrations, but should be available in the offical code. Added calculation of goodEventFlag for every counter from Get4 missmatch bits and pulser digis.
…librations in the repository version. Nessecary only for creating calibrations, but should be available in the offical code. Added calculation of goodEventFlag for every counter from Get4 missmatch bits and pulser digis.
…ect header version after rebase without increment
…base. Decremented etof collection ClassDef for real this time
@starsdong
Copy link
Member

Jason, do you have any issue with the proposed change in the geometry file?

@@ -1674,9 +1674,9 @@ StETofCalibMaker::calculatePulserOffsets( std::map< unsigned int, std::vector< u
double referenceTime = 0.;

// update reference time (for QA)
if( pulserTimes.count( mReferencePulserIndex ) ) {
referenceTime = pulserTimes.at( mReferencePulserIndex ); //only updated for QA?? needed to remove smeared pulsers
if( mDoQA ) {
Copy link
Member

Choose a reason for hiding this comment

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

Philipp, maybe this line can be removed to simplify the code?
Question: does this affect the existing production data? e.g. Run20 FXT datasets which presumably have the ETOF calibrations in.

@PhilippWeidenkaff
Copy link
Contributor Author

PhilippWeidenkaff commented Mar 27, 2022 via email

@starsdong
Copy link
Member

Philipp, thanks. For the Run20 FXT data, can we run ETOF afterburner on MuDst data and reload the calibration to re-generate the picoDst or we need to process the whole chain from daq files? Thanks

@PhilippWeidenkaff
Copy link
Contributor Author

PhilippWeidenkaff commented Mar 28, 2022 via email

@starsdong
Copy link
Member

Thank you Philipp for the clarification.

@PhilippWeidenkaff
Copy link
Contributor Author

Hello everyone. I removed the changes to the geometry from this pull request. Once this is completed, i will submit the geometry changes in a separate pull request. I hope i did not mess everthing up in the progress :)

@starsdong
Copy link
Member

Looks good. Thanks Philipp.

@starsdong starsdong merged commit c8b867e into star-bnl:main Apr 8, 2022
@plexoos plexoos added this to the SL22b milestone May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants