forked from AliceO2Group/O2Physics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
78 additions
and
172 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,8 @@ | |
/// Inspired by StrangenessTables.h, FemtoDerived.h | ||
/// | ||
/// \author Bong-Hwi Lim <[email protected]> | ||
/// \author Nasir Mehdi Malik <[email protected]> | ||
/// | ||
|
||
#ifndef PWGLF_DATAMODEL_LFRESONANCETABLES_H_ | ||
#define PWGLF_DATAMODEL_LFRESONANCETABLES_H_ | ||
|
@@ -113,6 +115,25 @@ DECLARE_SOA_TABLE(ResoEvtPlCollisions, "AOD", "RESOEVTPLCOLL", | |
resocollision::EvtPlResBC); | ||
using ResoEvtPlCollision = ResoEvtPlCollisions::iterator; | ||
|
||
// For DF mixing study | ||
DECLARE_SOA_TABLE(ResoCollisionDFs, "AOD", "RESOCOLLISIONDF", | ||
o2::soa::Index<>, | ||
resocollision::CollisionId, | ||
o2::aod::mult::MultNTracksPV, | ||
collision::PosX, | ||
collision::PosY, | ||
collision::PosZ, | ||
resocollision::Cent, | ||
resocollision::Spherocity, | ||
resocollision::EvtPl, | ||
resocollision::EvtPlResAB, | ||
resocollision::EvtPlResAC, | ||
resocollision::EvtPlResBC, | ||
resocollision::BMagField, | ||
timestamp::Timestamp, | ||
evsel::NumTracksInTimeRange); | ||
using ResoCollisionDF = ResoCollisionDFs::iterator; | ||
|
||
// Resonance Daughters | ||
// inspired from PWGCF/DataModel/FemtoDerived.h | ||
namespace resodaughter | ||
|
@@ -230,6 +251,48 @@ DECLARE_SOA_TABLE(ResoTracks, "AOD", "RESOTRACKS", | |
o2::aod::track::TPCChi2NCl); | ||
using ResoTrack = ResoTracks::iterator; | ||
|
||
// For DF mixing study | ||
DECLARE_SOA_TABLE(ResoTrackDFs, "AOD", "RESOTRACKDFs", | ||
o2::soa::Index<>, | ||
resodaughter::ResoCollisionId, | ||
resodaughter::TrackId, | ||
resodaughter::Pt, | ||
resodaughter::Px, | ||
resodaughter::Py, | ||
resodaughter::Pz, | ||
resodaughter::Eta, | ||
resodaughter::Phi, | ||
resodaughter::Sign, | ||
resodaughter::TPCNClsCrossedRows, | ||
resodaughter::TPCNClsFound, | ||
resodaughter::ITSNCls, | ||
o2::aod::track::DcaXY, | ||
o2::aod::track::DcaZ, | ||
o2::aod::track::X, | ||
o2::aod::track::Alpha, | ||
resodaughter::HasITS, | ||
resodaughter::HasTPC, | ||
resodaughter::HasTOF, | ||
o2::aod::pidtpc::TPCNSigmaPi, | ||
o2::aod::pidtpc::TPCNSigmaKa, | ||
o2::aod::pidtpc::TPCNSigmaPr, | ||
o2::aod::pidtpc::TPCNSigmaEl, | ||
o2::aod::pidtof::TOFNSigmaPi, | ||
o2::aod::pidtof::TOFNSigmaKa, | ||
o2::aod::pidtof::TOFNSigmaPr, | ||
o2::aod::pidtof::TOFNSigmaEl, | ||
o2::aod::track::TPCSignal, | ||
o2::aod::track::PassedITSRefit, | ||
o2::aod::track::PassedTPCRefit, | ||
resodaughter::IsGlobalTrackWoDCA, | ||
resodaughter::IsGlobalTrack, | ||
resodaughter::IsPrimaryTrack, | ||
resodaughter::IsPVContributor, | ||
resodaughter::TPCCrossedRowsOverFindableCls, | ||
o2::aod::track::ITSChi2NCl, | ||
o2::aod::track::TPCChi2NCl); | ||
using ResoTrackDF = ResoTrackDFs::iterator; | ||
|
||
DECLARE_SOA_TABLE(ResoV0s, "AOD", "RESOV0S", | ||
o2::soa::Index<>, | ||
resodaughter::ResoCollisionId, | ||
|
This file was deleted.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
/// /// Invariant Mass Reconstruction of Lambda(1520) Resonance. | ||
/// | ||
/// \author Yash Patley <[email protected]> | ||
/// \author Nasir Mehdi Malik | ||
/// \author Nasir Mehdi Malik | ||
|
||
#include <Framework/ASoA.h> | ||
#include <Framework/AnalysisDataModel.h> | ||
|
@@ -30,7 +30,6 @@ | |
#include "Framework/ASoAHelpers.h" | ||
#include "Framework/runDataProcessing.h" | ||
#include "PWGLF/DataModel/LFResonanceTables.h" | ||
#include "PWGLF/DataModel/LFResonanceTablesMergeDF.h" | ||
#include "CommonConstants/PhysicsConstants.h" | ||
|
||
using namespace o2; | ||
|
@@ -654,9 +653,9 @@ struct lambdaAnalysis_pb { | |
|
||
PROCESS_SWITCH(lambdaAnalysis_pb, processMix, "Process for Mixed Events", false); | ||
|
||
Preslice<aod::ResoTrackDFs> perRColdf = aod::resodaughterdf::resoCollisiondfId; | ||
Preslice<aod::ResoTrackDFs> perRColdf = aod::resodaughter::resoCollisionId; | ||
|
||
using resoColDFs = aod::ResoCollisionDFs; | ||
using resoColDFs = aod::ResoCollisions; | ||
using resoTrackDFs = aod::ResoTrackDFs; | ||
|
||
void processDatadf(resoColDFs::iterator const& collision, resoTrackDFs const& tracks) | ||
|
@@ -673,7 +672,7 @@ struct lambdaAnalysis_pb { | |
|
||
PROCESS_SWITCH(lambdaAnalysis_pb, processDatadf, "Process for data merged DF", false); | ||
|
||
using BinningTypeDF = ColumnBinningPolicy<aod::collision::PosZ, aod::resocollisiondf::Cent>; | ||
using BinningTypeDF = ColumnBinningPolicy<aod::collision::PosZ, aod::resocollision::Cent>; | ||
void processMixDF(resoColDFs& collisions, resoTrackDFs const& tracks) | ||
{ | ||
if (doprocessMix) | ||
|
@@ -696,7 +695,7 @@ struct lambdaAnalysis_pb { | |
|
||
PROCESS_SWITCH(lambdaAnalysis_pb, processMixDF, "Process for merged DF Mixed Events", false); | ||
|
||
using BinningTypeEP = ColumnBinningPolicy<aod::collision::PosZ, aod::resocollisiondf::Cent, aod::resocollisiondf::EvtPl>; | ||
using BinningTypeEP = ColumnBinningPolicy<aod::collision::PosZ, aod::resocollision::Cent, aod::resocollision::EvtPl>; | ||
void processMixepDF(resoColDFs& collisions, resoTrackDFs const& tracks) | ||
{ | ||
if (doprocessMix || doprocessMixDF) | ||
|