Skip to content

Commit

Permalink
Please consider the following formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alibuild committed Nov 26, 2023
1 parent 15ee726 commit 4e5c327
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 85 deletions.
84 changes: 42 additions & 42 deletions PWGLF/DataModel/LFStrangenessTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ DECLARE_SOA_DYNAMIC_COLUMN(HasTOF, hasTOF, //! Flag to check if track has a TOF
} // namespace dautrack

DECLARE_SOA_TABLE(DauTrackExtras, "AOD", "DAUTRACKEXTRA", //! detector properties of decay daughters
dautrack::DetectorMap, dautrack::ITSClusterSizes,
dautrack::DetectorMap, dautrack::ITSClusterSizes,
dautrack::TPCClusters, dautrack::TPCCrossedRows,

// Dynamic columns for manipulating information
Expand All @@ -96,7 +96,7 @@ DECLARE_SOA_INDEX_COLUMN(V0, v0); //!
// FOR DERIVED
DECLARE_SOA_INDEX_COLUMN_FULL(PosTrackExtra, posTrackExtra, int, DauTrackExtras, "_PosExtra"); //!
DECLARE_SOA_INDEX_COLUMN_FULL(NegTrackExtra, negTrackExtra, int, DauTrackExtras, "_NegExtra"); //!
DECLARE_SOA_INDEX_COLUMN(StraCollision, straCollision); //!
DECLARE_SOA_INDEX_COLUMN(StraCollision, straCollision); //!

//______________________________________________________
// REGULAR COLUMNS FOR V0CORES
Expand Down Expand Up @@ -448,10 +448,10 @@ DECLARE_SOA_INDEX_COLUMN_FULL(Bachelor, bachelor, int, Tracks, ""); //!
DECLARE_SOA_INDEX_COLUMN_FULL(StrangeTrack, strangeTrack, int, Tracks, ""); //!
DECLARE_SOA_INDEX_COLUMN(Collision, collision); //!
// FOR DERIVED
DECLARE_SOA_INDEX_COLUMN_FULL(PosTrackExtra, posTrackExtra, int, DauTrackExtras, "_PosExtra"); //!
DECLARE_SOA_INDEX_COLUMN_FULL(NegTrackExtra, negTrackExtra, int, DauTrackExtras, "_NegExtra"); //!
DECLARE_SOA_INDEX_COLUMN_FULL(PosTrackExtra, posTrackExtra, int, DauTrackExtras, "_PosExtra"); //!
DECLARE_SOA_INDEX_COLUMN_FULL(NegTrackExtra, negTrackExtra, int, DauTrackExtras, "_NegExtra"); //!
DECLARE_SOA_INDEX_COLUMN_FULL(BachTrackExtra, bachTrackExtra, int, DauTrackExtras, "_NegExtra"); //!
DECLARE_SOA_INDEX_COLUMN(StraCollision, straCollision); //!
DECLARE_SOA_INDEX_COLUMN(StraCollision, straCollision); //!

//______________________________________________________
// REGULAR COLUMNS FOR CASCCORES
Expand Down Expand Up @@ -521,24 +521,24 @@ DECLARE_SOA_COLUMN(ItsClsSize, itsCluSize, float); //!

//______________________________________________________
// REGULAR COLUMNS FOR CASCEXTRAS
DECLARE_SOA_COLUMN(PosTrackDetectorMap, posTrackDetectorMap, uint8_t); //! detector map for reference
DECLARE_SOA_COLUMN(NegTrackDetectorMap, negTrackDetectorMap, uint8_t); //! detector map for reference
DECLARE_SOA_COLUMN(PosTrackDetectorMap, posTrackDetectorMap, uint8_t); //! detector map for reference
DECLARE_SOA_COLUMN(NegTrackDetectorMap, negTrackDetectorMap, uint8_t); //! detector map for reference
DECLARE_SOA_COLUMN(BachTrackDetectorMap, bachTrackDetectorMap, uint8_t); //! detector map for reference
DECLARE_SOA_COLUMN(PosTrackITSClusterSizes, posTrackITSClusterSizes, uint32_t); //! ITS cluster sizes per layer
DECLARE_SOA_COLUMN(NegTrackITSClusterSizes, negTrackITSClusterSizes, uint32_t); //! ITS cluster sizes per layer
DECLARE_SOA_COLUMN(PosTrackITSClusterSizes, posTrackITSClusterSizes, uint32_t); //! ITS cluster sizes per layer
DECLARE_SOA_COLUMN(NegTrackITSClusterSizes, negTrackITSClusterSizes, uint32_t); //! ITS cluster sizes per layer
DECLARE_SOA_COLUMN(BachTrackITSClusterSizes, bachTrackITSClusterSizes, uint32_t); //! ITS cluster sizes per layer
DECLARE_SOA_COLUMN(PosTrackTPCClusters, posTrackTPCClusters, uint8_t); //! N TPC clusters
DECLARE_SOA_COLUMN(NegTrackTPCClusters, negTrackTPCClusters, uint8_t); //! N TPC clusters
DECLARE_SOA_COLUMN(PosTrackTPCClusters, posTrackTPCClusters, uint8_t); //! N TPC clusters
DECLARE_SOA_COLUMN(NegTrackTPCClusters, negTrackTPCClusters, uint8_t); //! N TPC clusters
DECLARE_SOA_COLUMN(BachTrackTPCClusters, bachTrackTPCClusters, uint8_t); //! N TPC clusters
DECLARE_SOA_COLUMN(PosTrackTPCCrossedRows, posTrackTPCCrossedRows, uint8_t); //! N TPC clusters
DECLARE_SOA_COLUMN(NegTrackTPCCrossedRows, negTrackTPCCrossedRows, uint8_t); //! N TPC clusters
DECLARE_SOA_COLUMN(PosTrackTPCCrossedRows, posTrackTPCCrossedRows, uint8_t); //! N TPC clusters
DECLARE_SOA_COLUMN(NegTrackTPCCrossedRows, negTrackTPCCrossedRows, uint8_t); //! N TPC clusters
DECLARE_SOA_COLUMN(BachTrackTPCCrossedRows, bachTrackTPCCrossedRows, uint8_t); //! N TPC clusters

//______________________________________________________
// REGULAR COLUMNS FOR CASCMCCORES
DECLARE_SOA_COLUMN(PDGCode, pdgCode, int); //! cascade PDG Code
DECLARE_SOA_COLUMN(PDGCodeMother, pdgCodeMother, int); //! cascade mother PDG code (for feeddown)
DECLARE_SOA_COLUMN(PDGCodeV0, pdgCodeV0, int); //! cascade PDG Code
DECLARE_SOA_COLUMN(PDGCodeV0, pdgCodeV0, int); //! cascade PDG Code
DECLARE_SOA_COLUMN(PDGCodePositive, pdgCodePositive, int); //! V0 positive prong PDG code
DECLARE_SOA_COLUMN(PDGCodeNegative, pdgCodeNegative, int); //! V0 negative prong PDG code
DECLARE_SOA_COLUMN(PDGCodeBachelor, pdgCodeBachelor, int); //! cascade bachelor prong PDG code
Expand Down Expand Up @@ -662,13 +662,13 @@ DECLARE_SOA_TABLE(TraCascCollRefs, "AOD", "TRACASCCOLLREF", //! optional table t
o2::soa::Index<>, cascdata::StraCollisionId, o2::soa::Marker<3>);

DECLARE_SOA_TABLE(CascExtras, "AOD", "CASCEXTRA", //! optional table to refer to custom track extras
o2::soa::Index<>, cascdata::PosTrackExtraId, cascdata::NegTrackExtraId,
o2::soa::Index<>, cascdata::PosTrackExtraId, cascdata::NegTrackExtraId,
cascdata::BachTrackExtraId, o2::soa::Marker<1>);
DECLARE_SOA_TABLE(KFCascExtras, "AOD", "KFCASCEXTRA", //! optional table to refer to custom track extras
o2::soa::Index<>, cascdata::PosTrackExtraId, cascdata::NegTrackExtraId,
o2::soa::Index<>, cascdata::PosTrackExtraId, cascdata::NegTrackExtraId,
cascdata::BachTrackExtraId, o2::soa::Marker<2>);
DECLARE_SOA_TABLE(TraCascExtras, "AOD", "TRACASCEXTRA", //! optional table to refer to custom track extras
o2::soa::Index<>, cascdata::PosTrackExtraId, cascdata::NegTrackExtraId,
o2::soa::Index<>, cascdata::PosTrackExtraId, cascdata::NegTrackExtraId,
cascdata::BachTrackExtraId, o2::soa::Marker<3>);

DECLARE_SOA_TABLE(StoredCascCores, "AOD", "CASCCORE", //! core information about decay, viable with AO2Ds or derived
Expand Down Expand Up @@ -755,34 +755,34 @@ DECLARE_SOA_TABLE(StoredTraCascCores, "AOD", "TRACASCCORE", //!
cascdata::YOmega<cascdata::Px, cascdata::Py, cascdata::Pz>);

DECLARE_SOA_TABLE(CascMCCores, "AOD", "CASCMCCORE", //! bachelor-baryon correlation variables
cascdata::PDGCode, cascdata::PDGCodeMother, cascdata::PDGCodeV0, cascdata::IsPhysicalPrimary,
cascdata::PDGCodePositive, cascdata::PDGCodeNegative, cascdata::PDGCodeBachelor,
cascdata::XMC, cascdata::YMC, cascdata::ZMC,
cascdata::XlambdaMC, cascdata::YlambdaMC, cascdata::ZlambdaMC,
cascdata::PxPosMC, cascdata::PyPosMC, cascdata::PzPosMC,
cascdata::PxNegMC, cascdata::PyNegMC, cascdata::PzNegMC,
cascdata::PxBachMC, cascdata::PyBachMC, cascdata::PzBachMC,
cascdata::PxMC, cascdata::PyMC, cascdata::PzMC,
cascdata::PDGCode, cascdata::PDGCodeMother, cascdata::PDGCodeV0, cascdata::IsPhysicalPrimary,
cascdata::PDGCodePositive, cascdata::PDGCodeNegative, cascdata::PDGCodeBachelor,
cascdata::XMC, cascdata::YMC, cascdata::ZMC,
cascdata::XlambdaMC, cascdata::YlambdaMC, cascdata::ZlambdaMC,
cascdata::PxPosMC, cascdata::PyPosMC, cascdata::PzPosMC,
cascdata::PxNegMC, cascdata::PyNegMC, cascdata::PzNegMC,
cascdata::PxBachMC, cascdata::PyBachMC, cascdata::PzBachMC,
cascdata::PxMC, cascdata::PyMC, cascdata::PzMC,
o2::soa::Marker<1>);
DECLARE_SOA_TABLE(KFCascMCCores, "AOD", "KFCASCMCCORE", //! bachelor-baryon correlation variables
cascdata::PDGCode, cascdata::PDGCodeMother, cascdata::PDGCodeV0, cascdata::IsPhysicalPrimary,
cascdata::PDGCodePositive, cascdata::PDGCodeNegative, cascdata::PDGCodeBachelor,
cascdata::XMC, cascdata::YMC, cascdata::ZMC,
cascdata::XlambdaMC, cascdata::YlambdaMC, cascdata::ZlambdaMC,
cascdata::PxPosMC, cascdata::PyPosMC, cascdata::PzPosMC,
cascdata::PxNegMC, cascdata::PyNegMC, cascdata::PzNegMC,
cascdata::PxBachMC, cascdata::PyBachMC, cascdata::PzBachMC,
cascdata::PxMC, cascdata::PyMC, cascdata::PzMC,
cascdata::PDGCode, cascdata::PDGCodeMother, cascdata::PDGCodeV0, cascdata::IsPhysicalPrimary,
cascdata::PDGCodePositive, cascdata::PDGCodeNegative, cascdata::PDGCodeBachelor,
cascdata::XMC, cascdata::YMC, cascdata::ZMC,
cascdata::XlambdaMC, cascdata::YlambdaMC, cascdata::ZlambdaMC,
cascdata::PxPosMC, cascdata::PyPosMC, cascdata::PzPosMC,
cascdata::PxNegMC, cascdata::PyNegMC, cascdata::PzNegMC,
cascdata::PxBachMC, cascdata::PyBachMC, cascdata::PzBachMC,
cascdata::PxMC, cascdata::PyMC, cascdata::PzMC,
o2::soa::Marker<2>);
DECLARE_SOA_TABLE(TraCascMCCores, "AOD", "TRACASCMCCORE", //! bachelor-baryon correlation variables
cascdata::PDGCode, cascdata::PDGCodeMother, cascdata::PDGCodeV0, cascdata::IsPhysicalPrimary,
cascdata::PDGCodePositive, cascdata::PDGCodeNegative, cascdata::PDGCodeBachelor,
cascdata::XMC, cascdata::YMC, cascdata::ZMC,
cascdata::XlambdaMC, cascdata::YlambdaMC, cascdata::ZlambdaMC,
cascdata::PxPosMC, cascdata::PyPosMC, cascdata::PzPosMC,
cascdata::PxNegMC, cascdata::PyNegMC, cascdata::PzNegMC,
cascdata::PxBachMC, cascdata::PyBachMC, cascdata::PzBachMC,
cascdata::PxMC, cascdata::PyMC, cascdata::PzMC,
cascdata::PDGCode, cascdata::PDGCodeMother, cascdata::PDGCodeV0, cascdata::IsPhysicalPrimary,
cascdata::PDGCodePositive, cascdata::PDGCodeNegative, cascdata::PDGCodeBachelor,
cascdata::XMC, cascdata::YMC, cascdata::ZMC,
cascdata::XlambdaMC, cascdata::YlambdaMC, cascdata::ZlambdaMC,
cascdata::PxPosMC, cascdata::PyPosMC, cascdata::PzPosMC,
cascdata::PxNegMC, cascdata::PyNegMC, cascdata::PzNegMC,
cascdata::PxBachMC, cascdata::PyBachMC, cascdata::PzBachMC,
cascdata::PxMC, cascdata::PyMC, cascdata::PzMC,
o2::soa::Marker<3>);

DECLARE_SOA_TABLE(CascBBs, "AOD", "CASCBB", //! bachelor-baryon correlation variables
Expand Down Expand Up @@ -915,7 +915,7 @@ using McCascBBTag = McCascBBTags::iterator;
namespace mckfcasclabel
{
DECLARE_SOA_INDEX_COLUMN(McParticle, mcParticle); //! MC particle for V0
} // namespace mctracasclabel
} // namespace mckfcasclabel

DECLARE_SOA_TABLE(McKFCascLabels, "AOD", "MCKFCASCLABEL", //! Table joinable to cascdata containing the MC labels
mckfcasclabel::McParticleId);
Expand Down
12 changes: 6 additions & 6 deletions PWGLF/TableProducer/cascademcbuilder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ using LabeledTracks = soa::Join<aod::Tracks, aod::McTrackLabels>;
//*+-+*+-+*+-+*+-+*+-+*+-+*+-+*+-+*+-+*+-+*
struct cascademcbuilder {
Produces<aod::McCascLabels> casclabels; // MC labels for cascades
Produces<aod::McKFCascLabels> kfcasclabels; // MC labels for tracked cascades
Produces<aod::McKFCascLabels> kfcasclabels; // MC labels for tracked cascades
Produces<aod::McTraCascLabels> tracasclabels; // MC labels for tracked cascades
Produces<aod::McCascBBTags> bbtags; // bb tags (inv structure tagging)
Produces<aod::CascMCCores> cascmccores; // optionally aggregate information from MC side for posterior analysis (derived data)
Produces<aod::KFCascMCCores> kfcascmccores; // optionally aggregate information from MC side for posterior analysis (derived data)
Produces<aod::TraCascMCCores> tracascmccores; // optionally aggregate information from MC side for posterior analysis (derived data)
Produces<aod::KFCascMCCores> kfcascmccores; // optionally aggregate information from MC side for posterior analysis (derived data)
Produces<aod::TraCascMCCores> tracascmccores; // optionally aggregate information from MC side for posterior analysis (derived data)

Configurable<bool> populateCascMCCores{"populateCascMCCores", false, "populate CascMCCores table for derived data analysis"};
Configurable<bool> populateKFCascMCCores{"populateKFCascMCCores", false, "populate KFCascMCCores table for derived data analysis"};
Expand Down Expand Up @@ -152,7 +152,7 @@ struct cascademcbuilder {
cascmccores(
pdgCode, pdgCodeMother, pdgCodeV0, isPhysicalPrimary,
pdgCodePositive, pdgCodeNegative, pdgCodeBachelor,
xmc, ymc, zmc, xlmc, ylmc, zlmc,
xmc, ymc, zmc, xlmc, ylmc, zlmc,
pxposmc, pyposmc, pzposmc,
pxnegmc, pynegmc, pznegmc,
pxbachmc, pybachmc, pzbachmc,
Expand Down Expand Up @@ -249,7 +249,7 @@ struct cascademcbuilder {
kfcascmccores(
pdgCode, pdgCodeMother, pdgCodeV0, isPhysicalPrimary,
pdgCodePositive, pdgCodeNegative, pdgCodeBachelor,
xmc, ymc, zmc, xlmc, ylmc, zlmc,
xmc, ymc, zmc, xlmc, ylmc, zlmc,
pxposmc, pyposmc, pzposmc,
pxnegmc, pynegmc, pznegmc,
pxbachmc, pybachmc, pzbachmc,
Expand Down Expand Up @@ -351,7 +351,7 @@ struct cascademcbuilder {
tracascmccores(
pdgCode, pdgCodeMother, pdgCodeV0, isPhysicalPrimary,
pdgCodePositive, pdgCodeNegative, pdgCodeBachelor,
xmc, ymc, zmc, xlmc, ylmc, zlmc,
xmc, ymc, zmc, xlmc, ylmc, zlmc,
pxposmc, pyposmc, pzposmc,
pxnegmc, pynegmc, pznegmc,
pxbachmc, pybachmc, pzbachmc,
Expand Down
Loading

0 comments on commit 4e5c327

Please sign in to comment.