EventBoost.GaussianWidth += [
    0.01, 0.01, 56.0
]  # mm  x, y, z. Default taken from: Simulation/G4Sim/MCTruth/MCTruth/VertexPositioner.hh
EventBoost.GaussianMean += [0.0, 0.0, 0.0]  # mm  x, y, z
EventBoost.DoFlatVertexSmearing = False
EventBoost.FlatSmearingBoundaryMin += [-0.01, -0.01, -0.01]  #mm  x, y, z
EventBoost.FlatSmearingBoundaryMax += [0.01, 0.01, 0.01]  #mm  x, y, z
EventBoost.OutputLevel = 3

######### Streams & persistency #########
##################################################
# Setup output stream.                           #
##################################################
from AthenaPoolCnvSvc.WriteAthenaPool import AthenaPoolOutputStream
myOutStream = AthenaPoolOutputStream("myOutStream")
myOutStream.EvtConversionSvc = "AthenaPoolCnvSvc"
myOutStream.OutputFile = "boosted.pool.root"
myOutStream.ItemList += ["EventInfo#*", "McEventCollection#*"]
myOutStream.ForceRead = TRUE

##################################################
# Do consistency checks                          #
##################################################

#from TruthExamples.TruthExamplesConf import TestHepMC
#job += TestHepMC()
#job.TestHepMC.EnergyDifference = 0.001*GeV # tolerance on energy conservation
#job.TestHepMC.OutputLevel = WARNING

##################################################
# Make CBNT                                      #