PWGFH: Adding Lc in pKpi in the analysis workflow#4727
Merged
Conversation
jgrosseo
approved these changes
Oct 30, 2020
vkucera
reviewed
Oct 30, 2020
|
|
||
| namespace o2::aod | ||
| { | ||
| namespace hf_selcandidate_lc |
Collaborator
There was a problem hiding this comment.
hf_selcandidate should be renamed to hf_selcandidate_d0.
| { | ||
| DECLARE_SOA_COLUMN(IsSelLc, isSelLc, int); | ||
| } // namespace hf_selcandidate_lc | ||
| DECLARE_SOA_TABLE(HFSelLcCandidate, "AOD", "HFSELLcCAND", hf_selcandidate_lc::IsSelLc); |
Collaborator
There was a problem hiding this comment.
The descriptor should be in capitals.
Comment on lines
+304
to
+308
| template <typename T> | ||
| auto InvMassLc(const T& candidate) | ||
| { | ||
| return candidate.m(array{RecoDecay::getMassPDG(kProton), RecoDecay::getMassPDG(kKPlus), RecoDecay::getMassPDG(kPiPlus)}); | ||
| } |
Collaborator
There was a problem hiding this comment.
I think there should be a second version of this with proton and pion hypotheses swapped.
Comment on lines
+65
to
+74
| int getpTBin(T candpT) | ||
| { | ||
| double pTBins[npTBins + 1] = {0, 1., 2., 3., 4., 5., 6., 8., 12., 24., 36.}; | ||
| for (int i = 0; i < npTBins; i++) { | ||
| if (candpT >= pTBins[i] && candpT < pTBins[i + 1]) { | ||
| return i; | ||
| } | ||
| } | ||
| return -1; | ||
| } |
Collaborator
There was a problem hiding this comment.
There was an update of the D0 selector recently. #4692
Have a look and update this task accordingly, please.
Comment on lines
+199
to
+207
| } else { | ||
| return nSigma = 100; //arbitarily large value | ||
| } | ||
| if (nSigma < nSigmaCut) { | ||
| return true; | ||
| } else { | ||
| return false; | ||
| } | ||
| } |
Comment on lines
+227
to
+233
| return nSigma = 100; //arbitarily large value | ||
| } | ||
| if (nSigma < nSigmaCut) { | ||
| return true; | ||
| } else { | ||
| return false; | ||
| } |
Comment on lines
+301
to
+304
| proton = -1; | ||
| kMinus = -1; | ||
| piPlus = -1; | ||
|
|
Comment on lines
+327
to
+329
| proton = selectionPID(trackPos1, 2212); | ||
| kMinus = selectionPID(trackNeg1, 321); | ||
| piPlus = selectionPID(trackPos2, 211); |
| //OutputObj<TH1F> hdca{TH1F("hdca", "3-prong candidates;prongs DCA to prim. vertex (cm);entries", 100, -1., 1.)}; | ||
| OutputObj<TH1F> hdca2{TH1F("hdca2", "3-prong candidates;prongs DCA to sec. vertex (cm);entries", 100, 0., 1.)}; | ||
|
|
||
| Configurable<int> d_selectionFlagLc{"d_selectionFlagLc", 1, "Selection Flag for Lc"}; |
Collaborator
There was a problem hiding this comment.
There should be two hypotheses.
DelloStritto
pushed a commit
to DelloStritto/AliceO2
that referenced
this pull request
Oct 30, 2020
jgrosseo
pushed a commit
that referenced
this pull request
Nov 2, 2020
tklemenz
pushed a commit
to tklemenz/AliceO2
that referenced
this pull request
Nov 12, 2020
tklemenz
pushed a commit
to tklemenz/AliceO2
that referenced
this pull request
Nov 12, 2020
EmilGorm
pushed a commit
to EmilGorm/AliceO2
that referenced
this pull request
Nov 22, 2021
EmilGorm
pushed a commit
to EmilGorm/AliceO2
that referenced
this pull request
Nov 22, 2021
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
@ginnocen @vkucera @nzardosh