![]() |
ATLAS Offline Software
|
#include <ImportData.h>
Classes | |
| struct | TrigDef |
Public Member Functions | |
| ImportData () | |
| the following two variables are owned by this tool and released in the destructor | |
| ImportData (TrigGlobalEfficiencyCorrectionTool &parent) | |
| ~ImportData () | |
| bool | importHierarchies () |
| bool | importTriggers () |
| bool | importThresholds (const std::map< std::string, std::string > &overridenThresholds={}) |
| bool | importPeriods () |
| bool | importMapKeys (const std::string &tag, std::map< std::size_t, std::map< std::size_t, int > > &keysPerLeg) |
| bool | importAll (const std::map< std::string, std::string > &overridenThresholds={}) |
| bool | getPeriodBoundaries (const std::string &period, std::pair< unsigned, unsigned > &boundaries) |
| bool | suggestEgammaMapKeys (const std::map< std::string, std::string > &triggerCombination, const std::string &version, std::map< std::string, std::string > &legsPerKey, xAOD::Type::ObjectType type) |
| const std::map< std::size_t, TrigDef > & | getTriggerDefs () const |
| const std::map< std::size_t, float > & | getTriggerThresholds () const |
| const std::map< std::string, std::pair< unsigned, unsigned > > & | getDataPeriods () const |
| const std::vector< Hierarchy > & | getHierarchyMeta () const |
| const std::vector< std::size_t > & | getHierarchyData () const |
| const std::map< std::size_t, std::string > & | getDictionary () const |
| xAOD::Type::ObjectType | associatedLeptonFlavour (std::size_t leg, bool &success) |
| std::vector< TrigDef > | parseTriggerString (const std::string &triggerString, bool &success) |
| TrigGlobalEfficiencyCorrectionTool * | getParent () |
| bool | adaptTriggerListForTriggerMatching (std::vector< ImportData::TrigDef > &triggers) |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Functions providing the same interface as AthMessaging | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level of the object. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
Static Public Member Functions | |
| static xAOD::Type::ObjectType | associatedLeptonFlavour (const std::string &leg, bool &success) |
Protected Member Functions | |
| bool | readDataFile (const char *filename, std::vector< std::string > &contents) |
| void | setNonMixed3LType (TrigDef &def, TriggerType flavourFlag) |
Protected Attributes | |
| TrigGlobalEfficiencyCorrectionTool * | m_parent |
| std::map< std::size_t, std::string > & | m_dictionary |
| std::hash< std::string > & | m_hasher |
| std::map< std::size_t, TrigDef > | m_triggerDefs |
| std::map< std::size_t, float > | m_triggerThresholds |
| std::map< std::string, std::pair< unsigned, unsigned > > | m_dataPeriods |
| std::vector< Hierarchy > | m_hierarchyMeta |
| std::vector< std::size_t > | m_hierarchyData |
Private Types | |
| using | Hierarchy = TrigGlobalEfficiencyCorrectionTool::Hierarchy |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Definition at line 86 of file ImportData.h.
|
private |
Definition at line 87 of file ImportData.h.
| ImportData::ImportData | ( | ) |
the following two variables are owned by this tool and released in the destructor
Definition at line 18 of file ImportData.cxx.
| ImportData::ImportData | ( | TrigGlobalEfficiencyCorrectionTool & | parent | ) |
Definition at line 26 of file ImportData.cxx.
| ImportData::~ImportData | ( | ) |
Definition at line 34 of file ImportData.cxx.
| bool ImportData::adaptTriggerListForTriggerMatching | ( | std::vector< ImportData::TrigDef > & | triggers | ) |
This essentially splits OR single lepton triggers into independent items
to prevent duplicates
Definition at line 729 of file ImportData.cxx.
|
static |
Definition at line 514 of file ImportData.cxx.
| xAOD::Type::ObjectType ImportData::associatedLeptonFlavour | ( | std::size_t | leg, |
| bool & | success ) |
Definition at line 531 of file ImportData.cxx.
|
inline |
Definition at line 132 of file ImportData.h.
|
inline |
Definition at line 142 of file ImportData.h.
|
inline |
Definition at line 139 of file ImportData.h.
|
inline |
Definition at line 136 of file ImportData.h.
|
inline |
Definition at line 151 of file ImportData.h.
| bool ImportData::getPeriodBoundaries | ( | const std::string & | period, |
| std::pair< unsigned, unsigned > & | boundaries ) |
Definition at line 482 of file ImportData.cxx.
|
inline |
Definition at line 126 of file ImportData.h.
|
inline |
Definition at line 129 of file ImportData.h.
| bool ImportData::importAll | ( | const std::map< std::string, std::string > & | overridenThresholds = {} | ) |
Definition at line 41 of file ImportData.cxx.
| bool ImportData::importHierarchies | ( | ) |
Definition at line 342 of file ImportData.cxx.
| bool ImportData::importMapKeys | ( | const std::string & | tag, |
| std::map< std::size_t, std::map< std::size_t, int > > & | keysPerLeg ) |
Definition at line 432 of file ImportData.cxx.
| bool ImportData::importPeriods | ( | ) |
Definition at line 321 of file ImportData.cxx.
| bool ImportData::importThresholds | ( | const std::map< std::string, std::string > & | overridenThresholds = {} | ) |
Override thresholds if requested
Definition at line 251 of file ImportData.cxx.
| bool ImportData::importTriggers | ( | ) |
default: assume the leg's name is the same as the full trigger name
Classify trigger and re-arrange legs (if needed) so that all electron legs come before muon legs, and muon legs before photon legs
symmetric tetralepton triggers
single-flavour trilepton triggers
mixed-flavour trilepton triggers
dilepton triggers
single lepton triggers
Definition at line 99 of file ImportData.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inherited |
The standard message stream.
Definition at line 49 of file AsgMessaging.cxx.
|
inherited |
The standard message stream.
| lvl | The message level to set the stream to |
Definition at line 57 of file AsgMessaging.cxx.
|
inherited |
Test the output level of the object.
| lvl | The message level to test against |
true If messages at level "lvl" will be printed Definition at line 41 of file AsgMessaging.cxx.
| std::vector< ImportData::TrigDef > ImportData::parseTriggerString | ( | const std::string & | triggerString, |
| bool & | success ) |
Replace all || by |
Definition at line 542 of file ImportData.cxx.
|
protected |
Definition at line 47 of file ImportData.cxx.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
protected |
swap legs so that the last two are identical, for later convenience
Definition at line 83 of file ImportData.cxx.
| bool ImportData::suggestEgammaMapKeys | ( | const std::map< std::string, std::string > & | triggerCombination, |
| const std::string & | version, | ||
| std::map< std::string, std::string > & | legsPerKey, | ||
| xAOD::Type::ObjectType | type ) |
If no version is specified, the list of trigger legs is returned
Definition at line 589 of file ImportData.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
protected |
Definition at line 165 of file ImportData.h.
|
protected |
Definition at line 160 of file ImportData.h.
|
protected |
Definition at line 161 of file ImportData.h.
|
protected |
Definition at line 167 of file ImportData.h.
|
protected |
Definition at line 166 of file ImportData.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
protected |
Definition at line 159 of file ImportData.h.
|
protected |
Definition at line 163 of file ImportData.h.
|
protected |
Definition at line 164 of file ImportData.h.