Skip to content
Snippets Groups Projects
Commit fa12c24b authored by Debottam Bakshi Gupta's avatar Debottam Bakshi Gupta
Browse files

making DielectronMassHypoTool inclusive

parent ec5a58b7
No related branches found
No related tags found
No related merge requests found
......@@ -48,10 +48,10 @@ StatusCode TrigEgammaDielectronMassHypoTool::initialize()
bool TrigEgammaDielectronMassHypoTool::executeAlg(std::vector<LegDecision> &combination) const {
//retrieve the electrons
std::vector<ElementLink<xAOD::ElectronContainer>> selected_electrons;
std::vector<ElementLink<xAOD::IParticleContainer>> selected_electrons;
for (auto el: combination){
auto EL= el.second;
auto electronLink = TrigCompositeUtils::findLink<xAOD::ElectronContainer>( *EL, featureString() ).link;
auto electronLink = TrigCompositeUtils::findLink<xAOD::IParticleContainer>( *EL, featureString() ).link;
selected_electrons.push_back(electronLink);
}
auto electronLink1=selected_electrons[0];
......
......@@ -29,6 +29,7 @@
#include "xAODTracking/TrackParticleContainer.h"
#include "xAODTrigEgamma/TrigElectron.h"
#include "xAODEgamma/ElectronContainer.h"
#include "xAODBase/IParticleContainer.h"
#include "TrigCompositeUtils/HLTIdentifier.h"
#include "TrigCompositeUtils/TrigCompositeUtils.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment