#include <TriggerEventWithRefs.h>
Classes | |
class | TriggerFilterObject |
Helper class: trigger objects firing a single filter. More... | |
Public Member Functions | |
void | addFilterObject (const edm::InputTag &filterTag, const TriggerFilterObjectWithRefs &tfowr) |
setters - to build EDProduct | |
std::pair< size_type, size_type > | basemetSlice (size_type filter) const |
std::pair< size_type, size_type > | calometSlice (size_type filter) const |
std::pair< size_type, size_type > | compositeSlice (size_type filter) const |
std::pair< size_type, size_type > | electronSlice (size_type filter) const |
size_type | filterIndex (const edm::InputTag &filterTag) const |
index from tag | |
const edm::InputTag | filterTag (size_type filterIndex) const |
tag from index | |
void | getObjects (size_type filter, Vids &ids, VRl1etmiss &l1etmiss) const |
void | getObjects (size_type filter, Vids &ids, VRl1muon &l1muon) const |
void | getObjects (size_type filter, int id, VRbasemet &basemets) const |
void | getObjects (size_type filter, Vids &ids, VRcalomet &calomets) const |
void | getObjects (size_type filter, int id, VRcalomet &calomets) const |
void | getObjects (size_type filter, Vids &ids, VRpixtrack &pixtracks) const |
void | getObjects (size_type filter, int id, VRpixtrack &pixtracks) const |
void | getObjects (size_type filter, Vids &ids, VRl1em &l1em) const |
void | getObjects (size_type filter, int id, VRl1em &l1em) const |
void | getObjects (size_type filter, Vids &ids, VRbasemet &basemets) const |
void | getObjects (size_type filter, Vids &ids, VRphoton &photons) const |
extract Ref<C>s for a specific filter and of specific physics type | |
void | getObjects (size_type filter, Vids &ids, VRcomposite &composites) const |
void | getObjects (size_type filter, int id, VRl1muon &l1muon) const |
void | getObjects (size_type filter, Vids &ids, VRjet &jets) const |
void | getObjects (size_type filter, int id, VRmuon &muons) const |
void | getObjects (size_type filter, Vids &ids, VRl1jet &l1jet) const |
void | getObjects (size_type filter, int id, VRl1jet &l1jet) const |
void | getObjects (size_type filter, int id, VRphoton &photons) const |
void | getObjects (size_type filter, int id, VRl1etmiss &l1etmiss) const |
void | getObjects (size_type filter, Vids &ids, VRelectron &electrons) const |
void | getObjects (size_type filter, int id, VRelectron &electrons) const |
void | getObjects (size_type filter, Vids &ids, VRmuon &muons) const |
void | getObjects (size_type filter, Vids &ids, VRl1hfrings &l1hfrings) const |
void | getObjects (size_type filter, int id, VRl1hfrings &l1hfrings) const |
void | getObjects (size_type filter, int id, VRjet &jets) const |
void | getObjects (size_type filter, int id, VRcomposite &composites) const |
std::pair< size_type, size_type > | jetSlice (size_type filter) const |
std::pair< size_type, size_type > | l1emSlice (size_type filter) const |
std::pair< size_type, size_type > | l1etmissSlice (size_type filter) const |
std::pair< size_type, size_type > | l1hfringsSlice (size_type filter) const |
std::pair< size_type, size_type > | l1jetSlice (size_type filter) const |
std::pair< size_type, size_type > | l1muonSlice (size_type filter) const |
std::pair< size_type, size_type > | muonSlice (size_type filter) const |
std::pair< size_type, size_type > | photonSlice (size_type filter) const |
slices of objects for a specific filter: [begin,end[ | |
std::pair< size_type, size_type > | pixtrackSlice (size_type filter) const |
size_type | size () const |
number of filters | |
TriggerEventWithRefs () | |
methods | |
TriggerEventWithRefs (const std::string &usedProcessName, size_type n) | |
const std::string & | usedProcessName () const |
getters - for user access | |
Private Attributes | |
std::vector< TriggerFilterObject > | filterObjects_ |
the filters recorded here | |
std::string | usedProcessName_ |
data members |
The single EDProduct to be saved in addition for each event
The single EDProduct to be saved for events (RAW case) describing the details of the (HLT) trigger table
Definition at line 30 of file TriggerEventWithRefs.h.
trigger::TriggerEventWithRefs::TriggerEventWithRefs | ( | ) | [inline] |
methods
constructors
Definition at line 78 of file TriggerEventWithRefs.h.
: TriggerRefsCollections(), usedProcessName_(), filterObjects_() { }
trigger::TriggerEventWithRefs::TriggerEventWithRefs | ( | const std::string & | usedProcessName, |
size_type | n | ||
) | [inline] |
Definition at line 79 of file TriggerEventWithRefs.h.
References filterObjects_.
: TriggerRefsCollections(), usedProcessName_(usedProcessName), filterObjects_() { filterObjects_.reserve(n); }
void trigger::TriggerEventWithRefs::addFilterObject | ( | const edm::InputTag & | filterTag, |
const TriggerFilterObjectWithRefs & | tfowr | ||
) | [inline] |
setters - to build EDProduct
Definition at line 88 of file TriggerEventWithRefs.h.
References trigger::TriggerRefsCollections::addObjects(), trigger::TriggerRefsCollections::basemetIds(), trigger::TriggerRefsCollections::basemetRefs(), trigger::TriggerRefsCollections::calometIds(), trigger::TriggerRefsCollections::calometRefs(), trigger::TriggerRefsCollections::compositeIds(), trigger::TriggerRefsCollections::compositeRefs(), trigger::TriggerRefsCollections::electronIds(), trigger::TriggerRefsCollections::electronRefs(), filterObjects_, trigger::TriggerRefsCollections::jetIds(), trigger::TriggerRefsCollections::jetRefs(), trigger::TriggerRefsCollections::l1emIds(), trigger::TriggerRefsCollections::l1emRefs(), trigger::TriggerRefsCollections::l1etmissIds(), trigger::TriggerRefsCollections::l1etmissRefs(), trigger::TriggerRefsCollections::l1hfringsIds(), trigger::TriggerRefsCollections::l1hfringsRefs(), trigger::TriggerRefsCollections::l1jetIds(), trigger::TriggerRefsCollections::l1jetRefs(), trigger::TriggerRefsCollections::l1muonIds(), trigger::TriggerRefsCollections::l1muonRefs(), trigger::TriggerRefsCollections::muonIds(), trigger::TriggerRefsCollections::muonRefs(), trigger::TriggerRefsCollections::photonIds(), trigger::TriggerRefsCollections::photonRefs(), trigger::TriggerRefsCollections::pixtrackIds(), and trigger::TriggerRefsCollections::pixtrackRefs().
{ filterObjects_.push_back( TriggerFilterObject(filterTag, addObjects(tfowr.photonIds(),tfowr.photonRefs()), addObjects(tfowr.electronIds(),tfowr.electronRefs()), addObjects(tfowr.muonIds(),tfowr.muonRefs()), addObjects(tfowr.jetIds(),tfowr.jetRefs()), addObjects(tfowr.compositeIds(),tfowr.compositeRefs()), addObjects(tfowr.basemetIds(),tfowr.basemetRefs()), addObjects(tfowr.calometIds(),tfowr.calometRefs()), addObjects(tfowr.pixtrackIds(),tfowr.pixtrackRefs()), addObjects(tfowr.l1emIds(),tfowr.l1emRefs()), addObjects(tfowr.l1muonIds(),tfowr.l1muonRefs()), addObjects(tfowr.l1jetIds(),tfowr.l1jetRefs()), addObjects(tfowr.l1etmissIds(),tfowr.l1etmissRefs()), addObjects(tfowr.l1hfringsIds(),tfowr.l1hfringsRefs()) ) ); }
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::basemetSlice | ( | size_type | filter | ) | const [inline] |
Definition at line 161 of file TriggerEventWithRefs.h.
References begin, end, and filterObjects_.
Referenced by getObjects().
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::calometSlice | ( | size_type | filter | ) | const [inline] |
Definition at line 167 of file TriggerEventWithRefs.h.
References begin, end, and filterObjects_.
Referenced by getObjects().
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::compositeSlice | ( | size_type | filter | ) | const [inline] |
Definition at line 155 of file TriggerEventWithRefs.h.
References begin, end, and filterObjects_.
Referenced by getObjects().
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::electronSlice | ( | size_type | filter | ) | const [inline] |
Definition at line 137 of file TriggerEventWithRefs.h.
References begin, end, and filterObjects_.
Referenced by getObjects().
size_type trigger::TriggerEventWithRefs::filterIndex | ( | const edm::InputTag & | filterTag | ) | const [inline] |
index from tag
Definition at line 120 of file TriggerEventWithRefs.h.
References edm::InputTag::encode(), filterObjects_, i, and n.
const edm::InputTag trigger::TriggerEventWithRefs::filterTag | ( | size_type | filterIndex | ) | const [inline] |
tag from index
Definition at line 115 of file TriggerEventWithRefs.h.
References filterObjects_.
{ return edm::InputTag(filterObjects_.at(filterIndex).filterTag_); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
Vids & | ids, | ||
VRl1jet & | l1jet | ||
) | const [inline] |
Definition at line 322 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), l1jetSlice(), and edm::second().
{ const size_type begin(l1jetSlice(filter).first); const size_type end(l1jetSlice(filter).second); TriggerRefsCollections::getObjects(ids,l1jet,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
Vids & | ids, | ||
VRphoton & | photons | ||
) | const [inline] |
extract Ref<C>s for a specific filter and of specific physics type
Definition at line 212 of file TriggerEventWithRefs.h.
References begin, end, first, photonSlice(), and edm::second().
Referenced by HLTTauDQMPathPlotter::getFilterCollection(), and getObjects().
{ const size_type begin(photonSlice(filter).first); const size_type end(photonSlice(filter).second); TriggerRefsCollections::getObjects(ids,photons,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
int | id, | ||
VRcalomet & | calomets | ||
) | const [inline] |
Definition at line 283 of file TriggerEventWithRefs.h.
References begin, calometSlice(), end, first, getObjects(), and edm::second().
{ const size_type begin(calometSlice(filter).first); const size_type end(calometSlice(filter).second); TriggerRefsCollections::getObjects(id,calomets,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
Vids & | ids, | ||
VRpixtrack & | pixtracks | ||
) | const [inline] |
Definition at line 289 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), pixtrackSlice(), and edm::second().
{ const size_type begin(pixtrackSlice(filter).first); const size_type end(pixtrackSlice(filter).second); TriggerRefsCollections::getObjects(ids,pixtracks,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
int | id, | ||
VRpixtrack & | pixtracks | ||
) | const [inline] |
Definition at line 294 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), pixtrackSlice(), and edm::second().
{ const size_type begin(pixtrackSlice(filter).first); const size_type end(pixtrackSlice(filter).second); TriggerRefsCollections::getObjects(id,pixtracks,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
Vids & | ids, | ||
VRl1em & | l1em | ||
) | const [inline] |
Definition at line 300 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), l1emSlice(), and edm::second().
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
int | id, | ||
VRl1em & | l1em | ||
) | const [inline] |
Definition at line 305 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), l1emSlice(), and edm::second().
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
Vids & | ids, | ||
VRcalomet & | calomets | ||
) | const [inline] |
Definition at line 278 of file TriggerEventWithRefs.h.
References begin, calometSlice(), end, first, getObjects(), and edm::second().
{ const size_type begin(calometSlice(filter).first); const size_type end(calometSlice(filter).second); TriggerRefsCollections::getObjects(ids,calomets,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
Vids & | ids, | ||
VRl1muon & | l1muon | ||
) | const [inline] |
Definition at line 311 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), l1muonSlice(), and edm::second().
{ const size_type begin(l1muonSlice(filter).first); const size_type end(l1muonSlice(filter).second); TriggerRefsCollections::getObjects(ids,l1muon,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
int | id, | ||
VRl1muon & | l1muon | ||
) | const [inline] |
Definition at line 316 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), l1muonSlice(), and edm::second().
{ const size_type begin(l1muonSlice(filter).first); const size_type end(l1muonSlice(filter).second); TriggerRefsCollections::getObjects(id,l1muon,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
int | id, | ||
VRl1jet & | l1jet | ||
) | const [inline] |
Definition at line 327 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), l1jetSlice(), and edm::second().
{ const size_type begin(l1jetSlice(filter).first); const size_type end(l1jetSlice(filter).second); TriggerRefsCollections::getObjects(id,l1jet,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
Vids & | ids, | ||
VRcomposite & | composites | ||
) | const [inline] |
Definition at line 256 of file TriggerEventWithRefs.h.
References begin, compositeSlice(), end, first, getObjects(), and edm::second().
{ const size_type begin(compositeSlice(filter).first); const size_type end(compositeSlice(filter).second); TriggerRefsCollections::getObjects(ids,composites,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
int | id, | ||
VRl1etmiss & | l1etmiss | ||
) | const [inline] |
Definition at line 338 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), l1etmissSlice(), and edm::second().
{ const size_type begin(l1etmissSlice(filter).first); const size_type end(l1etmissSlice(filter).second); TriggerRefsCollections::getObjects(id,l1etmiss,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
Vids & | ids, | ||
VRjet & | jets | ||
) | const [inline] |
Definition at line 245 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), jetSlice(), and edm::second().
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
int | id, | ||
VRphoton & | photons | ||
) | const [inline] |
Definition at line 217 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), photonSlice(), and edm::second().
{ const size_type begin(photonSlice(filter).first); const size_type end(photonSlice(filter).second); TriggerRefsCollections::getObjects(id,photons,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
Vids & | ids, | ||
VRmuon & | muons | ||
) | const [inline] |
Definition at line 234 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), muonSlice(), and edm::second().
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
Vids & | ids, | ||
VRelectron & | electrons | ||
) | const [inline] |
Definition at line 223 of file TriggerEventWithRefs.h.
References begin, electronSlice(), end, first, getObjects(), and edm::second().
{ const size_type begin(electronSlice(filter).first); const size_type end(electronSlice(filter).second); TriggerRefsCollections::getObjects(ids,electrons,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
int | id, | ||
VRl1hfrings & | l1hfrings | ||
) | const [inline] |
Definition at line 349 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), l1hfringsSlice(), and edm::second().
{ const size_type begin(l1hfringsSlice(filter).first); const size_type end(l1hfringsSlice(filter).second); TriggerRefsCollections::getObjects(id,l1hfrings,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
int | id, | ||
VRelectron & | electrons | ||
) | const [inline] |
Definition at line 228 of file TriggerEventWithRefs.h.
References begin, electronSlice(), end, first, getObjects(), and edm::second().
{ const size_type begin(electronSlice(filter).first); const size_type end(electronSlice(filter).second); TriggerRefsCollections::getObjects(id,electrons,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
Vids & | ids, | ||
VRl1etmiss & | l1etmiss | ||
) | const [inline] |
Definition at line 333 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), l1etmissSlice(), and edm::second().
{ const size_type begin(l1etmissSlice(filter).first); const size_type end(l1etmissSlice(filter).second); TriggerRefsCollections::getObjects(ids,l1etmiss,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
Vids & | ids, | ||
VRl1hfrings & | l1hfrings | ||
) | const [inline] |
Definition at line 344 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), l1hfringsSlice(), and edm::second().
{ const size_type begin(l1hfringsSlice(filter).first); const size_type end(l1hfringsSlice(filter).second); TriggerRefsCollections::getObjects(ids,l1hfrings,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
int | id, | ||
VRmuon & | muons | ||
) | const [inline] |
Definition at line 239 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), muonSlice(), and edm::second().
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
int | id, | ||
VRjet & | jets | ||
) | const [inline] |
Definition at line 250 of file TriggerEventWithRefs.h.
References begin, end, first, getObjects(), jetSlice(), and edm::second().
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
int | id, | ||
VRbasemet & | basemets | ||
) | const [inline] |
Definition at line 272 of file TriggerEventWithRefs.h.
References basemetSlice(), begin, end, first, getObjects(), and edm::second().
{ const size_type begin(basemetSlice(filter).first); const size_type end(basemetSlice(filter).second); TriggerRefsCollections::getObjects(id,basemets,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
int | id, | ||
VRcomposite & | composites | ||
) | const [inline] |
Definition at line 261 of file TriggerEventWithRefs.h.
References begin, compositeSlice(), end, first, getObjects(), and edm::second().
{ const size_type begin(compositeSlice(filter).first); const size_type end(compositeSlice(filter).second); TriggerRefsCollections::getObjects(id,composites,begin,end); }
void trigger::TriggerEventWithRefs::getObjects | ( | size_type | filter, |
Vids & | ids, | ||
VRbasemet & | basemets | ||
) | const [inline] |
Definition at line 267 of file TriggerEventWithRefs.h.
References basemetSlice(), begin, end, first, getObjects(), and edm::second().
{ const size_type begin(basemetSlice(filter).first); const size_type end(basemetSlice(filter).second); TriggerRefsCollections::getObjects(ids,basemets,begin,end); }
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::jetSlice | ( | size_type | filter | ) | const [inline] |
Definition at line 149 of file TriggerEventWithRefs.h.
References begin, end, and filterObjects_.
Referenced by getObjects().
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1emSlice | ( | size_type | filter | ) | const [inline] |
Definition at line 179 of file TriggerEventWithRefs.h.
References begin, end, and filterObjects_.
Referenced by getObjects().
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1etmissSlice | ( | size_type | filter | ) | const [inline] |
Definition at line 197 of file TriggerEventWithRefs.h.
References begin, end, and filterObjects_.
Referenced by getObjects().
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1hfringsSlice | ( | size_type | filter | ) | const [inline] |
Definition at line 203 of file TriggerEventWithRefs.h.
References begin, end, and filterObjects_.
Referenced by getObjects().
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1jetSlice | ( | size_type | filter | ) | const [inline] |
Definition at line 191 of file TriggerEventWithRefs.h.
References begin, end, and filterObjects_.
Referenced by getObjects().
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::l1muonSlice | ( | size_type | filter | ) | const [inline] |
Definition at line 185 of file TriggerEventWithRefs.h.
References begin, end, and filterObjects_.
Referenced by getObjects().
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::muonSlice | ( | size_type | filter | ) | const [inline] |
Definition at line 143 of file TriggerEventWithRefs.h.
References begin, end, and filterObjects_.
Referenced by getObjects().
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::photonSlice | ( | size_type | filter | ) | const [inline] |
slices of objects for a specific filter: [begin,end[
Definition at line 131 of file TriggerEventWithRefs.h.
References begin, end, and filterObjects_.
Referenced by getObjects().
std::pair<size_type,size_type> trigger::TriggerEventWithRefs::pixtrackSlice | ( | size_type | filter | ) | const [inline] |
Definition at line 173 of file TriggerEventWithRefs.h.
References begin, end, and filterObjects_.
Referenced by getObjects().
size_type trigger::TriggerEventWithRefs::size | ( | void | ) | const [inline] |
number of filters
Definition at line 112 of file TriggerEventWithRefs.h.
References filterObjects_.
{return filterObjects_.size();}
const std::string& trigger::TriggerEventWithRefs::usedProcessName | ( | ) | const [inline] |
getters - for user access
Definition at line 109 of file TriggerEventWithRefs.h.
References usedProcessName_.
{return usedProcessName_;}
std::vector<TriggerFilterObject> trigger::TriggerEventWithRefs::filterObjects_ [private] |
the filters recorded here
Definition at line 73 of file TriggerEventWithRefs.h.
Referenced by addFilterObject(), basemetSlice(), calometSlice(), compositeSlice(), electronSlice(), filterIndex(), filterTag(), jetSlice(), l1emSlice(), l1etmissSlice(), l1hfringsSlice(), l1jetSlice(), l1muonSlice(), muonSlice(), photonSlice(), pixtrackSlice(), size(), and TriggerEventWithRefs().
std::string trigger::TriggerEventWithRefs::usedProcessName_ [private] |
data members
processName used to select products packed up
Definition at line 71 of file TriggerEventWithRefs.h.
Referenced by usedProcessName().