Skip to content

Conversation

@MaximVirta
Copy link
Contributor

Follow-up PR from 6861
Should be closed if the other is merged.

All of the following occurances have been changed

"BPos" => "TPCpos"
"BNeg" => "TPCneg"
"BTot" => "TPCall"

@MaximVirta MaximVirta requested review from a team, ddobrigk and ktf as code owners August 5, 2024 14:20
@alibuild
Copy link
Collaborator

alibuild commented Aug 5, 2024

Error while checking build/O2Physics/o2 for 474e7eb at 2024-08-06 07:48:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:96:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:97:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:98:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:96:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:97:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:98:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:96:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:97:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:98:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:96:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:97:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:98:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:96:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:97:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:98:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild
Copy link
Collaborator

alibuild commented Aug 6, 2024

Error while checking build/O2Physics/o2 for 9529b4e at 2024-08-07 06:36:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:96:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:97:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:98:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:96:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:97:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
/sw/SOURCES/O2Physics/7165-slc7_x86-64/0/Common/DataModel/Qvectors.h:98:45: error: initializer-string for 'const char [16]' is too long [-fpermissive]
ninja: build stopped: subcommand failed.

Full log here.

Comment on lines +46 to +51
DECLARE_SOA_COLUMN(QvecTPCposReVec, qvecTPCposReVec, std::vector<float>);
DECLARE_SOA_COLUMN(QvecTPCposImVec, qvecTPCposImVec, std::vector<float>);
DECLARE_SOA_COLUMN(QvecTPCnegReVec, qvecTPCnegReVec, std::vector<float>);
DECLARE_SOA_COLUMN(QvecTPCnegImVec, qvecTPCnegImVec, std::vector<float>);
DECLARE_SOA_COLUMN(QvecTPCallReVec, qvecTPCallReVec, std::vector<float>);
DECLARE_SOA_COLUMN(QvecTPCallImVec, qvecTPCallImVec, std::vector<float>);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please use proper camelCase for good readability. Qvec, Cpos, Cneg, Call are not words nor abbreviations.

Suggested change
DECLARE_SOA_COLUMN(QvecTPCposReVec, qvecTPCposReVec, std::vector<float>);
DECLARE_SOA_COLUMN(QvecTPCposImVec, qvecTPCposImVec, std::vector<float>);
DECLARE_SOA_COLUMN(QvecTPCnegReVec, qvecTPCnegReVec, std::vector<float>);
DECLARE_SOA_COLUMN(QvecTPCnegImVec, qvecTPCnegImVec, std::vector<float>);
DECLARE_SOA_COLUMN(QvecTPCallReVec, qvecTPCallReVec, std::vector<float>);
DECLARE_SOA_COLUMN(QvecTPCallImVec, qvecTPCallImVec, std::vector<float>);
DECLARE_SOA_COLUMN(QVecTpcPosReVec, qVecTpcPosReVec, std::vector<float>);
DECLARE_SOA_COLUMN(QVecTpcPosImVec, qVecTpcPosImVec, std::vector<float>);
DECLARE_SOA_COLUMN(QVecTpcNegReVec, qVecTpcNegReVec, std::vector<float>);
DECLARE_SOA_COLUMN(QVecTpcNegImVec, qVecTpcNegImVec, std::vector<float>);
DECLARE_SOA_COLUMN(QVecTpcAllReVec, qVecTpcAllReVec, std::vector<float>);
DECLARE_SOA_COLUMN(QVecTpcAllImVec, qVecTpcAllImVec, std::vector<float>);

This applies to all other name changes too.

@strogolo
Copy link
Collaborator

strogolo commented Aug 7, 2024

Dear @MaximVirta,
after the discussion with @ddobrigk can we close this PR and proceed with a new and different PR?
Thanks.

@MaximVirta
Copy link
Contributor Author

Dear @MaximVirta, after the discussion with @ddobrigk can we close this PR and proceed with a new and different PR? Thanks.

Yes that should be done. My apologies to everyone who got notified from this PR as it was unnecessary.

@strogolo strogolo closed this Aug 7, 2024
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