Find the reference position (eta, phi) relative to which cells are restricted.
More...
#include <CookieCutterHelpers.h>
|
| float | etaB = 999 |
| float | phiB = 999 |
| float | emaxB = -999 * Gaudi::Units::GeV |
| float | etaEC = 999 |
| float | phiEC = 999 |
| float | emaxEC = -999 * Gaudi::Units::GeV |
| float | etaF = 999 |
| float | phiF = 999 |
| float | emaxF = -999 * Gaudi::Units::GeV |
|
| 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)
|
Find the reference position (eta, phi) relative to which cells are restricted.
Definition at line 18 of file CookieCutterHelpers.h.
◆ CentralPosition() [1/2]
| CookieCutterHelpers::CentralPosition::CentralPosition |
( |
| ) |
|
|
delete |
◆ CentralPosition() [2/2]
Definition at line 10 of file CookieCutterHelpers.cxx.
14{
15 for (const auto* cluster : clusters) {
16 if (cluster->hasSampling(CaloSampling::EMB2)) {
17 const float thisEmax = cluster->energy_max(CaloSampling::EMB2);
18 if (thisEmax >
emaxB) {
20 etaB = cluster->etamax(CaloSampling::EMB2);
21 phiB = cluster->phimax(CaloSampling::EMB2);
22 }
23 }
24 if (cluster->hasSampling(CaloSampling::EME2)) {
25 const float thisEmax = cluster->energy_max(CaloSampling::EME2);
28 etaEC = cluster->etamax(CaloSampling::EME2);
29 phiEC = cluster->phimax(CaloSampling::EME2);
30 }
31 }
32 if (cluster->hasSampling(CaloSampling::FCAL0)) {
33 const float thisEmax = cluster->energy_max(CaloSampling::FCAL0);
34 if (thisEmax >
emaxF) {
36 etaF = cluster->etamax(CaloSampling::FCAL0);
37 phiF = cluster->phimax(CaloSampling::FCAL0);
38 }
39 }
40 }
41
43 const CaloDetDescrElement* dde =
45 if (dde) {
48 } else {
51 }
52 }
54 const CaloDetDescrElement* dde =
56 if (dde) {
59 } else {
62 }
63 }
65 const CaloDetDescrElement* dde =
67 if (dde) {
70 } else {
73 }
74 }
75}
#define ATH_MSG_WARNING(x)
AthMessaging()
Default constructor:
float eta_raw() const
cell eta_raw
float phi_raw() const
cell phi_raw
◆ 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 & 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 163 of file AthMessaging.h.
164{
166 if (!ms) {
170 }
171
174}
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
void initMessaging() const
Initialize our message level and MessageSvc.
◆ 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 178 of file AthMessaging.h.
179{
return msg() << lvl; }
MsgStream & msg() const
The standard message stream.
◆ 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.
152{
155 return true;
156 } else {
157 return false;
158 }
159}
◆ setLevel()
| void AthMessaging::setLevel |
( |
MSG::Level | lvl | ) |
|
|
inherited |
◆ ATLAS_THREAD_SAFE
| std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ emaxB
| float CookieCutterHelpers::CentralPosition::emaxB = -999 * Gaudi::Units::GeV |
◆ emaxEC
| float CookieCutterHelpers::CentralPosition::emaxEC = -999 * Gaudi::Units::GeV |
◆ emaxF
| float CookieCutterHelpers::CentralPosition::emaxF = -999 * Gaudi::Units::GeV |
◆ etaB
| float CookieCutterHelpers::CentralPosition::etaB = 999 |
◆ etaEC
| float CookieCutterHelpers::CentralPosition::etaEC = 999 |
◆ etaF
| float CookieCutterHelpers::CentralPosition::etaF = 999 |
◆ m_imsg
| std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ 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_nm
| std::string AthMessaging::m_nm |
|
privateinherited |
◆ phiB
| float CookieCutterHelpers::CentralPosition::phiB = 999 |
◆ phiEC
| float CookieCutterHelpers::CentralPosition::phiEC = 999 |
◆ phiF
| float CookieCutterHelpers::CentralPosition::phiF = 999 |
The documentation for this struct was generated from the following files: