Skip to content

Add StrippingData and TurboData selections

Michael Thomas Alexander requested to merge malexand-strippingdata into run2-patches

Add StrippingData and TurboData selection classes to retrieve particles from the output of Stripping/Turbo lines, which can be used as input to, eg, TupleSelection. They're simply derived from AutomaticData and set the particle location, but also add a StrippingSelection or Hlt2Selection pre-filter to check that the requested line has fired before retrieving the particles. For full DST Stripping data, the stream name must be passed to StrippingData as well as the line name. Eg,

b2hhdata = StrippingData('StrippingB2HHBDTLine')
dimuondata = StrippingData('StrippingFullDSTDiMuonJpsi2MuMuDetachedLine', 'Dimuon')

or

turbodata = TurboData('Hlt2CharmHadLcpToPpKmPipTurbo')

I also fixed a bug in TriggerSelection where the DecReports location was set incorrectly for Stripping data.

Merge request reports