Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
ade3d5e
Add untested version oft the X to Jpsi track track
ginnocen Feb 2, 2021
f642bbd
This commit adds the Xtask to O2
rspijkers Feb 8, 2021
aa51f5a
removed the filter on aod::BigTracks
rspijkers Feb 13, 2021
8e78d24
Fixed clang indentation errors (hopefully)
rspijkers Feb 15, 2021
f230837
previous commit still had clang issues, this should resolve it (inden…
rspijkers Feb 15, 2021
18a9e71
temporary commit, please ignore
rspijkers Feb 19, 2021
8a0c487
Disables TPC in J/psi selector;
rspijkers Feb 23, 2021
45370a6
Fixes the duplicate track check
rspijkers Feb 23, 2021
2270d95
Clean up X task
rspijkers Feb 24, 2021
4ca94e1
Added author and fixed variable names
rspijkers Mar 1, 2021
c3b190a
Fixed clang-format
rspijkers Mar 1, 2021
ec7cb67
Various fixes:
rspijkers Mar 1, 2021
17c4f27
hf-task-add-collisionId --> hf-task-x-add-collisionId
rspijkers Mar 1, 2021
07d2cd8
Create separate workflow for AddCollisionId
rspijkers Mar 2, 2021
0da95d1
Minor fixes, commit for troubleshooting
rspijkers Mar 3, 2021
1d4f1fc
Integrates collisionId into HFCandidateCreators
rspijkers Mar 4, 2021
792177a
minor fixes:
rspijkers Mar 5, 2021
caad6df
jpsi candidate selector:
rspijkers Mar 8, 2021
f54533c
move runDataProcessing.h below customize
rspijkers Mar 9, 2021
140b8b2
Add collision ID check for testing purposes
rspijkers Mar 10, 2021
bfc75d5
remove the collision ID check, add Y cut
rspijkers Mar 10, 2021
769dda9
Pion track loops more efficient
rspijkers Mar 15, 2021
8e88ba0
Update HFJpsiToEECandidateSelector.cxx
ginnocen Mar 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Disables TPC in J/psi selector;
Adds duplicate track check in X task.
  • Loading branch information
rspijkers committed Mar 17, 2021
commit 8a0c48716cf733d2f1873009f04dbdb661901061
9 changes: 5 additions & 4 deletions Analysis/Tasks/PWGHF/HFJpsiToEECandidateSelector.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,11 @@ struct HFJpsiToEECandidateSelector {
continue;
}

if (selectionPID(trackPos) == 0 || selectionPID(trackNeg) == 0) {
hfSelJpsiToEECandidate(0);
continue;
}
// no tpc in run5, commented out
// if (selectionPID(trackPos) == 0 || selectionPID(trackNeg) == 0) {
// hfSelJpsiToEECandidate(0);
// continue;
// }

hfSelJpsiToEECandidate(1);
}
Expand Down
14 changes: 12 additions & 2 deletions Analysis/Tasks/PWGHF/taskX.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,26 @@ struct TaskX {
continue;
}
registry.fill(HIST("hmassJpsi"), InvMassJpsiToEE(candidate));
printf("Jpsi index 0 %d \n Jpsi index 1 %d \n", candidate.index0(), candidate.index1());
int index0jpsi = candidate.index0Id();
int index1jpsi = candidate.index1Id();
auto trackJpsiParVarPos1 = getTrackParCov(candidate.index0());
auto trackJpsiParVarNeg1 = getTrackParCov(candidate.index1());
for (auto trackPos1 = tracks.begin(); trackPos1 != tracks.end(); ++trackPos1) {
Comment thread
rspijkers marked this conversation as resolved.
Outdated
if (trackPos1.signed1Pt() < 0) {
continue;
}
// TrackPos1.index0();
if (trackPos1.globalIndex() == index0jpsi){
printf("pos track pt check: trackJpsiParVarPos1.pt(), trackPos1.pt()\n");
continue;
}
for (auto trackNeg1 = tracks.begin(); trackNeg1 != tracks.end(); ++trackNeg1) {
Comment thread
ginnocen marked this conversation as resolved.
Outdated
if (trackNeg1.signed1Pt() > 0) {
continue;
}
if (trackNeg1.globalIndex() == index1jpsi){
printf("neg track pt check: trackJpsiParVarNeg1.pt(), trackNeg1.pt()\n");
continue;
}
registry.fill(HIST("hptcand"), candidate.pt() + trackPos1.pt() + trackNeg1.pt());
}
}
Expand Down