Skip to content

continue within @tasks #95

Open
Open
@Moelf

Description

I think this should be fine, but I guess the @tasks transformation made the Julia parsers unhappy:

function main(tree)
    btag_distribution = Hist1D(; bins = -2:100:2)
    @tasks for evt in tree
        @set scheduler=:static
        if !(evt.trigPassed_HLT_g35_tight_3j25_pf_ftf_PhysicsTLA_L1EM22VHI)
            continue
        end
        btag_score = D_b(evt)
        push!(btag_distribution, btag_score)
    end
end

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions