ATLAS Offline Software
ITrigDecisionToolLite.icc
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "TrigAnalysisHelpers/FeatureRequestHelpers.h"
6 
7 namespace Trig {
8 
9  template<class CONTAINER>
10  std::vector<TrigCompositeUtils::LinkInfo<CONTAINER>> ITrigDecisionToolLite::features(const std::string& chain, const EventContext& ctx) const
11  {
12  return features<CONTAINER>(FeatureRequestDescriptor(chain), ctx);
13  }
14 
15  template<class CONTAINER>
16  std::vector<TrigCompositeUtils::LinkInfo<CONTAINER>> ITrigDecisionToolLite::features(const FeatureRequestDescriptor& frd, const EventContext& ctx) const
17  {
18  const CLID clid = ClassID_traits<CONTAINER>::ID();
19  const std::vector<TrigCompositeUtils::TypelessLinkInfo> features = typelessFeatures(frd, clid, ctx);
20  return FeatureRequestHelpers::typedFeaturesWrapper<CONTAINER>(features, ctx, getEventStore());
21  }
22 
23 } // namespace Trig