Skip to content

Commit c9addf2

Browse files
authored
[Common,PWGDQ,PWGJE,PWGLF] Preslice requires table type rather than iterator type (#16258)
1 parent ed8a5fd commit c9addf2

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

Common/TableProducer/mcCollsExtra.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct mcCollisionExtra {
5050
Configurable<float> poiEtaWindow{"poiEtaWindow", 0.8, "PDG code requirement within this eta window"};
5151

5252
// For manual sliceBy
53-
Preslice<aod::McParticle> perMcCollision = aod::mcparticle::mcCollisionId;
53+
Preslice<aod::McParticles> perMcCollision = aod::mcparticle::mcCollisionId;
5454

5555
template <typename T>
5656
std::vector<std::size_t> sort_indices(const std::vector<T>& v)

Common/TableProducer/muonRealignment.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ struct MuonRealignment {
104104
TGeoManager* geoNew = nullptr;
105105
TGeoManager* geoRef = nullptr;
106106

107-
Preslice<aod::FwdTrkCl> perMuon = aod::fwdtrkcl::fwdtrackId;
107+
Preslice<aod::FwdTrkCls> perMuon = aod::fwdtrkcl::fwdtrackId;
108108

109109
int GetDetElemId(int iDetElemNumber)
110110
{

Common/Tasks/qaMuon.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ struct muonQa {
278278
TGeoManager* geoNew = nullptr;
279279
TGeoManager* geoRef = nullptr;
280280

281-
Preslice<aod::FwdTrkCl> perMuon = aod::fwdtrkcl::fwdtrackId;
281+
Preslice<aod::FwdTrkCls> perMuon = aod::fwdtrkcl::fwdtrackId;
282282
Preslice<MyMuonsWithCov> fwdtracksPerCollision = aod::fwdtrack::collisionId;
283283
Preslice<MyMFTs> mftPerCollision = aod::fwdtrack::collisionId;
284284

PWGDQ/Tasks/mchAlignRecord.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ struct mchAlignRecordTask {
113113
"List of param mask for d.o.f to be fixed"};
114114
} fFixDetElem;
115115

116-
Preslice<aod::FwdTrkCl> perMuon = aod::fwdtrkcl::fwdtrackId;
116+
Preslice<aod::FwdTrkCls> perMuon = aod::fwdtrkcl::fwdtrackId;
117117

118118
void init(InitContext& ic)
119119
{

PWGDQ/Tasks/muonGlobalAlignment.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ struct muonGlobalAlignment {
237237
};
238238
std::map<int, AlignmentCorrections> mMchAlignmentCorrections;
239239

240-
Preslice<aod::FwdTrkCl> perMuon = aod::fwdtrkcl::fwdtrackId;
240+
Preslice<aod::FwdTrkCls> perMuon = aod::fwdtrkcl::fwdtrackId;
241241

242242
o2::aod::rctsel::RCTFlagsChecker rctChecker{"CBT_muon_glo", false, false, true};
243243

PWGJE/TableProducer/jetTrackDerived.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ struct jetspectraDerivedMaker {
159159
return true;
160160
}
161161

162-
Preslice<aod::Track> trackPerColl = aod::track::collisionId;
162+
Preslice<aod::Tracks> trackPerColl = aod::track::collisionId;
163163
Produces<o2::aod::JeTracks> tableTrack;
164164
Produces<o2::aod::JeColls> tableColl;
165165
using CollisionCandidate = soa::Join<aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0Ms, aod::CentFT0As, aod::CentFT0Cs>;

PWGJE/Tasks/trackJetQA.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ struct TrackJetQa {
350350
histos.fill(HIST("TPC/tpcChi2NCl"), track.pt(), track.sigma1Pt() * track.pt(), track.tpcChi2NCl(), collision.centFT0A(), collision.centFT0C());
351351
}
352352

353-
Preslice<aod::Track> trackPerColl = aod::track::collisionId;
353+
Preslice<aod::Tracks> trackPerColl = aod::track::collisionId;
354354
using CollisionCandidate = soa::Join<aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0Ms, aod::CentFT0As, aod::CentFT0Cs>;
355355
using TrackCandidates = soa::Join<aod::FullTracks, aod::TracksDCA, aod::TrackSelection, aod::TracksCov>;
356356

PWGLF/TableProducer/Nuspex/threebodymcfinder.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ struct threebodymcfinder {
5959

6060
Configurable<bool> requireITS{"requireITS", false, "require ITS information used in tracks"};
6161

62-
Preslice<aod::McParticle> perMcCollision = aod::mcparticle::mcCollisionId;
62+
Preslice<aod::McParticles> perMcCollision = aod::mcparticle::mcCollisionId;
6363

6464
std::vector<int> d3bcollisionId;
6565
std::vector<int> d3bprong0Index;

PWGLF/TableProducer/Strangeness/cascademcfinder.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ struct cascademcfinder {
6767
Configurable<bool> doQA{"doQA", true, "do qa plots"};
6868

6969
// For manual sliceBy
70-
Preslice<aod::McParticle> perMcCollision = aod::mcparticle::mcCollisionId;
70+
Preslice<aod::McParticles> perMcCollision = aod::mcparticle::mcCollisionId;
7171

7272
std::vector<int> casccollisionId;
7373
std::vector<int> cascv0Index;

0 commit comments

Comments
 (0)