Skip to content

Commit de312fd

Browse files
authored
Merge pull request #485 from michaelmackenzie/RecoTrigger
Add example fcl to run reco and trigger in one job
2 parents deee1ba + d8d65f1 commit de312fd

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed

JobConfig/reco/OnSpillTrig.fcl

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#
2+
# Reconstruct OnSpill events. This only reconstructs LoopHelices
3+
#
4+
#include "Production/JobConfig/reco/RecoTrig.fcl"
5+
physics.RecoPath : [ @sequence::Reconstruction.OnSpillPath ]
6+
physics.trigger_paths : [ @sequence::Trig_physMenu.trigger_paths, RecoPath ]
7+
8+
outputs: {
9+
LoopHelixOutput : {
10+
@table::Reconstruction.Output
11+
SelectEvents : [ "RecoPath" ]
12+
fileName: "rec.owner.description.version.sequencer.art"
13+
}
14+
}
15+
16+
# Disable LH filtering
17+
physics.filters.LHFilter : {
18+
module_type : FixedFilter
19+
ReturnValue : true
20+
}
21+
22+
physics.EndPath : [ LoopHelixOutput]
23+
physics.end_paths : [ EndPath ]
24+
25+
#include "Production/JobConfig/reco/epilog.fcl"
26+
#include "Production/JobConfig/common/epilog.fcl"
27+
#include "mu2e-trig-config/core/trigDigiInputsEpilog.fcl"
28+
#include "Production/JobConfig/reco/drop_trigger.fcl"

JobConfig/reco/RecoTrig.fcl

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#
2+
# Drop the trigger results and re-run the trigger in addition to standard reco
3+
#
4+
5+
# Reco includes
6+
#include "Offline/fcl/minimalMessageService.fcl"
7+
#include "Offline/fcl/standardServices.fcl"
8+
#include "Production/JobConfig/reco/prolog.fcl"
9+
10+
# Trigger info, replacing the changes made in includes above
11+
#include "mu2e-trig-config/core/trigProducers.fcl"
12+
#include "mu2e-trig-config/core/trigFilters.fcl"
13+
#include "mu2e-trig-config/core/trigRecoSequences.fcl"
14+
15+
BEGIN_PROLOG
16+
# override the trigger digitization sequence (must be before trigSequences)
17+
TrigRecoSequences.artFragmentsGen : []
18+
END_PROLOG
19+
20+
#include "mu2e-trig-config/core/trigSequences.fcl"
21+
22+
#include "mu2e-trig-config/gen/trig_physMenuPSConfig_OnSpill.fcl"
23+
#include "mu2e-trig-config/gen/trig_physMenu_OnSpill.fcl"
24+
#
25+
process_name: Reconstruct
26+
source : { module_type : RootInput }
27+
services : @local::Services.Reco
28+
physics : {
29+
producers : {
30+
@table::TrigProducers.producers
31+
@table::Reconstruction.producers
32+
}
33+
filters : {
34+
@table::TrigFilters.filters
35+
@table::Trig_physMenuPSConfig
36+
@table::Reconstruction.filters
37+
}
38+
analyzers: @local::Reconstruction.analyzers
39+
@table::TrigSequences
40+
trigger_paths : [ @sequence::Trig_physMenu.trigger_paths ]
41+
}
42+
# the following is a placeholder
43+
#include "Production/Validation/database.fcl"

0 commit comments

Comments
 (0)