SpruceQEE_WGammaToEPhoton sprucing line causes ERROR

Original issue and commentary

Running the Sprucing lines over 2022 data gives the following ERROR

251 - TwoBodyCombiner#43.ParticleVerte...   ERROR ParticleVertexFitter didn't properly initialize:  #tracks with velo: 1 #tracks without velo: 0 #composites: 0 #resonances: 0

This TwoBodyCombiner#43 is part of the line SpruceQEE_WGammaToEPhoton

     LAZY_AND: SpruceQEE_WGammaToEPhoton                                                                         #=415     Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
      DeterministicPrescaler/DeterministicPrescaler#366                                                          #=415     Sum=415         Eff=|( 100.0000 +- 0.00000 )%|
      HltPackedBufferDecoder/HltPackedBufferDecoder                                                              #=415     Sum=415         Eff=|( 100.0000 +- 0.00000 )%|
      TrackUnpacker/TrackUnpacker                                                                                #=415     Sum=415         Eff=|( 100.0000 +- 0.00000 )%|
      TrackUnpacker/TrackUnpacker#1                                                                              #=415     Sum=415         Eff=|( 100.0000 +- 0.00000 )%|
      RichPIDUnpacker/RichPIDUnpacker                                                                            #=415     Sum=415         Eff=|( 100.0000 +- 0.00000 )%|
      MuonPIDUnpacker/MuonPIDUnpacker                                                                            #=415     Sum=415         Eff=|( 100.0000 +- 0.00000 )%|
      CaloHypoUnpacker/CaloHypoUnpacker                                                                          #=415     Sum=415         Eff=|( 100.0000 +- 0.00000 )%|
      CaloHypoUnpacker/CaloHypoUnpacker#1                                                                        #=415     Sum=415         Eff=|( 100.0000 +- 0.00000 )%|
      CaloHypoUnpacker/CaloHypoUnpacker#2                                                                        #=415     Sum=415         Eff=|( 100.0000 +- 0.00000 )%|
      CaloHypoUnpacker/CaloHypoUnpacker#3                                                                        #=415     Sum=415         Eff=|( 100.0000 +- 0.00000 )%|
      RecVertexUnpacker/RecVertexUnpacker                                                                        #=415     Sum=415         Eff=|( 100.0000 +- 0.00000 )%|
      ProtoParticleUnpacker/ProtoParticleUnpacker                                                                #=415     Sum=415         Eff=|( 100.0000 +- 0.00000 )%|
      ProtoParticleUnpacker/ProtoParticleUnpacker#1                                                              #=415     Sum=415         Eff=|( 100.0000 +- 0.00000 )%|
      RecSummaryUnpacker/RecSummaryUnpacker                                                                      #=415     Sum=415         Eff=|( 100.0000 +- 0.00000 )%|
      TwoBodyCombiner/TwoBodyCombiner#43                                                                         #=415     Sum=0           Eff=|( 0.000000 +- 0.00000 )%|
      Monitor__ParticleRange/Monitor_SpruceQEE_WGammaToEPhoton_pt                                                #=0       Sum=0           Eff=|(-100.0000 +- -100.000)%|

For now this line will be removed from the set of Sprucing lines running over 2022 data. This is achieved by the line

linedict["qee"].pop("SpruceQEE_WGammaToEPhoton")

in the excl_spruce_production function in Hlt/Hlt2Conf/python/Hlt2Conf/Sprucing_production.py

For solving this issue you can use the qmt test

make fast/Moore/test ARGS='-R Hlt2Conf.sprucing.test_excl_spruce_2022_data'

and simply comment out the line that pops "SpruceQEE_WGammaToEPhoton".

Once ready we can reintroduce the line in master

Please let me know if you need any help running :)

Edited by Nicole Skidmore