Scripts and fcl for collaboration production procedures
The reco fcls in JobConfig/reco and JobConfig/recoMC use the Run 1A (reduced tracker) settings, and Offline uses the Run 1A tracker conditions by default. To reconstruct a sample digitized with the nominal tracker, which includes the productions made before these defaults changed, include JobConfig/reco/run2_epilog.fcl after the reco fcl:
#include "Production/JobConfig/recoMC/OnSpill.fcl"
#include "Production/JobConfig/reco/run2_epilog.fcl"
This restores both the nominal reco settings and the nominal tracker conditions (Offline/TrackerConditions/fcl/run2conditions_epilog.fcl).
To digitize or mix a sample with the nominal tracker, include JobConfig/digitize/run2_epilog.fcl after the digitize or mixing fcl:
#include "Production/JobConfig/digitize/OnSpill.fcl"
#include "Production/JobConfig/digitize/run2_epilog.fcl"
The split cosmic stage 2 (JobConfig/cosmic/S2ResamplerSplitMain.fcl, S2ResamplerSplitMuDIF.fcl, then S2FamilySplitMain.fcl, S2FamilySplitMuDIF.fcl) gives a CosmicSignal dataset in which each event carries an EventWeight with label FamilySplit (EventNtuple evtwt). Using such a sample:
- Weight every event by
FamilySplit, and normalize with the SubRunCosmicLivetime, which is the livetime of the input. Event counts,GenEventCount,StageNormalizationand the event-levelCosmicLivetimecount input events, not the weighted output events. - Some weights are negative (an input event whose split families add up to more than 1). Keep them and add them like the others; dropping them biases the result.
- Add the main and the muon-decay (MuDIF) streams, each normalized to its own livetime.
- Every event keeps the whole SimParticle collection of its input event, also the particles of the families written to other events. Only the detector steps and trajectories are split. Digitization keeps only the SimParticles its steps point to, so this matters only for truth-level work on the split files themselves.