#include <IsolationConditionHist.h>
Definition at line 23 of file IsolationConditionHist.h.
◆ IsolationConditionHist()
| CP::IsolationConditionHist::IsolationConditionHist |
( |
const std::string & | name, |
|
|
xAOD::Iso::IsolationType | isoType, |
|
|
const std::string & | isolationFunction, |
|
|
std::unique_ptr< TH3F > | efficiencyHisto3D ) |
check if pt is using GeV as unit
Definition at line 18 of file IsolationConditionHist.cxx.
19 :
22 m_isolationFunction (std::make_unique<TF1>(isolationFunction.c_str(), isolationFunction.c_str(), 0.0, 1000.0))
23 {
27 }
std::shared_ptr< TH3F > m_efficiencyHisto3D
std::unique_ptr< TF1 > m_isolationFunction
IsolationCondition(const std::string &name, xAOD::Iso::IsolationType isoType, const std::string &isoDecSuffix="")
const std::string & name() const
◆ ~IsolationConditionHist()
| virtual CP::IsolationConditionHist::~IsolationConditionHist |
( |
| ) |
|
|
virtualdefault |
◆ accept() [1/2]
| bool CP::IsolationConditionHist::accept |
( |
const strObj & | x | ) |
const |
|
overridevirtual |
◆ accept() [2/2]
◆ accessor()
◆ accessor_noCloseBy()
◆ getCutValue()
| float CP::IsolationConditionHist::getCutValue |
( |
const float | pt, |
|
|
const float | eta ) const |
|
private |
Definition at line 38 of file IsolationConditionHist.cxx.
38 {
45 }
Scalar eta() const
pseudorapidity method
std::shared_ptr< Interp3D > m_interp
setRcore setEtHad setFside pt
◆ 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.
40{
42
43 if (
m_lvl == MSG::NIL) {
47 }
48}
std::string m_nm
Message source name.
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
std::atomic< MSG::Level > m_lvl
Current logging level.
IMessageSvc * getMessageSvc(bool quiet=false)
◆ msg() [1/2]
| MsgStream & asg::AsgMessaging::msg |
( |
| ) |
const |
|
inherited |
The standard message stream.
- Returns
- A reference to the default message stream of this object.
Definition at line 49 of file AsgMessaging.cxx.
49 {
50#ifndef XAOD_STANDALONE
51 return ::AthMessaging::msg();
52#else
53 return m_msg;
54#endif
55 }
◆ msg() [2/2]
| MsgStream & asg::AsgMessaging::msg |
( |
const MSG::Level | lvl | ) |
const |
|
inherited |
The standard message stream.
- Parameters
-
| lvl | The message level to set the stream to |
- Returns
- A reference to the default message stream, set to level "lvl"
Definition at line 57 of file AsgMessaging.cxx.
57 {
58#ifndef XAOD_STANDALONE
59 return ::AthMessaging::msg( lvl );
60#else
61 m_msg << lvl;
62 return m_msg;
63#endif
64 }
◆ msgLvl()
| bool asg::AsgMessaging::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inherited |
Test the output level of the object.
- Parameters
-
| lvl | The message level to test against |
- Returns
- boolean Indicting if messages at given level will be printed
-
true If messages at level "lvl" will be printed
Definition at line 41 of file AsgMessaging.cxx.
41 {
42#ifndef XAOD_STANDALONE
43 return ::AthMessaging::msgLvl( lvl );
44#else
45 return m_msg.msgLevel( lvl );
46#endif
47 }
◆ name()
| const std::string & CP::IsolationCondition::name |
( |
| ) |
const |
|
inherited |
◆ num_types()
| unsigned int CP::IsolationCondition::num_types |
( |
| ) |
const |
|
inherited |
◆ setInterp()
| void CP::IsolationConditionHist::setInterp |
( |
std::shared_ptr< Interp3D > | interp | ) |
|
|
inline |
◆ setLevel()
| void AthMessaging::setLevel |
( |
MSG::Level | lvl | ) |
|
|
inherited |
◆ type()
◆ ATLAS_THREAD_SAFE
| std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_acc
◆ m_acc_noCloseBy
| std::vector<FloatAccessor> CP::IsolationCondition::m_acc_noCloseBy |
|
privateinherited |
◆ m_efficiencyHisto3D
| std::shared_ptr<TH3F> CP::IsolationConditionHist::m_efficiencyHisto3D {nullptr} |
|
private |
◆ m_imsg
| std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_interp
| std::shared_ptr<Interp3D> CP::IsolationConditionHist::m_interp |
|
private |
◆ m_isoDecSuffix
| std::string CP::IsolationCondition::m_isoDecSuffix {} |
|
protectedinherited |
◆ m_isolationFunction
| std::unique_ptr<TF1> CP::IsolationConditionHist::m_isolationFunction {nullptr} |
|
private |
◆ m_isolationType
◆ 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 CP::IsolationCondition::m_name |
|
privateinherited |
◆ m_nm
| std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_ptGeV
| bool CP::IsolationConditionHist::m_ptGeV {false} |
|
private |
The documentation for this class was generated from the following files: