Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Renaming T0 and V0 to comply with convention#2255

Closed
rnevils wants to merge 16 commits intoAliceO2Group:devAliceO2Group/AliceO2:devfrom
rnevils:devrnevils/AliceO2:devCopy head branch name to clipboard
Closed

Renaming T0 and V0 to comply with convention#2255
rnevils wants to merge 16 commits intoAliceO2Group:devAliceO2Group/AliceO2:devfrom
rnevils:devrnevils/AliceO2:devCopy head branch name to clipboard

Conversation

@rnevils
Copy link

@rnevils rnevils commented Jul 24, 2019

All instances (variables, files, strings, etc) of "T0" and "V0" are to be changed to "FT0" and "FV0" for consistency, and to comply with the 3 letter naming convention of detectors.

@rnevils rnevils requested review from a team and ktf as code owners July 24, 2019 14:11
@mslupeck
Copy link
Collaborator

@AllaMaevskaya could you also have a look?

Copy link
Collaborator

@shahor02 shahor02 left a comment

Choose a reason for hiding this comment

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

Hi @rnevils
Strictly speaking, the names should be no longer than 3 (+1 for termination) characters...
Anyway, this PR also touched a few files where V0 and T0 refer to secondary vertex or time0 of TPC, see below, these should be reverted.

Just for the record: this namespace change in PR will invalidate the large data sets I have announced a few days ago...

float dst = TMath::Sqrt(dx * dx + dy * dy + dz * dz);

const auto &trc0 = fitter.getTrack0(ic), &trc1 = fitter.getTrack1(ic); // track parameters at V0
const auto &trc0 = fitter.getTrack0(ic), &trc1 = fitter.getTrack1(ic); // track parameters at FV0
Copy link
Collaborator

Choose a reason for hiding this comment

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

The V0 here is for the secondary vertex, not the detector... Please undo the changes for this file.

{
auto f = std::unique_ptr<TFile>(TFile::Open(filename.c_str(), "recreate"));
f->WriteObject(&mT0, "T0");
f->WriteObject(&mT0, "FT0");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Here also, T0 refers to time0 of the TPC trigger, not detector, please change back.

V0NegativeDaughter,
V0PositiveDaughter,
V0Mother,
FV0NegativeDaughter,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please revert this also, V0 here is for the secondary vertex.

@rnevils rnevils closed this Jul 25, 2019
EmilGorm pushed a commit to EmilGorm/AliceO2 that referenced this pull request Apr 15, 2023
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.