Skip to content

PWGHF: Add the NumberOfCluster in MFT information in the outputs of HFL single muon source task#5113

Merged
NicoleBastid merged 3 commits into
AliceO2Group:masterfrom
MaolinZH:master
Mar 13, 2024
Merged

PWGHF: Add the NumberOfCluster in MFT information in the outputs of HFL single muon source task#5113
NicoleBastid merged 3 commits into
AliceO2Group:masterfrom
MaolinZH:master

Conversation

@MaolinZH

Copy link
Copy Markdown
Contributor

The change is temporary, and aims to check the Number of cluster dependence for each kind of global tracks. Once the MFT information is available in DQ's table-maker-MC, this change will be recovered.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 123ee63 at 2024-03-12 16:48:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/5113-slc7_x86-64/0/PWGHF/HFL/Tasks/taskSingleMuonSource.cxx:36:47: error: 'MFTTrackLabels' is not a member of 'o2::aod'; did you mean 'McTrackLabels'?
/sw/SOURCES/O2Physics/5113-slc7_x86-64/0/PWGHF/HFL/Tasks/taskSingleMuonSource.cxx:36:61: error: template argument 2 is invalid
/sw/SOURCES/O2Physics/5113-slc7_x86-64/0/PWGHF/HFL/Tasks/taskSingleMuonSource.cxx:36:21: error: '<expression error>' in namespace 'o2::soa' does not name a type
/sw/SOURCES/O2Physics/5113-slc7_x86-64/0/PWGHF/HFL/Tasks/taskSingleMuonSource.cxx:290:16: error: 'McMFTs' has not been declared
/sw/SOURCES/O2Physics/5113-slc7_x86-64/0/PWGHF/HFL/Tasks/taskSingleMuonSource.cxx:252:44: error: 'McMFTs' was not declared in this scope
/sw/SOURCES/O2Physics/5113-slc7_x86-64/0/PWGHF/HFL/Tasks/taskSingleMuonSource.cxx:252:51: error: no matching function for call to 'o2::soa::Table<o2::aod::fwdtrack::Eta, o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::P, o2::soa::Index<0, -1>, o2::aod::fwdtrack::CollisionId, o2::aod::fwdtrack::TrackType, o2::aod::fwdtrack::X, o2::aod::fwdtrack::Y, o2::aod::fwdtrack::Z, o2::aod::fwdtrack::Phi, o2::aod::fwdtrack::Tgl, o2::aod::fwdtrack::Signed1Pt, o2::aod::fwdtrack::NClusters, o2::aod::fwdtrack::PDca, o2::aod::fwdtrack::RAtAbsorberEnd, o2::aod::fwdtrack::Px<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Phi>, o2::aod::fwdtrack::Py<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Phi>, o2::aod::fwdtrack::Pz<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Tgl>, o2::aod::fwdtrack::Sign<o2::aod::fwdtrack::Signed1Pt>, o2::aod::fwdtrack::Chi2, o2::aod::fwdtrack::Chi2MatchMCHMID, o2::aod::fwdtrack::Chi2MatchMCHMFT, o2::aod::fwdtrack::MatchScoreMCHMFT, o2::aod::fwdtrack::MFTTrackId, o2::aod::fwdtrack::MCHTrackId, o2::aod::fwdtrack::MCHBitMap, o2::aod::fwdtrack::MIDBitMap, o2::aod::fwdtrack::MIDBoards, o2::aod::fwdtrack::TrackTime, o2::aod::fwdtrack::TrackTimeRes, o2::aod::mcfwdtracklabel::McParticleId, o2::aod::mcfwdtracklabel::McMask, o2::aod::fwdtrack::FwdDcaX, o2::aod::fwdtrack::FwdDcaY>::RowViewBase<o2::soa::DefaultIndexPolicy, o2::soa::Join<o2::soa::Join<o2::aod::FwdTracksExtension, o2::soa::Table<o2::soa::Index<0, -1>, o2::aod::fwdtrack::CollisionId, o2::aod::fwdtrack::TrackType, o2::aod::fwdtrack::X, o2::aod::fwdtrack::Y, o2::aod::fwdtrack::Z, o2::aod::fwdtrack::Phi, o2::aod::fwdtrack::Tgl, o2::aod::fwdtrack::Signed1Pt, o2::aod::fwdtrack::NClusters, o2::aod::fwdtrack::PDca, o2::aod::fwdtrack::RAtAbsorberEnd, o2::aod::fwdtrack::Px<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Phi>, o2::aod::fwdtrack::Py<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Phi>, o2::aod::fwdtrack::Pz<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Tgl>, o2::aod::fwdtrack::Sign<o2::aod::fwdtrack::Signed1Pt>, o2::aod::fwdtrack::Chi2, o2::aod::fwdtrack::Chi2MatchMCHMID, o2::aod::fwdtrack::Chi2MatchMCHMFT, o2::aod::fwdtrack::MatchScoreMCHMFT, o2::aod::fwdtrack::MFTTrackId, o2::aod::fwdtrack::MCHTrackId, o2::aod::fwdtrack::MCHBitMap, o2::aod::fwdtrack::MIDBitMap, o2::aod::fwdtrack::MIDBoards, o2::aod::fwdtrack::TrackTime, o2::aod::fwdtrack::TrackTimeRes> >, o2::soa::Table<o2::aod::mcfwdtracklabel::McParticleId, o2::aod::mcfwdtracklabel::McMask>, o2::soa::Table<o2::aod::fwdtrack::FwdDcaX, o2::aod::fwdtrack::FwdDcaY> >, o2::aod::FwdTracksExtension, o2::soa::Table<o2::soa::Index<0, -1>, o2::aod::fwdtrack::CollisionId, o2::aod::fwdtrack::TrackType, o2::aod::fwdtrack::X, o2::aod::fwdtrack::Y, o2::aod::fwdtrack::Z, o2::aod::fwdtrack::Phi, o2::aod::fwdtrack::Tgl, o2::aod::fwdtrack::Signed1Pt, o2::aod::fwdtrack::NClusters, o2::aod::fwdtrack::PDca, o2::aod::fwdtrack::RAtAbsorberEnd, o2::aod::fwdtrack::Px<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Phi>, o2::aod::fwdtrack::Py<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Phi>, o2::aod::fwdtrack::Pz<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Tgl>, o2::aod::fwdtrack::Sign<o2::aod::fwdtrack::Signed1Pt>, o2::aod::fwdtrack::Chi2, o2::aod::fwdtrack::Chi2MatchMCHMID, o2::aod::fwdtrack::Chi2MatchMCHMFT, o2::aod::fwdtrack::MatchScoreMCHMFT, o2::aod::fwdtrack::MFTTrackId, o2::aod::fwdtrack::MCHTrackId, o2::aod::fwdtrack::MCHBitMap, o2::aod::fwdtrack::MIDBitMap, o2::aod::fwdtrack::MIDBoards, o2::aod::fwdtrack::TrackTime, o2::aod::fwdtrack::TrackTimeRes>, o2::soa::Table<o2::aod::mcfwdtracklabel::McParticleId, o2::aod::mcfwdtracklabel::McMask>, o2::soa::Table<o2::aod::fwdtrack::FwdDcaX, o2::aod::fwdtrack::FwdDcaY> >::matchMFTTrack_as<<expression error> >() const'
/sw/SOURCES/O2Physics/5113-slc7_x86-64/0/PWGHF/HFL/Tasks/taskSingleMuonSource.cxx:252:51: error: template argument 1 is invalid
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/ASoA.h:170:26: error: 'decayed' {aka 'int'} is not a class, struct, or union type
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/ASoA.h:171:51: error: 'decayed' {aka 'int'} is not a class, struct, or union type
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:240:55: error: too many braces around scalar initializer for type 'int'
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/ASoA.h:1129:23: error: 'int' is not a class, struct, or union type
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:167:5: error: 'constexpr' call flows off the end of the function
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:117:50: error: static assertion failed: Could not find metadata. Did you register your type?
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:125:51: error: incomplete type 'metadata' {aka 'void'} used in nested name specifier
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:125:71: error: incomplete type 'metadata' {aka 'void'} used in nested name specifier
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:125:96: error: incomplete type 'metadata' {aka 'void'} used in nested name specifier
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:125:117: error: incomplete type 'metadata' {aka 'void'} used in nested name specifier
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:125:117: error: no matching function for call to 'o2::framework::InputSpec::InputSpec(<brace-enclosed initializer list>)'
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for d05a5d0 at 2024-03-12 16:53:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/5113-slc7_x86-64/0/PWGHF/HFL/Tasks/taskSingleMuonSource.cxx:36:47: error: 'MFTTrackLabels' is not a member of 'o2::aod'; did you mean 'McTrackLabels'?
/sw/SOURCES/O2Physics/5113-slc7_x86-64/0/PWGHF/HFL/Tasks/taskSingleMuonSource.cxx:36:61: error: template argument 2 is invalid
/sw/SOURCES/O2Physics/5113-slc7_x86-64/0/PWGHF/HFL/Tasks/taskSingleMuonSource.cxx:36:21: error: '<expression error>' in namespace 'o2::soa' does not name a type
/sw/SOURCES/O2Physics/5113-slc7_x86-64/0/PWGHF/HFL/Tasks/taskSingleMuonSource.cxx:290:16: error: 'McMFTs' has not been declared
/sw/SOURCES/O2Physics/5113-slc7_x86-64/0/PWGHF/HFL/Tasks/taskSingleMuonSource.cxx:252:44: error: 'McMFTs' was not declared in this scope
/sw/SOURCES/O2Physics/5113-slc7_x86-64/0/PWGHF/HFL/Tasks/taskSingleMuonSource.cxx:252:51: error: no matching function for call to 'o2::soa::Table<o2::aod::fwdtrack::Eta, o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::P, o2::soa::Index<0, -1>, o2::aod::fwdtrack::CollisionId, o2::aod::fwdtrack::TrackType, o2::aod::fwdtrack::X, o2::aod::fwdtrack::Y, o2::aod::fwdtrack::Z, o2::aod::fwdtrack::Phi, o2::aod::fwdtrack::Tgl, o2::aod::fwdtrack::Signed1Pt, o2::aod::fwdtrack::NClusters, o2::aod::fwdtrack::PDca, o2::aod::fwdtrack::RAtAbsorberEnd, o2::aod::fwdtrack::Px<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Phi>, o2::aod::fwdtrack::Py<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Phi>, o2::aod::fwdtrack::Pz<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Tgl>, o2::aod::fwdtrack::Sign<o2::aod::fwdtrack::Signed1Pt>, o2::aod::fwdtrack::Chi2, o2::aod::fwdtrack::Chi2MatchMCHMID, o2::aod::fwdtrack::Chi2MatchMCHMFT, o2::aod::fwdtrack::MatchScoreMCHMFT, o2::aod::fwdtrack::MFTTrackId, o2::aod::fwdtrack::MCHTrackId, o2::aod::fwdtrack::MCHBitMap, o2::aod::fwdtrack::MIDBitMap, o2::aod::fwdtrack::MIDBoards, o2::aod::fwdtrack::TrackTime, o2::aod::fwdtrack::TrackTimeRes, o2::aod::mcfwdtracklabel::McParticleId, o2::aod::mcfwdtracklabel::McMask, o2::aod::fwdtrack::FwdDcaX, o2::aod::fwdtrack::FwdDcaY>::RowViewBase<o2::soa::DefaultIndexPolicy, o2::soa::Join<o2::soa::Join<o2::aod::FwdTracksExtension, o2::soa::Table<o2::soa::Index<0, -1>, o2::aod::fwdtrack::CollisionId, o2::aod::fwdtrack::TrackType, o2::aod::fwdtrack::X, o2::aod::fwdtrack::Y, o2::aod::fwdtrack::Z, o2::aod::fwdtrack::Phi, o2::aod::fwdtrack::Tgl, o2::aod::fwdtrack::Signed1Pt, o2::aod::fwdtrack::NClusters, o2::aod::fwdtrack::PDca, o2::aod::fwdtrack::RAtAbsorberEnd, o2::aod::fwdtrack::Px<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Phi>, o2::aod::fwdtrack::Py<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Phi>, o2::aod::fwdtrack::Pz<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Tgl>, o2::aod::fwdtrack::Sign<o2::aod::fwdtrack::Signed1Pt>, o2::aod::fwdtrack::Chi2, o2::aod::fwdtrack::Chi2MatchMCHMID, o2::aod::fwdtrack::Chi2MatchMCHMFT, o2::aod::fwdtrack::MatchScoreMCHMFT, o2::aod::fwdtrack::MFTTrackId, o2::aod::fwdtrack::MCHTrackId, o2::aod::fwdtrack::MCHBitMap, o2::aod::fwdtrack::MIDBitMap, o2::aod::fwdtrack::MIDBoards, o2::aod::fwdtrack::TrackTime, o2::aod::fwdtrack::TrackTimeRes> >, o2::soa::Table<o2::aod::mcfwdtracklabel::McParticleId, o2::aod::mcfwdtracklabel::McMask>, o2::soa::Table<o2::aod::fwdtrack::FwdDcaX, o2::aod::fwdtrack::FwdDcaY> >, o2::aod::FwdTracksExtension, o2::soa::Table<o2::soa::Index<0, -1>, o2::aod::fwdtrack::CollisionId, o2::aod::fwdtrack::TrackType, o2::aod::fwdtrack::X, o2::aod::fwdtrack::Y, o2::aod::fwdtrack::Z, o2::aod::fwdtrack::Phi, o2::aod::fwdtrack::Tgl, o2::aod::fwdtrack::Signed1Pt, o2::aod::fwdtrack::NClusters, o2::aod::fwdtrack::PDca, o2::aod::fwdtrack::RAtAbsorberEnd, o2::aod::fwdtrack::Px<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Phi>, o2::aod::fwdtrack::Py<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Phi>, o2::aod::fwdtrack::Pz<o2::aod::fwdtrack::Pt, o2::aod::fwdtrack::Tgl>, o2::aod::fwdtrack::Sign<o2::aod::fwdtrack::Signed1Pt>, o2::aod::fwdtrack::Chi2, o2::aod::fwdtrack::Chi2MatchMCHMID, o2::aod::fwdtrack::Chi2MatchMCHMFT, o2::aod::fwdtrack::MatchScoreMCHMFT, o2::aod::fwdtrack::MFTTrackId, o2::aod::fwdtrack::MCHTrackId, o2::aod::fwdtrack::MCHBitMap, o2::aod::fwdtrack::MIDBitMap, o2::aod::fwdtrack::MIDBoards, o2::aod::fwdtrack::TrackTime, o2::aod::fwdtrack::TrackTimeRes>, o2::soa::Table<o2::aod::mcfwdtracklabel::McParticleId, o2::aod::mcfwdtracklabel::McMask>, o2::soa::Table<o2::aod::fwdtrack::FwdDcaX, o2::aod::fwdtrack::FwdDcaY> >::matchMFTTrack_as<<expression error> >() const'
/sw/SOURCES/O2Physics/5113-slc7_x86-64/0/PWGHF/HFL/Tasks/taskSingleMuonSource.cxx:252:51: error: template argument 1 is invalid
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/ASoA.h:170:26: error: 'decayed' {aka 'int'} is not a class, struct, or union type
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/ASoA.h:171:51: error: 'decayed' {aka 'int'} is not a class, struct, or union type
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:240:55: error: too many braces around scalar initializer for type 'int'
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/ASoA.h:1129:23: error: 'int' is not a class, struct, or union type
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:167:5: error: 'constexpr' call flows off the end of the function
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:117:50: error: static assertion failed: Could not find metadata. Did you register your type?
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:125:51: error: incomplete type 'metadata' {aka 'void'} used in nested name specifier
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:125:71: error: incomplete type 'metadata' {aka 'void'} used in nested name specifier
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:125:96: error: incomplete type 'metadata' {aka 'void'} used in nested name specifier
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:125:117: error: incomplete type 'metadata' {aka 'void'} used in nested name specifier
/sw/slc7_x86-64/O2/daily-20240312-0130-local1/include/Framework/AnalysisTask.h:125:117: error: no matching function for call to 'o2::framework::InputSpec::InputSpec(<brace-enclosed initializer list>)'
ninja: build stopped: subcommand failed.

Full log here.

@NicoleBastid NicoleBastid merged commit 3b59cec into AliceO2Group:master Mar 13, 2024
wuctlby pushed a commit to wuctlby/O2Physics that referenced this pull request Mar 17, 2024
…FL single muon source task (AliceO2Group#5113)

* Add the Number of Cluster in MFT information in the outputs

* Fix the clang-format

* Fix the compile
hahassan7 pushed a commit to hahassan7/O2Physics that referenced this pull request May 17, 2024
…FL single muon source task (AliceO2Group#5113)

* Add the Number of Cluster in MFT information in the outputs

* Fix the clang-format

* Fix the compile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants