ExportPulse::PulseInfo_t Struct Reference

List of all members.

Public Member Functions

std::string MakeTPIName () const

Public Attributes

int pulseID
Long64_t event
std::string bankname
std::string detname

Detailed Description

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.


Member Function Documentation

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 }


Member Data Documentation


The documentation for this struct was generated from the following files:

Generated on 15 Jun 2016 for AlcapDAQ by  doxygen 1.6.1