ATLAS Offline Software
Loading...
Searching...
No Matches
Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST > Struct Template Reference

#include <FeatureCollectAthena.h>

Collaboration diagram for Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >:

Public Member Functions

 get_links ()
 get_links (const HLT::TriggerElement *te, std::vector< Trig::Feature< REQUESTED > > *data, const std::string &label, unsigned int condition, const std::string &teName, const HLT::NavigationCore *navigation, bool *result, const HLT::TriggerElement **sourceTE)
template<class FEATURE>
void do_it ()
template<class FEATURE, bool do_flatten>
void _do_it (false_type dummy=false_type())
template<class FEATURE, bool do_flatten>
void _do_it (true_type=true_type())

Public Attributes

const HLT::TriggerElementm_te
std::vector< Trig::Feature< REQUESTED > > * m_data
const std::string m_label
unsigned int m_condition
std::string m_teName
const HLT::NavigationCorem_navigation
bool * m_result
const HLT::TriggerElement ** m_sourceTE

Detailed Description

template<class REQUESTED, class EDMLIST>
struct Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >

Definition at line 200 of file FeatureCollectAthena.h.

Constructor & Destructor Documentation

◆ get_links() [1/2]

template<class REQUESTED, class EDMLIST>
Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >::get_links ( )
inline

Definition at line 201 of file FeatureCollectAthena.h.

201 :m_te(nullptr),
202 m_data(nullptr),
203 m_condition(0),
204 m_navigation(nullptr),
205 m_result(),
206 m_sourceTE(0)
207 {}//empty ctor but need to initialize reference member

◆ get_links() [2/2]

template<class REQUESTED, class EDMLIST>
Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >::get_links ( const HLT::TriggerElement * te,
std::vector< Trig::Feature< REQUESTED > > * data,
const std::string & label,
unsigned int condition,
const std::string & teName,
const HLT::NavigationCore * navigation,
bool * result,
const HLT::TriggerElement ** sourceTE )
inline

Member Function Documentation

◆ _do_it() [1/2]

template<class REQUESTED, class EDMLIST>
template<class FEATURE, bool do_flatten>
void Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >::_do_it ( false_type dummy = false_type())
inline

Definition at line 234 of file FeatureCollectAthena.h.

234{(void)dummy;/* do nothing */;}

◆ _do_it() [2/2]

template<class REQUESTED, class EDMLIST>
template<class FEATURE, bool do_flatten>
void Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >::_do_it ( true_type = true_type())
inline

Definition at line 237 of file FeatureCollectAthena.h.

237 {
238
239 //const HLT::TriggerElement* sourceTE(0);
241
243 //typedef typename Features2Object<FEATURE,EDMLIST>::type object_type;
245
246 //std::cout << "TrigDecisionTool::Feature::get_links: link_type is: " << typeid(link_type).name() << std::endl;
247
248
249
251 bool new_result = m_navigation->getRecentFeatureDataOrElementLink( m_te, link, m_label, *m_sourceTE, sourceLabel );
252
253 if (new_result) {
254 if (m_teName == "" || m_teName == Trig::getTEName(**m_sourceTE)) {
255 if (link.cptr()) {
256 //std::cout << "TrigDecisionTool::Feature::get_links: actually we got a feature here" << std::endl;
260 }
261 }
262 }
264 }

◆ do_it()

template<class REQUESTED, class EDMLIST>
template<class FEATURE>
void Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >::do_it ( )
inline

Definition at line 219 of file FeatureCollectAthena.h.

219 {
220 //std::cout << "TrigDecisionTool::Feature::get_links: getting links from navi for element in feature list: " << ClassID_traits<FEATURE>::typeName() << std::endl;
221 //std::cout << "TrigDecisionTool::Feature::get_links: type originally requested is: " << ClassID_traits<REQUESTED>::typeName() << std::endl;
222
225
228 // std::cout << "flatten? (case when requested type is element of feature type) : " << (do_flatten ? "yes" : "no") << std::endl;
229 // std::cout << "retrieve? (don't retrueve when requested type in container but stored type is element): " << (do_retrieve ? "yes" : "no") << std::endl;
231 }

Member Data Documentation

◆ m_condition

template<class REQUESTED, class EDMLIST>
unsigned int Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >::m_condition

Definition at line 269 of file FeatureCollectAthena.h.

◆ m_data

template<class REQUESTED, class EDMLIST>
std::vector<Trig::Feature<REQUESTED> >* Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >::m_data

Definition at line 267 of file FeatureCollectAthena.h.

◆ m_label

template<class REQUESTED, class EDMLIST>
const std::string Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >::m_label

Definition at line 268 of file FeatureCollectAthena.h.

◆ m_navigation

template<class REQUESTED, class EDMLIST>
const HLT::NavigationCore* Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >::m_navigation

Definition at line 271 of file FeatureCollectAthena.h.

◆ m_result

template<class REQUESTED, class EDMLIST>
bool* Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >::m_result

Definition at line 272 of file FeatureCollectAthena.h.

◆ m_sourceTE

template<class REQUESTED, class EDMLIST>
const HLT::TriggerElement** Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >::m_sourceTE

Definition at line 273 of file FeatureCollectAthena.h.

◆ m_te

template<class REQUESTED, class EDMLIST>
const HLT::TriggerElement* Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >::m_te

Definition at line 266 of file FeatureCollectAthena.h.

◆ m_teName

template<class REQUESTED, class EDMLIST>
std::string Trig::FeatureAccessImpl::get_links< REQUESTED, EDMLIST >::m_teName

Definition at line 270 of file FeatureCollectAthena.h.


The documentation for this struct was generated from the following file: