27 if ( navigation->
getFeature(te, bits,
"passbits" ) ){
33 if ( bits &&
sz == bits->
size() )
43 if(navigation->
getFeature(te, flags,
label) && flags && flags->size()==size)
52 const std::vector<T>& (
LVL1_ROI::*method)()
const,
58 std::vector<Trig::Feature<TrigRoiDescriptor> > rois;
63 if ( !navigation || navigation->getAccessProxy()->retrieve(lvl1,
"LVL1_ROI").isFailure() || lvl1 == 0 ) {
68 for(
const T& specific : (lvl1->*(method))() ) {
69 if (specific.getROIWord() == roi.cptr()->roiWord()) {
92 template<
typename ROI,
typename ROICONTAINER>
99 std::vector<Trig::Feature<TrigRoiDescriptor> > rois;
103 const ROICONTAINER* cont;
104 if (!navigation || navigation->getAccessProxy()->retrieve(cont,sgkey).isFailure()) {
113 typename ROICONTAINER::const_iterator emtauit;
115 for(
const auto& it : rois){
116 for(emtauit=cont->begin();emtauit!=cont->end();++emtauit){
117 if((*emtauit)->roiWord() == it.cptr()->roiWord()){
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
char data[hepevt_bytes_allocation_ATLAS]
The NavigationCore class, adds on top of the TrigNavStructure the EDM read-only handling.
bool getFeature(const TriggerElement *te, const T *&features, const std::string &label="", std::string &sourcelabel=::HLT::TrigNavStructure::m_unspecifiedLabel) const
TriggerElement is the basic ingreedient of the interface between HLT algorithms and the navigation It...
Top level AOD object storing LVL1 RoIs.
const emtaus_type & getEmTauROIs() const
Get all the em/tau RoIs in the event.
const muons_type & getMuonROIs() const
Get all the muon RoIs in the event.
const jets_type & getJetROIs() const
Get all the jet RoIs in the event.
unsigned int size() const
gets size of the bits array
A Flag is an ordered collection of bits (vector<bool>) that can hold additional (boolean) information...
is basic vehicle of object access in TDT
std::string label(const std::string &format, int i)
This is the implementation of the Feature collection for Athena.
void collect< xAOD::EmTauRoI >(const HLT::TriggerElement *te, std::vector< Trig::Feature< xAOD::EmTauRoI > > &data, const std::string &, unsigned int condition, const std::string &, const HLT::TrigNavStructure *navigation)
void collect< EmTau_ROI >(const HLT::TriggerElement *te, std::vector< Trig::Feature< EmTau_ROI > > &data, const std::string &, unsigned int condition, const std::string &, const HLT::TrigNavStructure *navigation)
void collect(const HLT::TriggerElement *te, std::vector< Trig::Feature< T > > &data, const std::string &label, unsigned int condition, const std::string &teName, const HLT::TrigNavStructure *navstructure)
actual feature acceess implementation It has (thanks to the ClassTraits) functionality to flatten con...
void l1collect(const HLT::TriggerElement *te, std::vector< Trig::Feature< T > > &data, unsigned int condition, const std::vector< T > &(LVL1_ROI::*method)() const, const HLT::TrigNavStructure *navstructure)
void collect< Jet_ROI >(const HLT::TriggerElement *te, std::vector< Trig::Feature< Jet_ROI > > &data, const std::string &, unsigned int condition, const std::string &, const HLT::TrigNavStructure *navigation)
void collect< xAOD::MuonRoI >(const HLT::TriggerElement *te, std::vector< Trig::Feature< xAOD::MuonRoI > > &data, const std::string &, unsigned int condition, const std::string &, const HLT::TrigNavStructure *navigation)
const TrigPassFlags * getFlags(size_t size, const HLT::TriggerElement *te, const std::string &label, const HLT::NavigationCore *navigation)
void collect< xAOD::JetRoI >(const HLT::TriggerElement *te, std::vector< Trig::Feature< xAOD::JetRoI > > &data, const std::string &, unsigned int condition, const std::string &, const HLT::TrigNavStructure *navigation)
const TrigPassBits * getBits(size_t sz, const HLT::TriggerElement *te, const std::string &, const HLT::NavigationCore *navigation)
void xAODcollect(const HLT::TriggerElement *te, std::vector< Trig::Feature< ROI > > &data, unsigned int condition, const HLT::TrigNavStructure *navstructure, const std::string &sgkey)
void collect< Muon_ROI >(const HLT::TriggerElement *te, std::vector< Trig::Feature< Muon_ROI > > &data, const std::string &, unsigned int condition, const std::string &, const HLT::TrigNavStructure *navigation)
The common trigger namespace for trigger analysis tools.