But when I include this to declare selMC_leg I am still getting a message stating that the code ‘failed to get attribute dummyLoaderFlavour from ROOT’. Is there any known fix for this?
The original idea was that the code that is of common usage would go into FCCAnalysis, while code that is more analysis specific would go into FCCeePhysicsPerformance (under “flavour”, in that case).
Instructions to compile FCCeePhysicsPerformance against FCCAnalyses were given in
although I do not know if they still work. Once you have compiled and have your “flavour” library, you should be able to load it as you indicated:
I decided to use your schema for calculating deltaR that you described in a prior post. If I wanted to do the same thing and find the deltaR in the reconstructed case rather than gen level particles, is there a similar way to find the deltaR of the reconstructed muons that pass the resonanceBuilder argument?
If I wanted to do the same thing and find the deltaR in the reconstructed case rather than gen level particles, is there a similar way to find the deltaR of the reconstructed muons that pass the resonanceBuilder argument?
So, this refers actually to another post that is one year old.
You should be able to use similar commands for RecoParticles. Make use of ReconstructedParticle::sel_charge to select mu+ and mu- from your initial collection of muons, and of ReconstructedParticle::get_tlv to retrieve the 4-vectors. But as in the case of MC particles, to deal with the potential combinatorics, you better do it in some C++ code.