-
Notifications
You must be signed in to change notification settings - Fork 33
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
Izisopou patch new fitting approaches #30
Open
izisopou
wants to merge
19
commits into
cms-jet:master
Choose a base branch
from
izisopou:izisopou-patch-NewFittingApproaches
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 12 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
e92defe
Update jet_correction_analyzer_x.cc
izisopou e98be1e
Update jet_response_analyzer_x.cc
izisopou 697eaa1
Create jet_match_x.cc
izisopou f80e85a
Update jet_synchfit_x.cc
izisopou a6ad4ec
Update L2Creator.cc
izisopou 8706627
Update jet_synchfit_x.cc
izisopou 62c6b1c
Update L2Creator.hh
izisopou d7c2f59
Create XrdClFileSystem_v2.hh
izisopou f024f83
Update jet_correction_analyzer_x.cc
izisopou 8c36870
Update jet_correction_analyzer_x.cc
izisopou e71171b
Update jet_response_analyzer_x.cc
izisopou 063a375
Update jet_synchfit_x.cc
izisopou ce54c0d
Update L2Creator.cc
izisopou a206aa4
Update jet_match_x.cc
izisopou b8a9cd6
Update jet_correction_analyzer_x.cc
izisopou 478c8bd
Delete XrdClFileSystem_v2.hh
izisopou 83930e5
Update jet_synchtest_x.cc
izisopou 2809db1
Delete jet_match_x.cc
izisopou ff9ce76
Update jet_synchfit_x.cc
izisopou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a comment in #29 about using a copy of an XRootD header. A short version is you shouldn't copy headers from external dependencies. Instead you should use static_asserts and header guards to make sure the dependencies you need exist during compilation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We were getting compilation errors when using the xrootd/XrdCl/XrdClFileSystem.hh file and since it’s read-only we created a slightly modified XrdClFileSystem_v2.hh script in oder to avoid the error. This was a quick and easy way to keep the workflow running without getting errors. I’m not sure I understood what you are suggesting. Could you explain more in detail?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without knowing what the compilation errors were I can't comment on an alternative for fixing them. I was assuming the original
xrootd/XrdCl/XrdClFileSystem.hh
file would work and that you were worried about dependencies. Perhaps you can post the compilation error you were seeing (as an attachment).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I am attaching an image of the error we were having. Basically we changed the kXR_evict to kXR_wait , as the error suggested, and the compilation of XrdClFileSystem_v2.hh works fine without issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't be certain, but it look like adding
#include "xrootd/XProtocol/XProtocol.hh"
above the other XRootD header will fix the problem. Give it a try and let us know.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I tested it and it works, I don't get the compilation error anymore. I'll add this line and remove the XrdClFileSystem_v2.hh code, if that's okay with you.