|
ATLAS Offline Software
|
#include <TrigBtagEmulationChain.h>
Definition at line 17 of file TrigBtagEmulationChain.h.
◆ TrigBtagEmulationChain()
Trig::TrigBtagEmulationChain::TrigBtagEmulationChain |
( |
const std::string & |
name, |
|
|
const std::vector< std::string > & |
definition |
|
) |
| |
◆ ~TrigBtagEmulationChain()
virtual Trig::TrigBtagEmulationChain::~TrigBtagEmulationChain |
( |
| ) |
|
|
virtualdefault |
◆ chainPartName()
const std::vector< std::string > & Trig::TrigBtagEmulationChain::chainPartName |
( |
| ) |
const |
|
inline |
◆ dijetmass()
const std::string & Trig::TrigBtagEmulationChain::dijetmass |
( |
| ) |
const |
|
inline |
◆ initMessaging()
void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
◆ is_PFlow()
const std::vector< bool > & Trig::TrigBtagEmulationChain::is_PFlow |
( |
| ) |
const |
|
inline |
◆ jet_eta_max()
const std::vector< double > & Trig::TrigBtagEmulationChain::jet_eta_max |
( |
| ) |
const |
|
inline |
◆ jet_eta_min()
const std::vector< double > & Trig::TrigBtagEmulationChain::jet_eta_min |
( |
| ) |
const |
|
inline |
◆ jet_multiplicity()
const std::vector< int > & Trig::TrigBtagEmulationChain::jet_multiplicity |
( |
| ) |
const |
|
inline |
◆ jet_presel()
const std::vector< std::string > & Trig::TrigBtagEmulationChain::jet_presel |
( |
| ) |
const |
|
inline |
◆ jet_pt()
const std::vector< double > & Trig::TrigBtagEmulationChain::jet_pt |
( |
| ) |
const |
|
inline |
◆ jvt()
const std::vector< double > & Trig::TrigBtagEmulationChain::jvt |
( |
| ) |
const |
|
inline |
◆ l1_requirement()
const std::string & Trig::TrigBtagEmulationChain::l1_requirement |
( |
| ) |
const |
|
inline |
◆ msg() [1/2]
MsgStream & AthMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 164 of file AthMessaging.h.
◆ msg() [2/2]
MsgStream & AthMessaging::msg |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 179 of file AthMessaging.h.
180 {
return msg() << lvl; }
◆ msgLvl()
bool AthMessaging::msgLvl |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicating if messages at given level will be printed
- Return values
-
true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
◆ name()
const std::string & Trig::TrigBtagEmulationChain::name |
( |
| ) |
const |
|
inline |
◆ parseChainDefinition()
void Trig::TrigBtagEmulationChain::parseChainDefinition |
( |
const std::vector< std::string > & |
definition | ) |
|
|
private |
Definition at line 25 of file TrigBtagEmulationChain.cxx.
27 if (definition.size() == 0) {
32 if (definition.size() == 1) {
33 ATH_MSG_ERROR(
"Couldn't parse chain definition: " << definition[0] );
41 std::size_t n_def_size = definition.size();
47 m_jvt.reserve(n_def_size);
51 for(
size_t chainPart_idx = 1; chainPart_idx < definition.size(); chainPart_idx++) {
53 std::string chainPart = definition[chainPart_idx];
72 if(jetpresel ==
"el") {
76 auto presel_separator = jetpresel.find(
"XX");
77 while(presel_separator != std::string::npos) {
78 m_jet_presel.push_back(jetpresel.substr(0, presel_separator));
79 jetpresel = jetpresel.substr(presel_separator + 2);
80 presel_separator = jetpresel.find(
"XX");
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ shared_idx()
int Trig::TrigBtagEmulationChain::shared_idx |
( |
| ) |
const |
|
inline |
◆ tagger()
const std::vector< std::string > & Trig::TrigBtagEmulationChain::tagger |
( |
| ) |
const |
|
inline |
◆ ATLAS_THREAD_SAFE
std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_chainPartName
std::vector<std::string> Trig::TrigBtagEmulationChain::m_chainPartName {} |
|
private |
◆ m_dijetmass
std::string Trig::TrigBtagEmulationChain::m_dijetmass = "" |
|
private |
◆ m_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_is_PFlow
std::vector<bool> Trig::TrigBtagEmulationChain::m_is_PFlow {} |
|
private |
◆ m_jet_eta_max
std::vector<double> Trig::TrigBtagEmulationChain::m_jet_eta_max {} |
|
private |
◆ m_jet_eta_min
std::vector<double> Trig::TrigBtagEmulationChain::m_jet_eta_min {} |
|
private |
◆ m_jet_multiplicity
std::vector<int> Trig::TrigBtagEmulationChain::m_jet_multiplicity {} |
|
private |
◆ m_jet_presel
std::vector<std::string> Trig::TrigBtagEmulationChain::m_jet_presel {} |
|
private |
◆ m_jet_pt
std::vector<double> Trig::TrigBtagEmulationChain::m_jet_pt {} |
|
private |
◆ m_jvt
std::vector<double> Trig::TrigBtagEmulationChain::m_jvt {} |
|
private |
◆ m_l1_requirement
std::string Trig::TrigBtagEmulationChain::m_l1_requirement = "" |
|
private |
◆ m_lvl
std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_msg_tls
boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
◆ m_name
std::string Trig::TrigBtagEmulationChain::m_name |
|
private |
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_shared_idx
int Trig::TrigBtagEmulationChain::m_shared_idx = 0 |
|
private |
◆ m_tagger
std::vector<std::string> Trig::TrigBtagEmulationChain::m_tagger {} |
|
private |
The documentation for this class was generated from the following files:
std::atomic< MSG::Level > m_lvl
Current logging level.
const std::vector< double > & jet_eta_min() const
void parseChainDefinition(const std::vector< std::string > &definition)
std::vector< std::string > m_tagger
std::vector< std::string > m_jet_presel
etaRange
Filling Eta range.
const std::vector< int > & jet_multiplicity() const
const std::vector< bool > & is_PFlow() const
std::vector< double > m_jet_pt
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
IMessageSvc * getMessageSvc(bool quiet=false)
#define CHAINPART_VARIABLE(cp, v)
AthMessaging()
Default constructor:
std::vector< bool > m_is_PFlow
const std::string & name() const
Name.
const std::string & dijetmass() const
const std::vector< double > & jvt() const
const std::vector< double > & jet_pt() const
const std::vector< std::string > & tagger() const
const std::vector< std::string > & chainPartName() const
MsgStream & msg() const
The standard message stream.
std::vector< std::string > m_chainPartName
std::string m_l1_requirement
std::vector< double > m_jvt
double e2(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 2nd sampling
std::string m_nm
Message source name.
std::vector< int > m_jet_multiplicity
void initMessaging() const
Initialize our message level and MessageSvc.
const std::vector< double > & jet_eta_max() const
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
std::vector< double > m_jet_eta_max
std::vector< double > m_jet_eta_min