#include <JetCalibrationStep.h>
Inherits asg::AsgMessaging.
Inherited by BcidOffsetCorrection [virtual], EtaJESCorrection [virtual], Generic4VecCorrection [virtual], GlobalLargeRDNNCalibration [virtual], GlobalNNCalibration [virtual], GlobalSequentialCorrection [virtual], InsituDataCorrection [virtual], JMSCorrection [virtual], JetPileupCorrection [virtual], and JetSmearingCorrection [virtual].
|
| void | initMessaging () const |
| | Initialize our message level and MessageSvc.
|
|
| 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 19 of file JetCalibrationStep.h.
◆ JetCalibrationStep()
| JetCalibrationStep::JetCalibrationStep |
( |
const char * | name = "JetCalibrationStep" | ) |
|
◆ ~JetCalibrationStep()
| JetCalibrationStep::~JetCalibrationStep |
( |
| ) |
|
|
virtualdefault |
◆ calibrate()
◆ getNominalResolutionData()
| StatusCode JetCalibrationStep::getNominalResolutionData |
( |
const xAOD::Jet & | , |
|
|
double & | ) const |
|
virtual |
◆ getNominalResolutionMC()
| StatusCode JetCalibrationStep::getNominalResolutionMC |
( |
const xAOD::Jet & | , |
|
|
double & | ) const |
|
virtual |
◆ initialize()
| virtual StatusCode JetCalibrationStep::initialize |
( |
| ) |
|
|
pure virtual |
◆ 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 }
◆ setLevel()
| void AthMessaging::setLevel |
( |
MSG::Level | lvl | ) |
|
|
inherited |
◆ setStartP4()
| StatusCode JetCalibrationStep::setStartP4 |
( |
xAOD::Jet & | jet | ) |
const |
|
protectedvirtual |
Definition at line 21 of file JetCalibrationStep.cxx.
21 {
24 return StatusCode::SUCCESS;
27 return StatusCode::SUCCESS;
28 }
30 return StatusCode::FAILURE;
31}
#define ATH_MSG_WARNING(x)
std::string m_jetStartScale
void setJetP4(const JetFourMom_t &p4)
bool getAttribute(AttributeID type, T &value) const
Retrieve attribute moment by enum.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
◆ setUnitsGeV()
| virtual void JetCalibrationStep::setUnitsGeV |
( |
bool | useGeV | ) |
|
|
inlinevirtual |
◆ ATLAS_THREAD_SAFE
| std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_GeV
| double JetCalibrationStep::m_GeV |
|
protected |
◆ m_imsg
| std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_jetStartScale
| std::string JetCalibrationStep::m_jetStartScale |
|
protected |
◆ 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 JetCalibrationStep::m_name |
|
protected |
◆ m_nm
| std::string AthMessaging::m_nm |
|
privateinherited |
The documentation for this class was generated from the following files: