Skip to content

Introduce FXT chain option to enable anything FXT-specific#161

Merged
genevb merged 1 commit intostar-bnl:mainfrom
genevb:FXT_flavor
Nov 2, 2021
Merged

Introduce FXT chain option to enable anything FXT-specific#161
genevb merged 1 commit intostar-bnl:mainfrom
genevb:FXT_flavor

Conversation

@genevb
Copy link
Copy Markdown
Contributor

@genevb genevb commented Oct 4, 2021

FXT chain option and database flavor will facilitate calibrations of fixed target datasets which were interspersed between other non-FXT dataset in time during BES-II data-taking.

Note: the TPC group has already been using this flavor, triggered by particular test on a beam conditions database. This chain option will provide a more robust switch to ensure the use of desired database tables and any other actions of interest in the code.

Copy link
Copy Markdown
Contributor

@klendathu2k klendathu2k left a comment

Choose a reason for hiding this comment

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

No issues here.

@plexoos
Copy link
Copy Markdown
Member

plexoos commented Oct 4, 2021

Does BFChain support multivalue options? It could be more natural for the user to specify something like flavor=fxt or flavor=sim (or maybe even flavor=[fxt,sim] when it makes sense)

@genevb
Copy link
Copy Markdown
Contributor Author

genevb commented Oct 5, 2021 via email

@klendathu2k
Copy link
Copy Markdown
Contributor

Hi Gene,
I think that Dmitri may be asking whether the chain options support keyword=value type chain options. That would be a nice feature for a future release, but it's not implemented at present.
Cheers,
Jason

Hi, Dmitri If one uses both the "simu" and "fxt" chain options, then both flavors (sim+fxt) of database entries will be enabled.

@plexoos
Copy link
Copy Markdown
Member

plexoos commented Oct 5, 2021

Yes, Jason is correct. My concern is about introducing another 567-th option without a very clear intent (i.e. "enable anything FXT-specific"). The existing collection of options is already too "flat" and impossible for a user to grasp. Using a multi-value or multi-choice options where appropriate is one way to bring structure and be more explicit about the intended usage. I believe the syntax keyword=value (or keyword:value?) is supported to some extent as I think something like this was used for the PicoDst maker

@genevb
Copy link
Copy Markdown
Contributor Author

genevb commented Oct 5, 2021 via email

@genevb
Copy link
Copy Markdown
Contributor Author

genevb commented Oct 6, 2021

I do want to state clearly that I recognize that introducing the FXT chain option is NOT the ideal thing to do. Yuri brought up at today's S&C meeting that introducing yet another chain option is introducing another point of possible failure if someone running a chain improperly includes or excludes the chain option (which is along the lines of what @plexoos was arguing that more chain options just expands the mess of chain options), and I think that's a valid concern. I also think that a database-query approach to turn on FXT flavors has its possibilities of failure as well, which is why determining that it is fixed target data from the DAQ stream data is really what we want.

So I'll spend another day or two looking into that possibility. Please don't merge this PR before I report back on it.

@klendathu2k
Copy link
Copy Markdown
Contributor

klendathu2k commented Oct 6, 2021 via email

@genevb
Copy link
Copy Markdown
Contributor Author

genevb commented Oct 6, 2021

Hi, Jason

In fixed target data sets, I assume the tracker must be aware of the z ~ 200 cm target position for track finding. Likewise, in collider data sets, I assume the tracker uses z ~ 0 for track finding. (The Sti kalman track finder dives towards the interaction point... I assume CA has cuts when linking neighboring hits that assume the IP as well.)

I am unaware of any such configuration of the track-finding for expected trajectories. Sounds like a reasonable suggestion for something to switch to with FXT processing (could be enabled by the proposed chain option from this PR), but I doubt it is implemented.

-Gene

@starsdong
Copy link
Copy Markdown
Member

Dmitri,

could you help take a review and comment/approve this PR? Thanks

/xin

@plexoos
Copy link
Copy Markdown
Member

plexoos commented Oct 25, 2021

Gene wrote:

Please don't merge this PR before I report back on it.

Was there a follow up?

@genevb
Copy link
Copy Markdown
Contributor Author

genevb commented Oct 25, 2021 via email

@genevb
Copy link
Copy Markdown
Contributor Author

genevb commented Oct 27, 2021 via email

@starsdong
Copy link
Copy Markdown
Member

Hi Gene,

Thank you for looking into this in great details. If indeed there is no robust way to extract the FXT run information from either DB or other source, I agree that the chain option seems to be a practical way to proceed. I share the concern about the complications in the chain options. But I see so far there are only limited scenarios here. FXT is particularly special as they are usually short and scattered during the data taken.

Dan Cebra has been following closely through the run on the change of beam energies. He put together nice summary reports on the run periods (first to last runs) for Run19-21 in his QA/triggerboard reports. I include them in the following link which may be useful
https://drupal.star.bnl.gov/STAR/blog/dongx/run19-21-summary-dan-cebra

/xin

@starsdong
Copy link
Copy Markdown
Member

Is there any further concern about this PR? I think we should merge this to main asap.

@genevb
Copy link
Copy Markdown
Contributor Author

genevb commented Nov 1, 2021

As I explained in my previous post in this PR, other methods are a game of chasing false positives and false negatives (#180 ).

@starsdong
Copy link
Copy Markdown
Member

Dmitri, can you review/approve this PR and we can move forward?
We certainly will need to check the nightly test and QA the data later.

@nigmatkulov
Copy link
Copy Markdown
Member

Do we have a proposal of what exactly should be modified in which way?
If not, IMO we should move on and then come back to it later if a solution which will
be reached in some agreement will appear.

@genevb genevb merged commit 4d87fd3 into star-bnl:main Nov 2, 2021
@genevb
Copy link
Copy Markdown
Contributor Author

genevb commented Nov 2, 2021 via email

@genevb genevb deleted the FXT_flavor branch December 3, 2021 02:30
jml985 pushed a commit that referenced this pull request Dec 7, 2021
marrbnl pushed a commit that referenced this pull request Dec 8, 2021
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.

5 participants