FunTuple silently ignores ThOr in some cases
If I give the following list of functors to the Jpsi branch
PT_refit = F.MAP_INPUT(Functor=F.PT, Relations=DTFRelations),
variables_jpsi = FunctorCollection({
'THOR_PT': F.PT,
'LOKI_MAXPT': 'TRACK_MAX_PT',
'THOR_CHI2' : F.CHI2,
'DTF_PT': PT_refit
})
None get added to FunTuple. If I comment out DTF_PT, I get the three others ones added. FunTuple does not issue any warning of a problem adding DTF_PT. Instead the message block
DimuonsTuple INFO Conducting checks with LoKi
DimuonsTuple INFO Conducting checks with ThOr
DimuonsTuple INFO Setting the properties of ParticleTupleProp objects!
DimuonsTuple INFO Instatiating LoKi functors!
DimuonsTuple INFO Instatiating ThOr functors!
FunctorFactory INFO Cache miss for functor: ::Functors::Track::TransverseMomentum{}, now trying cling with headers [Event/Particle.h, Functors/TrackLike.h]
FunctorFactory INFO Cache miss for functor: ::Functors::Track::Chi2{}, now trying cling with headers [Event/Particle.h, Functors/TrackLike.h]
FunctorFactory INFO Cache miss for functor: ::Functors::Composite::Mass{}, now trying cling with headers [Event/Particle.h, Functors/Composite.h]
FunctorFactory INFO Cache miss for functor: ::Functors::Track::Momentum{}, now trying cling with headers [Event/Particle.h, Functors/TrackLike.h]
FunctorFactory INFO Reusing cling compiled factory for functor: ::Functors::Track::Momentum{}
FunctorFactory INFO Reusing cling compiled factory for functor: ::Functors::Composite::Mass{}
FunctorFactory INFO Reusing cling compiled factory for functor: ::Functors::Track::TransverseMomentum{}
FunctorFactory INFO Reusing cling compiled factory for functor: ::Functors::Composite::Mass{}
FunctorFactory INFO Reusing cling compiled factory for functor: ::Functors::Track::Momentum{}
FunctorFactory INFO Reusing cling compiled factory for functor: ::Functors::Track::TransverseMomentum{}
becomes
DimuonsTuple INFO Conducting checks with LoKi
DimuonsTuple INFO Setting the properties of ParticleTupleProp objects!
DimuonsTuple INFO Instatiating LoKi functors!
so ThOr is just ignored.
(BTW Instantiating
is mispelled).
This needs Rec!2504 (merged), Phys!970 (merged) and DaVinci!569 (merged) to test. I do
./run davinci run-mc --inputfiledb Upgrade_Bd2KstarMuMu_ldst Phys/DaVinci/options/DaVinciDB-Example.yaml --user_algorithms DaVinciExamples/python/DaVinciExamples/tupling/example-tupling-DTF-run-mc:main | tee log-DTF