Skip to content
Open
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
28 changes: 28 additions & 0 deletions JobConfig/reco/OnSpillTrig.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#
# Reconstruct OnSpill events. This only reconstructs LoopHelices
#
#include "Production/JobConfig/reco/RecoTrig.fcl"
physics.RecoPath : [ @sequence::Reconstruction.OnSpillPath ]
physics.trigger_paths : [ @sequence::Trig_physMenu.trigger_paths, RecoPath ]

outputs: {
LoopHelixOutput : {
@table::Reconstruction.Output
SelectEvents : [ "RecoPath" ]
fileName: "rec.owner.description.version.sequencer.art"
}
}

# Disable LH filtering
physics.filters.LHFilter : {
module_type : FixedFilter
ReturnValue : true
}

physics.EndPath : [ LoopHelixOutput]
physics.end_paths : [ EndPath ]

#include "Production/JobConfig/reco/epilog.fcl"
#include "Production/JobConfig/common/epilog.fcl"
#include "mu2e-trig-config/core/trigDigiInputsEpilog.fcl"
#include "Production/JobConfig/reco/drop_trigger.fcl"
43 changes: 43 additions & 0 deletions JobConfig/reco/RecoTrig.fcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#
# Drop the trigger results and re-run the trigger in addition to standard reco
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There doen't seem to be any action associated with this comment: is it planned to add this functionality or is the comment out-of-date?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment was meant to give the intent of the fcl as a whole, rather than for a specific line.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed the #include of drop_trigger.
When re-processing early MDC2020 data dropping the trigger was required to avoid problems with evolved schema, but AFAIK that's not true today. Are there other technical reasons why the drop needs to be embedded in this script? If not, it could be mixed in at the final .fcl stage.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not positive if it's necessary, but the intent here was to produce a reco file with a single version of Online-configured reco instead of multiple versions.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this script be useful for comparing past/new triggers in a single job, event by event?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's possible, but I imagine you would need many input tag updates to not confuse the modules of which versions to select (e.g. TrigMakeSH --> TrigMakeSH:Reco).

#

# Reco includes
#include "Offline/fcl/minimalMessageService.fcl"
#include "Offline/fcl/standardServices.fcl"
#include "Production/JobConfig/reco/prolog.fcl"

# Trigger info, replacing the changes made in includes above
#include "mu2e-trig-config/core/trigProducers.fcl"
#include "mu2e-trig-config/core/trigFilters.fcl"
#include "mu2e-trig-config/core/trigRecoSequences.fcl"

BEGIN_PROLOG
# override the trigger digitization sequence (must be before trigSequences)
TrigRecoSequences.artFragmentsGen : []
END_PROLOG

#include "mu2e-trig-config/core/trigSequences.fcl"

#include "mu2e-trig-config/gen/trig_physMenuPSConfig_OnSpill.fcl"
#include "mu2e-trig-config/gen/trig_physMenu_OnSpill.fcl"
#
process_name: Reconstruct
source : { module_type : RootInput }
services : @local::Services.Reco
physics : {
producers : {
@table::TrigProducers.producers
@table::Reconstruction.producers
}
filters : {
@table::TrigFilters.filters
@table::Trig_physMenuPSConfig
@table::Reconstruction.filters
}
analyzers: @local::Reconstruction.analyzers
@table::TrigSequences
trigger_paths : [ @sequence::Trig_physMenu.trigger_paths ]
}
# the following is a placeholder
#include "Production/Validation/database.fcl"