Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ inline void EventSelectionFilterAndAnalysis::StoreMultiplicities(CollisionToFilt
/* we require tracks with pT > 0.15 and |eta| < 0.8 and additionally the TPCout flag */
/* for the time being there is not TPCout flag, we just consider hasTPC */
for (auto track : tracks) {
if (track.pt() > 0.15 and abs(track.eta()) < 0.8 and track.hasTPC()) {
if (track.pt() > 0.15 and std::abs(track.eta()) < 0.8 and track.hasTPC()) {
ntracksTPCout++;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,8 @@ class TrackSelectionBrick : public SpecialCutBrick
((mRequireTPCRefit) ? (track.flags() & o2::aod::track::TPCrefit) : true) &&
((mRequireGoldenChi2) ? (track.flags() & o2::aod::track::GoldenChi2) : true) &&
FulfillsITSHitRequirements(track.itsClusterMap()) &&
(mCheckMaxDcaXY && (abs(track.dcaXY()) <= ((mMaxDcaXYPtDep) ? mMaxDcaXYPtDep(track.pt()) : mMaxDcaXY))) &&
(mCheckMaxDcaZ && (abs(track.dcaZ()) <= mMaxDcaZ))) {
(mCheckMaxDcaXY && (std::abs(track.dcaXY()) <= ((mMaxDcaXYPtDep) ? mMaxDcaXYPtDep(track.pt()) : mMaxDcaXY))) &&
(mCheckMaxDcaZ && (std::abs(track.dcaZ()) <= mMaxDcaZ))) {
this->mState = this->kACTIVE;
return true;
} else {
Expand Down
Loading