Public Member Functions | |
std::string | MakeTPIName () const |
Public Attributes | |
int | pulseID |
Long64_t | event |
std::string | bankname |
std::string | detname |
Information needed to make one plot. In future this may be moved elsewhere to be used by other modules
Definition at line 36 of file ExportPulse.h.
std::string ExportPulse::PulseInfo_t::MakeTPIName | ( | ) | const |
Function to convert the details in this struct into a string used for naming plots
Definition at line 211 of file ExportPulse.cpp.
References detname, event, pulseID, and modules::parser::ToCppValid().
Referenced by ExportPulse::PlotTAP(), and ExportPulse::PlotTPI().
00211 { 00212 std::stringstream histname; 00213 histname << "Pulse_" << detname; 00214 histname << "_" << event; 00215 histname << "_" << pulseID; 00216 std::string hist=histname.str(); 00217 // replace all non c++ characters with underscore so we can use the 00218 // histograms in root directly. 00219 modules::parser::ToCppValid(hist); 00220 return hist; 00221 }
std::string ExportPulse::PulseInfo_t::bankname |
Definition at line 39 of file ExportPulse.h.
Referenced by ExportPulse::ExportPulse(), ExportPulse::GetCurrentBankName(), ExportPulse::PlotTPI(), and ExportPulse::SetCurrentDetectorName().
std::string ExportPulse::PulseInfo_t::detname |
Definition at line 40 of file ExportPulse.h.
Referenced by ExportPulse::ExportPulse(), MakeTPIName(), ExportPulse::PlotTPI(), and ExportPulse::SetCurrentDetectorName().
Long64_t ExportPulse::PulseInfo_t::event |
Definition at line 38 of file ExportPulse.h.
Referenced by ExportPulse::ExportPulse(), ExportPulse::GetCurrentEventNumber(), MakeTPIName(), ExportPulse::PlotTPI(), and ExportPulse::SetCurrentEventNumber().
Definition at line 37 of file ExportPulse.h.
Referenced by ExportPulse::ExportPulse(), MakeTPIName(), ExportPulse::PlotTPI(), and ExportPulse::SetCurrentPulseID().