Definition at line 23 of file AthenaL1TopoHistSvc.cxx.
◆ AthenaL1TopoHistSvcImpl()
| AthenaL1TopoHistSvc::AthenaL1TopoHistSvcImpl::AthenaL1TopoHistSvcImpl |
( |
const ServiceHandle< ITHistSvc > & | histSvc | ) |
|
|
inline |
Definition at line 27 of file AthenaL1TopoHistSvc.cxx.
27 :
30 {
32 }
ServiceHandle< ITHistSvc > m_histSvc
TrigConfMessaging()=delete
◆ ~AthenaL1TopoHistSvcImpl()
| AthenaL1TopoHistSvc::AthenaL1TopoHistSvcImpl::~AthenaL1TopoHistSvcImpl |
( |
| ) |
|
|
inline |
◆ fillHist1D()
| void AthenaL1TopoHistSvc::AthenaL1TopoHistSvcImpl::fillHist1D |
( |
const std::string & | histName, |
|
|
double | x ) |
|
inline |
Definition at line 88 of file AthenaL1TopoHistSvc.cxx.
88 {
90 if(m_hist1D.find(key) == m_hist1D.end()) {
91 TRG_MSG_ERROR(
"1D-hist with registration key " << key <<
" does not exist");
92 }
93 else { m_hist1D[
key]->Fill(
x); }
94 }
◆ fillHist2D()
| void AthenaL1TopoHistSvc::AthenaL1TopoHistSvcImpl::fillHist2D |
( |
const std::string & | histName, |
|
|
double | x, |
|
|
double | y ) |
|
inline |
Definition at line 96 of file AthenaL1TopoHistSvc.cxx.
96 {
98 if(m_hist2D.find(key) == m_hist2D.end()) {
99 TRG_MSG_ERROR(
"2D-hist with registration key " << key <<
" does not exist");
100 }
101 else
102 { m_hist2D[
key]->Fill(
x,
y); }
103 }
◆ findHist()
| TH1 * AthenaL1TopoHistSvc::AthenaL1TopoHistSvcImpl::findHist |
( |
const std::string & | histName | ) |
|
|
inline |
◆ getName()
| const std::string & TrigConf::TrigConfMessaging::getName |
( |
| ) |
const |
|
inlineinherited |
◆ msg() [1/2]
| MsgStreamTC & TrigConf::TrigConfMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 86 of file TrigConfMessaging.h.
87 {
89 if (!ms) {
92 }
94 }
boost::thread_specific_ptr< MsgStreamTC > m_msg_tls
MsgStreamTC instance (a std::cout like with print-out levels)
◆ msg() [2/2]
| MsgStreamTC & TrigConf::TrigConfMessaging::msg |
( |
const MSGTC::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 96 of file TrigConfMessaging.h.
97 {
99 }
MsgStreamTC & msg() const
The standard message stream.
◆ msgLvl()
| bool TrigConf::TrigConfMessaging::msgLvl |
( |
const MSGTC::Level | lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
| lvl | The message level to test against |
- Returns
- boolean Indicting if messages at given level will be printed
- Return values
-
| true | Messages at level "lvl" will be printed |
Definition at line 75 of file TrigConfMessaging.h.
76 {
79 return true;
80 }
81 else {
82 return false;
83 }
84 }
◆ registerHist() [1/2]
| void AthenaL1TopoHistSvc::AthenaL1TopoHistSvcImpl::registerHist |
( |
TH1 * | h | ) |
|
|
inline |
Definition at line 38 of file AthenaL1TopoHistSvc.cxx.
38 {
42 auto colPos =
histName.find_first_of(
'/');
45 h->SetName(
histName.substr(colPos+1).c_str());
46 std::unique_ptr<TH1> uhist(h);
48 if( !
m_histSvc->regShared(fullName, std::move(uhist), lh).isSuccess() ) {
50 }
51 else
52 { m_hist1D[
key] =
lh; }
53 } else {
55 }
56 }
◆ registerHist() [2/2]
| void AthenaL1TopoHistSvc::AthenaL1TopoHistSvcImpl::registerHist |
( |
TH2 * | h | ) |
|
|
inline |
Definition at line 58 of file AthenaL1TopoHistSvc.cxx.
58 {
62 auto colPos =
histName.find_first_of(
'/');
65 h->SetName(
histName.substr(colPos+1).c_str());
66 std::unique_ptr<TH2> uhist(h);
68 if( !
m_histSvc->regShared(fullName, std::move(uhist), lh).isSuccess() ) {
70 }
71 else
72 { m_hist2D[
key] =
lh; }
73 } else {
75 }
76 }
◆ setBaseDir()
| void AthenaL1TopoHistSvc::AthenaL1TopoHistSvcImpl::setBaseDir |
( |
const std::string & | baseDir | ) |
|
|
inline |
Definition at line 105 of file AthenaL1TopoHistSvc.cxx.
105 {
106 auto colPos =
baseDir.find_last_of(
':');
107 if( colPos != string::npos ) {
109 } else {
111 }
113
115 }
116 }
◆ ATLAS_THREAD_SAFE [1/2]
| std::unordered_map<std::string, LockedHandle<TH1> > m_hist1D AthenaL1TopoHistSvc::AthenaL1TopoHistSvcImpl::ATLAS_THREAD_SAFE |
|
private |
◆ ATLAS_THREAD_SAFE [2/2]
| std::unordered_map<std::string, LockedHandle<TH2> > m_hist2D AthenaL1TopoHistSvc::AthenaL1TopoHistSvcImpl::ATLAS_THREAD_SAFE |
|
private |
◆ m_baseDir
| string AthenaL1TopoHistSvc::AthenaL1TopoHistSvcImpl::m_baseDir {""} |
|
private |
◆ m_histSvc
| ServiceHandle<ITHistSvc> AthenaL1TopoHistSvc::AthenaL1TopoHistSvcImpl::m_histSvc |
|
private |
◆ m_msg_tls
| boost::thread_specific_ptr<MsgStreamTC> TrigConf::TrigConfMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStreamTC instance (a std::cout like with print-out levels)
Definition at line 71 of file TrigConfMessaging.h.
◆ m_name
| std::string TrigConf::TrigConfMessaging::m_name |
|
privateinherited |
The documentation for this class was generated from the following file: