Definition at line 15 of file StandaloneL1TopoHistSvc.cxx.
◆ StandaloneL1TopoHistSvcImpl()
StandaloneL1TopoHistSvc::StandaloneL1TopoHistSvcImpl::StandaloneL1TopoHistSvcImpl |
( |
| ) |
|
|
inline |
◆ ~StandaloneL1TopoHistSvcImpl()
StandaloneL1TopoHistSvc::StandaloneL1TopoHistSvcImpl::~StandaloneL1TopoHistSvcImpl |
( |
| ) |
|
|
inline |
◆ fillHist1D()
void StandaloneL1TopoHistSvc::StandaloneL1TopoHistSvcImpl::fillHist1D |
( |
const std::string & |
histName, |
|
|
double |
x |
|
) |
| |
|
inline |
◆ fillHist2D()
void StandaloneL1TopoHistSvc::StandaloneL1TopoHistSvcImpl::fillHist2D |
( |
const std::string & |
histName, |
|
|
double |
x, |
|
|
double |
y |
|
) |
| |
|
inline |
◆ findHist()
TH1* StandaloneL1TopoHistSvc::StandaloneL1TopoHistSvcImpl::findHist |
( |
const std::string & |
histName | ) |
|
|
inline |
◆ 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 81 of file TrigConfMessaging.h.
◆ msg() [2/2]
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 91 of file TrigConfMessaging.h.
◆ msgLvl()
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 70 of file TrigConfMessaging.h.
◆ registerHist() [1/2]
void StandaloneL1TopoHistSvc::StandaloneL1TopoHistSvcImpl::registerHist |
( |
TH1 * |
h | ) |
|
|
inline |
Definition at line 32 of file StandaloneL1TopoHistSvc.cxx.
35 const std::string
key =
h->GetName();
39 TRG_MSG_WARNING(
"StandaloneL1TopoHistSvc::registerHist: a histogram " <<
key <<
" exists already. Will keep the first one and delete the newly requested.");
◆ registerHist() [2/2]
void StandaloneL1TopoHistSvc::StandaloneL1TopoHistSvcImpl::registerHist |
( |
TH2 * |
h | ) |
|
|
inline |
Definition at line 45 of file StandaloneL1TopoHistSvc.cxx.
48 const std::string
key =
h->GetName();
52 TRG_MSG_WARNING(
"StandaloneL1TopoHistSvc::registerHist: a histogram " <<
key <<
" exists already. Will keep the first one and delete the newly requested.");
◆ save()
void StandaloneL1TopoHistSvc::StandaloneL1TopoHistSvcImpl::save |
( |
| ) |
|
|
inline |
Definition at line 89 of file StandaloneL1TopoHistSvc.cxx.
91 std::string
filename =
"L1Topo.root";
94 std::string
opt =
"RECREATE";
96 auto colPos =
m_baseDir.find_last_of(
':');
97 if( colPos != std::string::npos ) {
108 std::string
fullName(
h.second->GetName());
111 auto slashPos =
fullName.find_last_of(
'/');
112 if(slashPos != std::string::npos) {
117 h.second->SetName(
fullName.substr(slashPos+1).c_str() );
120 const char*
dir =
path.c_str();
121 if( !
f->GetDirectory(
dir)) {
129 std::string
fullName(
h.second->GetName());
132 auto slashPos =
fullName.find_last_of(
'/');
133 if(slashPos != std::string::npos) {
138 h.second->SetName(
fullName.substr(slashPos+1).c_str() );
141 const char*
dir =
path.c_str();
142 if( !
f->GetDirectory(
dir)) {
◆ setBaseDir()
void StandaloneL1TopoHistSvc::StandaloneL1TopoHistSvcImpl::setBaseDir |
( |
const std::string & |
baseDir | ) |
|
|
inline |
◆ m_baseDir
std::string StandaloneL1TopoHistSvc::StandaloneL1TopoHistSvcImpl::m_baseDir {""} |
|
private |
◆ m_hists1D
std::map<std::string,TH1*> StandaloneL1TopoHistSvc::StandaloneL1TopoHistSvcImpl::m_hists1D |
|
private |
◆ m_hists2D
std::map<std::string,TH2*> StandaloneL1TopoHistSvc::StandaloneL1TopoHistSvcImpl::m_hists2D |
|
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 66 of file TrigConfMessaging.h.
◆ m_name
std::string TrigConf::TrigConfMessaging::m_name |
|
privateinherited |
The documentation for this class was generated from the following file: