Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion PWGHF/TableProducer/candidateCreator2Prong.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,8 @@ struct HfCandidateCreator2ProngExpressions {
float zPvPosMax{1000.f};

// inspect for which zPvPosMax cut was set for reconstructed
void init(InitContext& initContext) {
void init(InitContext& initContext)
{
auto& workflows = initContext.services().get<RunningWorkflowInfo const>();
for (const DeviceSpec& device : workflows.devices) {
if (device.name.compare("hf-candidate-creator-2prong") == 0) {
Expand Down
3 changes: 2 additions & 1 deletion PWGHF/TableProducer/candidateCreatorCascade.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,8 @@ struct HfCandidateCreatorCascadeMc {
float zPvPosMax{1000.f};

// inspect for which zPvPosMax cut was set for reconstructed
void init(InitContext& initContext) {
void init(InitContext& initContext)
{
auto& workflows = initContext.services().get<RunningWorkflowInfo const>();
for (const DeviceSpec& device : workflows.devices) {
if (device.name.compare("hf-candidate-creator-cascade") == 0) {
Expand Down
3 changes: 2 additions & 1 deletion PWGHF/TableProducer/candidateCreatorDstar.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,8 @@ struct HfCandidateCreatorDstarExpressions {
float zPvPosMax{1000.f};

// inspect for which zPvPosMax cut was set for reconstructed
void init(InitContext& initContext) {
void init(InitContext& initContext)
{
auto& workflows = initContext.services().get<RunningWorkflowInfo const>();
for (const DeviceSpec& device : workflows.devices) {
if (device.name.compare("hf-candidate-creator-dstar") == 0) {
Expand Down
3 changes: 2 additions & 1 deletion PWGHF/TableProducer/candidateCreatorSigmac0plusplus.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ struct HfCandidateSigmac0plusplusMc {
float zPvPosMax{1000.f};

/// @brief init function
void init(InitContext& initContext) {
void init(InitContext& initContext)
{
auto& workflows = initContext.services().get<RunningWorkflowInfo const>();
for (const DeviceSpec& device : workflows.devices) {
if (device.name.compare("hf-candidate-creator-3prong") == 0) { // here we assume that the hf-candidate-creator-3prong is in the workflow
Expand Down