ATLAS Offline Software
Static Public Member Functions | List of all members
Trig::FeatureAccessImpl::insert_and_flatten< T, CONT, true, LINK > Struct Template Reference

#include <FeatureCollectAthena.h>

Collaboration diagram for Trig::FeatureAccessImpl::insert_and_flatten< T, CONT, true, LINK >:

Static Public Member Functions

static void do_it (std::vector< Trig::Feature< T > > &destination, const CONT *source, const HLT::TriggerElement *te, const std::string &label, unsigned int condition, const HLT::NavigationCore *navigation, const LINK &)
 

Detailed Description

template<class T, class CONT, class LINK>
struct Trig::FeatureAccessImpl::insert_and_flatten< T, CONT, true, LINK >

Definition at line 167 of file FeatureCollectAthena.h.

Member Function Documentation

◆ do_it()

template<class T , class CONT , class LINK >
static void Trig::FeatureAccessImpl::insert_and_flatten< T, CONT, true, LINK >::do_it ( std::vector< Trig::Feature< T > > &  destination,
const CONT *  source,
const HLT::TriggerElement te,
const std::string &  label,
unsigned int  condition,
const HLT::NavigationCore navigation,
const LINK &   
)
inlinestatic

Definition at line 168 of file FeatureCollectAthena.h.

172  {
173  typedef const typename LINK::value_type* ptr_type;
174  static ptr_type get_ptr(const LINK& link){return link.cptr();}
175  static void do_it(const LINK& link, bool /*do_flatten*/){
176  //std::cout << "container at" << link.cptr() << " has size " << link.cptr()->size() << std::endl;
177  for(unsigned int j=0;j<link.cptr()->size();++j){
178  //std::cout << " ----element " << j << ": " << link.cptr()->at(j) << std::endl;
179  }
180  //std::cout << " .. flatten ? " << (do_flatten ? "yes" : "no") << std::endl;
181  }
182  };
183 
184  template<class LINK> struct print_features<LINK,false>{
185  typedef typename LINK::ElementType ptr_type;

The documentation for this struct was generated from the following file:
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39