Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions DPG/Tasks/AOTEvent/eventSelectionQa.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ struct EventSelectionQaTask {
ccdb->setCaching(true);
ccdb->setLocalObjectValidityChecking();

const AxisSpec axisMultV0M{1000, 0., isLowFlux ? 40000. : 40000., "V0M multiplicity"};
const AxisSpec axisMultV0M{1000, 0., 40000., "V0M multiplicity"};
const AxisSpec axisMultV0A{1000, 0., isLowFlux ? 40000. : 200000., "V0A multiplicity"};
const AxisSpec axisMultV0C{1000, 0., isLowFlux ? 30000. : 30000., "V0C multiplicity"};
const AxisSpec axisMultV0C{1000, 0., 30000., "V0C multiplicity"};
const AxisSpec axisMultT0A{1000, 0., isLowFlux ? 10000. : 200000., "T0A multiplicity"};
const AxisSpec axisMultT0C{1000, 0., isLowFlux ? 2000. : 70000., "T0C multiplicity"};
const AxisSpec axisMultT0M{1000, 0., isLowFlux ? 12000. : 270000., "T0M multiplicity"};
Expand Down Expand Up @@ -568,9 +568,7 @@ struct EventSelectionQaTask {
histos.fill(HIST("hV0C012vsTklCol"), nTracklets, multRingV0C012);

// filling plots for accepted events
bool accepted = 0;
accepted |= !isINT1period & col.sel7();
accepted |= isINT1period & sel1;
bool accepted = (!isINT1period && col.sel7()) || (isINT1period && sel1);
if (!accepted) {
continue;
}
Expand Down Expand Up @@ -786,13 +784,13 @@ struct EventSelectionQaTask {
const auto& bcPast = bcs.iteratorAt(bc.globalIndex() - deltaIndex);
deltaBC = globalBC - bcPast.globalBC();
if (deltaBC < maxDeltaBC) {
pastActivityFT0 |= bcPast.has_ft0();
pastActivityFV0 |= bcPast.has_fv0a();
pastActivityFDD |= bcPast.has_fdd();
pastActivityFT0 = pastActivityFT0 || bcPast.has_ft0();
pastActivityFV0 = pastActivityFV0 || bcPast.has_fv0a();
pastActivityFDD = pastActivityFDD || bcPast.has_fdd();
}
}

bool pastActivity = pastActivityFT0 | pastActivityFV0 | pastActivityFDD;
bool pastActivity = pastActivityFT0 || pastActivityFV0 || pastActivityFDD;

int localBC = bc.globalBC() % nBCsPerOrbit;
float timeV0A = bc.has_fv0a() ? bc.fv0a().time() : -999.f;
Expand Down