Skip to content

Commit ab167a4

Browse files
committed
Minor updates
1 parent ef3180b commit ab167a4

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

PWGUD/Core/decayTree.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ class decayTree
508508

509509
// loop over possible combinations
510510
LOGF(debug, "New event");
511-
for (const auto& comb : combs) {
511+
for (auto& comb : combs) {
512512
std::string scomb("");
513513
for (const auto& i : comb) {
514514
scomb.append(" ").append(std::to_string(i));
@@ -824,7 +824,7 @@ class decayTree
824824
} else {
825825
// is a resonance
826826
// loop over daughters
827-
for (const auto daughName : res->getDaughters()) {
827+
for (const auto& daughName : res->getDaughters()) {
828828
auto daugh = getResonance(daughName);
829829
computeResonance(daugh, tracks, comb);
830830
ivm += daugh->IVM();

PWGUD/Tasks/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ o2physics_add_dpl_workflow(tautau13topo
123123
SOURCES upcTauTau13topo.cxx
124124
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::DGPIDSelector
125125
COMPONENT_NAME Analysis)
126+
126127
o2physics_add_dpl_workflow(upc-tau-rl
127128
SOURCES upcTauCentralBarrelRL.cxx
128129
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2::ReconstructionDataFormats O2::DetectorsBase O2::DetectorsCommonDataFormats
@@ -216,4 +217,9 @@ o2physics_add_dpl_workflow(event-by-event
216217
o2physics_add_dpl_workflow(exclusive-rho-to-four-pi
217218
SOURCES exclusiveRhoTo4Pi.cxx
218219
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::DGPIDSelector
219-
COMPONENT_NAME Analysis)
220+
COMPONENT_NAME Analysis)
221+
222+
o2physics_add_dpl_workflow(decaytree-analyzer
223+
SOURCES decayTreeAnalyzer.cxx
224+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::UDGoodRunSelector O2Physics::decayTree
225+
COMPONENT_NAME Analysis)

PWGUD/Tasks/decayTreeAnalyzer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct decayTreeAnalyzer {
5050
"registry",
5151
{}};
5252

53-
void init(InitContext& context)
53+
void init(InitContext&)
5454
{
5555
// goodRun selector
5656
grsel.init(goodRunsFile);

PWGUD/Tasks/dgCandAnalyzer.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,6 @@ struct DGCandAnalyzer {
277277
registry.fill(HIST("FIT/FDDCAmplitude"), dgcand.totalFDDAmplitudeC(), 1.);
278278

279279
// skip events with too few/many tracks
280-
// Partition<UDTracksFull> PVContributors = aod::udtrack::isPVContributor == true;
281-
// PVContributors.bindTable(dgtracks);
282280
if (dgcand.numContrib() != PVContributors.size()) {
283281
LOGF(info, "Missmatch of PVContributors %d != %d", dgcand.numContrib(), PVContributors.size());
284282
}

0 commit comments

Comments
 (0)