Skip to content

Error when simulating CPP data with BeamProperty Config #343

@alfab3

Description

@alfab3

When running MCWrapper there is an issue when the option for beamconfig:

define beamconfig TEMPBEAMCONFIG

MCWrapper crashes with this error:

BeamProperties: Parsing config file gen_2pi_primakoff_101582_000_beam.conf
BeamProperties: Using flux from CCDB run 101582
Using CCDB variation = mc
terminate called after throwing an instance of 'std::runtime_error'
  what():  Error: (1270) in 'MySQLDataProvider::GetAssignmentShort(int, const string&, time_t, const string&)' : 'Error fetching assignment'
Abort (core dumped)

It seems as though the luminosity is not entered into the database yet:
PHOTON_BEAM/pair_spectrometer/lumi/tagh/untagged
PHOTON_BEAM/pair_spectrometer/lumi/tagm/untagged

Commenting out the beamconfig line fixes issue for now, but I think we need this entered into the database which I am unsure of how to do

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions