René's URL Explorer Experiment


Title: Alice B-field derives from FairField + stores its parameters in MagFieldParam by shahor02 · Pull Request #222 · AliceO2Group/AliceO2 · GitHub

Open Graph Title: Alice B-field derives from FairField + stores its parameters in MagFieldParam by shahor02 · Pull Request #222 · AliceO2Group/AliceO2

X Title: Alice B-field derives from FairField + stores its parameters in MagFieldParam by shahor02 · Pull Request #222 · AliceO2Group/AliceO2

Description: Hi @MohammadAlTurany, I've modified Common/Field/MagneticField to derive from FairField to fill it params into MagFieldParam inheriting from FairParGenericSet, as we discussed privately. Note that the MagneticField::FillParContainer() looks for ((FairRun*)fRun)->GetRuntimeDb()->getContainer("MagFieldParam") which it currently will not find, since current of instances of FairRun derive from Tutorial3 with hardcoded FairConstField / FairConstPar. Anyway, I understood you wanted implement yourself adding the field producer to the FairRun. I am wondering if we should not derive AliRun from FairRun, and set there all factories etc. In case you will need to create MagneticField factory, note that on top of its standard c-tor I've added MagneticField(MagFieldParam& params). Question concerning MagFieldParam::getParams(FairParamList* list) implementation: one of the parameters to store is text string, and the only method I found to retrieve it was FairParamList::fill(const Text_t*,Text_t*,const Int_t), which leads to quite heavy construct to get the length of the string, see assignment of mMapPath in MagFieldParam::getParams. Is there an easier way of dealing with text (except storing TObjString?). Also, I think this FairParamList::fill(const Text_t* name,Text_t* value,const Int_t length) method has a bug: it requires that the supplied length argument (i.e. the size of buffer for value) be > strlen(of_stored_string)-1, while to should be simply > strlen(of_stored_string) to allow for trailing \0. Cheers, Ruben

Open Graph Description: Hi @MohammadAlTurany, I've modified Common/Field/MagneticField to derive from FairField to fill it params into MagFieldParam inheriting from FairParGenericSet, as we discussed privately. Note ...

X Description: Hi @MohammadAlTurany, I've modified Common/Field/MagneticField to derive from FairField to fill it params into MagFieldParam inheriting from FairParGenericSet, as we discussed privately. N...

Opengraph URL: https://github.com/AliceO2Group/AliceO2/pull/222

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a2a904ff-ba60-00e3-77e9-4acdf2d0fd3b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAF9A:A473E:40238D4:57D2858:6980CE54
html-safe-nonce9c316d1798c57155c3237deffd10d68b598190a7bf34a7015c06c08cda5d3549
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjlBOkE0NzNFOjQwMjM4RDQ6NTdEMjg1ODo2OTgwQ0U1NCIsInZpc2l0b3JfaWQiOiI2MzMxMjM0NDg5OTIyMDE0ODA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd54926791b8b78f408beaafeeb85bf10ce0d413e3928a1953a3654f673a1d809
hovercard-subject-tagpull_request:102646430
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/AliceO2Group/AliceO2/pull/222/files
twitter:imagehttps://avatars.githubusercontent.com/u/7382029?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/7382029?s=400&v=4
og:image:altHi @MohammadAlTurany, I've modified Common/Field/MagneticField to derive from FairField to fill it params into MagFieldParam inheriting from FairParGenericSet, as we discussed privately. Note ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec940d5e308643c0003d2824389ea8281bcaae0a9a0d07438e3fb5e0bdc4fef12
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/AliceO2Group/AliceO2 git https://github.com/AliceO2Group/AliceO2.git
octolytics-dimension-user_id9053140
octolytics-dimension-user_loginAliceO2Group
octolytics-dimension-repository_id24898648
octolytics-dimension-repository_nwoAliceO2Group/AliceO2
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24898648
octolytics-dimension-repository_network_root_nwoAliceO2Group/AliceO2
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebb3d0fe9b8e408797775c5db420b1ee5ff06e4d0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/AliceO2Group/AliceO2/pull/222/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAliceO2Group%2FAliceO2%2Fpull%2F222%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAliceO2Group%2FAliceO2%2Fpull%2F222%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=AliceO2Group%2FAliceO2
Reloadhttps://github.com/AliceO2Group/AliceO2/pull/222/files
Reloadhttps://github.com/AliceO2Group/AliceO2/pull/222/files
Reloadhttps://github.com/AliceO2Group/AliceO2/pull/222/files
AliceO2Group https://github.com/AliceO2Group
AliceO2https://github.com/AliceO2Group/AliceO2
Notifications https://github.com/login?return_to=%2FAliceO2Group%2FAliceO2
Fork 488 https://github.com/login?return_to=%2FAliceO2Group%2FAliceO2
Star 118 https://github.com/login?return_to=%2FAliceO2Group%2FAliceO2
Code https://github.com/AliceO2Group/AliceO2
Issues 1 https://github.com/AliceO2Group/AliceO2/issues
Pull requests 16 https://github.com/AliceO2Group/AliceO2/pulls
Actions https://github.com/AliceO2Group/AliceO2/actions
Security 0 https://github.com/AliceO2Group/AliceO2/security
Insights https://github.com/AliceO2Group/AliceO2/pulse
Code https://github.com/AliceO2Group/AliceO2
Issues https://github.com/AliceO2Group/AliceO2/issues
Pull requests https://github.com/AliceO2Group/AliceO2/pulls
Actions https://github.com/AliceO2Group/AliceO2/actions
Security https://github.com/AliceO2Group/AliceO2/security
Insights https://github.com/AliceO2Group/AliceO2/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FAliceO2Group%2FAliceO2%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FAliceO2Group%2FAliceO2%2Fissues%2Fnew%2Fchoose
shahor02https://github.com/shahor02
AliceO2Group:devhttps://github.com/AliceO2Group/AliceO2/tree/dev
shahor02:devhttps://github.com/shahor02/AliceO2/tree/dev
Conversation 4 https://github.com/AliceO2Group/AliceO2/pull/222
Commits 8 https://github.com/AliceO2Group/AliceO2/pull/222/commits
Checks 0 https://github.com/AliceO2Group/AliceO2/pull/222/checks
Files changed https://github.com/AliceO2Group/AliceO2/pull/222/files
Please reload this pagehttps://github.com/AliceO2Group/AliceO2/pull/222/files
Alice B-field derives from FairField + stores its parameters in MagFieldParam https://github.com/AliceO2Group/AliceO2/pull/222/files#top
Show all changes 8 commits https://github.com/AliceO2Group/AliceO2/pull/222/files
ed68e11 Fixed dependencies for modified Common/Field shahor02 Jan 23, 2017 https://github.com/AliceO2Group/AliceO2/pull/222/commits/ed68e115961dda14fa3932ec909dd70e36bf762b
b169f04 B-field map complies with FairField shahor02 Jan 23, 2017 https://github.com/AliceO2Group/AliceO2/pull/222/commits/b169f04274b3449037527427a1415ccc7edd62c9
a54fd3c missing include added shahor02 Jan 23, 2017 https://github.com/AliceO2Group/AliceO2/pull/222/commits/a54fd3cd72af3cd5f776e00a691d08cfc1065311
697223d Make buffer access const, received buffers should be unmutable by def… mkrzewic Jan 19, 2017 https://github.com/AliceO2Group/AliceO2/pull/222/commits/697223df58a1a1d835f8571e0aa165f8da0d8d8e
a708da3 Generic initializer methods for string to uint conversions matthiasrichter Jan 19, 2017 https://github.com/AliceO2Group/AliceO2/pull/222/commits/a708da3b0fbe8d941768d0135110768a4974cc8c
3988573 Adding generic implemenation for descriptors matthiasrichter Jan 20, 2017 https://github.com/AliceO2Group/AliceO2/pull/222/commits/39885739891209ad6ee79044ae6eb5eb3cb35f78
763deda Moved field/beam types to MagFieldParam and extracted it to separate … shahor02 Feb 6, 2017 https://github.com/AliceO2Group/AliceO2/pull/222/commits/763deda4ff99eb0ee5a57074ce971581d54afc63
fa64984 Merge remote-tracking branch 'upstream/dev' into dev shahor02 Feb 7, 2017 https://github.com/AliceO2Group/AliceO2/pull/222/commits/fa64984a0ecfa8b5880e0dad1f23b6f50abda804
Clear filters https://github.com/AliceO2Group/AliceO2/pull/222/files
Please reload this pagehttps://github.com/AliceO2Group/AliceO2/pull/222/files
Please reload this pagehttps://github.com/AliceO2Group/AliceO2/pull/222/files
CMakeLists.txt https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-376214cf5eed49f53d47eaf868f7c667ad7b1ad319befb025497b85ecb67bc20
MagFieldParam.h https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-c53c54fe545f75b009a7b295aa255623407368142a9bd75240c4cb8249decfe4
MagneticField.h https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-6b70cb9a1cf4f68f27c99964578219f2ff993faaeac8de68b90ae4a7b0cf1b65
FieldLinkDef.h https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-5db733c1d4530ce2f52053919310000d6ac290a8dd3a5887f0692b20f4c5f737
MagFieldParam.cxx https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-98ac331aa13a59aa6baf68d81e938577a02cc2ec6bd0486c3858bb19de3b1376
MagneticField.cxx https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-0be0a9597ad4369da91c471629920b6540a907ec85a2a9df68f6a92e7b8a2065
O2Dependencies.cmake https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-fead941bfd6712512eb9a28e16951d1e4dc356282b0fe56675d9e16519ce4909
https://github.com/AliceO2Group/AliceO2/blob/dev/CODEOWNERS#L19
Common/Field/CMakeLists.txthttps://github.com/AliceO2Group/AliceO2/pull/222/files#diff-376214cf5eed49f53d47eaf868f7c667ad7b1ad319befb025497b85ecb67bc20
View file https://github.com/shahor02/AliceO2/blob/fa64984a0ecfa8b5880e0dad1f23b6f50abda804/Common/Field/CMakeLists.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AliceO2Group/AliceO2/pull/222/{{ revealButtonHref }}
https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-376214cf5eed49f53d47eaf868f7c667ad7b1ad319befb025497b85ecb67bc20
https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-376214cf5eed49f53d47eaf868f7c667ad7b1ad319befb025497b85ecb67bc20
https://github.com/AliceO2Group/AliceO2/blob/dev/CODEOWNERS#L19
Common/Field/include/Field/MagFieldParam.hhttps://github.com/AliceO2Group/AliceO2/pull/222/files#diff-c53c54fe545f75b009a7b295aa255623407368142a9bd75240c4cb8249decfe4
View file https://github.com/shahor02/AliceO2/blob/fa64984a0ecfa8b5880e0dad1f23b6f50abda804/Common/Field/include/Field/MagFieldParam.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AliceO2Group/AliceO2/pull/222/{{ revealButtonHref }}
https://github.com/AliceO2Group/AliceO2/blob/dev/CODEOWNERS#L19
Common/Field/include/Field/MagneticField.hhttps://github.com/AliceO2Group/AliceO2/pull/222/files#diff-6b70cb9a1cf4f68f27c99964578219f2ff993faaeac8de68b90ae4a7b0cf1b65
View file https://github.com/shahor02/AliceO2/blob/fa64984a0ecfa8b5880e0dad1f23b6f50abda804/Common/Field/include/Field/MagneticField.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AliceO2Group/AliceO2/pull/222/{{ revealButtonHref }}
https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-6b70cb9a1cf4f68f27c99964578219f2ff993faaeac8de68b90ae4a7b0cf1b65
https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-6b70cb9a1cf4f68f27c99964578219f2ff993faaeac8de68b90ae4a7b0cf1b65
https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-6b70cb9a1cf4f68f27c99964578219f2ff993faaeac8de68b90ae4a7b0cf1b65
https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-6b70cb9a1cf4f68f27c99964578219f2ff993faaeac8de68b90ae4a7b0cf1b65
https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-6b70cb9a1cf4f68f27c99964578219f2ff993faaeac8de68b90ae4a7b0cf1b65
https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-6b70cb9a1cf4f68f27c99964578219f2ff993faaeac8de68b90ae4a7b0cf1b65
https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-6b70cb9a1cf4f68f27c99964578219f2ff993faaeac8de68b90ae4a7b0cf1b65
https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-6b70cb9a1cf4f68f27c99964578219f2ff993faaeac8de68b90ae4a7b0cf1b65
https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-6b70cb9a1cf4f68f27c99964578219f2ff993faaeac8de68b90ae4a7b0cf1b65
https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-6b70cb9a1cf4f68f27c99964578219f2ff993faaeac8de68b90ae4a7b0cf1b65
https://github.com/AliceO2Group/AliceO2/blob/dev/CODEOWNERS#L19
Common/Field/src/FieldLinkDef.hhttps://github.com/AliceO2Group/AliceO2/pull/222/files#diff-5db733c1d4530ce2f52053919310000d6ac290a8dd3a5887f0692b20f4c5f737
View file https://github.com/shahor02/AliceO2/blob/fa64984a0ecfa8b5880e0dad1f23b6f50abda804/Common/Field/src/FieldLinkDef.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AliceO2Group/AliceO2/pull/222/{{ revealButtonHref }}
https://github.com/AliceO2Group/AliceO2/pull/222/files#diff-5db733c1d4530ce2f52053919310000d6ac290a8dd3a5887f0692b20f4c5f737
https://github.com/AliceO2Group/AliceO2/blob/dev/CODEOWNERS#L19
Common/Field/src/MagFieldParam.cxxhttps://github.com/AliceO2Group/AliceO2/pull/222/files#diff-98ac331aa13a59aa6baf68d81e938577a02cc2ec6bd0486c3858bb19de3b1376
View file https://github.com/shahor02/AliceO2/blob/fa64984a0ecfa8b5880e0dad1f23b6f50abda804/Common/Field/src/MagFieldParam.cxx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AliceO2Group/AliceO2/pull/222/{{ revealButtonHref }}
Please reload this pagehttps://github.com/AliceO2Group/AliceO2/pull/222/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.