CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
SummaryGenerator Class Reference

: Fills summary histograms. More...

#include <SummaryGenerator.h>

Inheritance diagram for SummaryGenerator:
SummaryGeneratorControlView SummaryGeneratorReadoutView

Public Types

typedef std::vector< DataBinData
 
typedef std::pair< float, float > Data
 
typedef std::map< std::string,
BinData
HistoData
 

Public Member Functions

void axisLabel (const std::string &)
 
void clearMap ()
 
void fillMap (const std::string &top_level_dir, const sistrip::Granularity &, const uint32_t &key, const float &value, const float &error=0.)
 
void format (const sistrip::RunType &, const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &directory, const sistrip::Granularity &, TH1 &)
 
void histo1D (TH1 &)
 
void histo2DScatter (TH1 &)
 
void histo2DSum (TH1 &)
 
const std::string & myName () const
 
uint32_t nBins () const
 
void printMap ()
 
void profile1D (TH1 &)
 
uint32_t size () const
 
 SummaryGenerator (std::string name)
 
virtual ~SummaryGenerator ()
 

Static Public Member Functions

static TH1 * histogram (const sistrip::Presentation &, const uint32_t &xbins)
 
static SummaryGeneratorinstance (const sistrip::View &)
 
static std::string name (const sistrip::RunType &, const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &directory)
 

Protected Member Functions

virtual void fill (const std::string &top_level_dir, const sistrip::Granularity &, const uint32_t &key, const float &value, const float &error)
 

Protected Attributes

float entries_
 
std::string label_
 
HistoData map_
 
float max_
 
float min_
 

Private Attributes

std::string myName_
 

Detailed Description

: Fills summary histograms.

Author
M.Wingham, R.Bainbridge

Definition at line 19 of file SummaryGenerator.h.

Member Typedef Documentation

typedef std::vector<Data> SummaryGenerator::BinData

Definition at line 30 of file SummaryGenerator.h.

typedef std::pair<float,float> SummaryGenerator::Data

Definition at line 29 of file SummaryGenerator.h.

typedef std::map<std::string,BinData> SummaryGenerator::HistoData

Definition at line 31 of file SummaryGenerator.h.

Constructor & Destructor Documentation

SummaryGenerator::SummaryGenerator ( std::string  name)

Definition at line 16 of file SummaryGenerator.cc.

16  :
17  map_(),
18  entries_(-1.),
21  label_(""),
22  myName_(name)
23 {
24  // TH1::SetDefaultSumw2(true); // use square of weights to calc error
25 }
static std::string name(const sistrip::RunType &, const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &directory)
static const uint16_t invalid_
Definition: Constants.h:17
virtual SummaryGenerator::~SummaryGenerator ( )
inlinevirtual

Definition at line 26 of file SummaryGenerator.h.

26 {;}

Member Function Documentation

void SummaryGenerator::axisLabel ( const std::string &  label)
inline
void SummaryGenerator::clearMap ( )

Clear the map that is used to generate the histogram(s).

Definition at line 195 of file SummaryGenerator.cc.

References HistoData::clear(), entries_, sistrip::invalid_, map_, max_, and min_.

Referenced by SummaryHistogramFactory< DaqScopeModeAnalysis >::extract(), SummaryHistogramFactory< FedTimingAnalysis >::extract(), and SummaryPlotFactoryBase::init().

195  {
196  HistoData::iterator iter = map_.begin();
197  for ( ; iter != map_.end(); iter++ ) { iter->second.clear(); }
198  map_.clear();
199  entries_ = -1.;
200  max_ = -1.*sistrip::invalid_;
201  min_ = 1.*sistrip::invalid_;
202 }
void clear()
Definition: HistoData.h:93
static const uint16_t invalid_
Definition: Constants.h:17
void SummaryGenerator::fill ( const std::string &  top_level_dir,
const sistrip::Granularity gran,
const uint32_t &  key,
const float &  value,
const float &  error 
)
protectedvirtual

Fills the map used to generate the histogram.

Reimplemented in SummaryGeneratorControlView, and SummaryGeneratorReadoutView.

Definition at line 258 of file SummaryGenerator.cc.

References LogTrace, and sistrip::mlSummaryPlots_.

Referenced by fillMap().

262  {
263 
265  << "[SummaryGenerator::" << __func__ << "]"
266  << " Derived implementation does not exist!...";
267 }
#define LogTrace(id)
static const char mlSummaryPlots_[]
void SummaryGenerator::fillMap ( const std::string &  top_level_dir,
const sistrip::Granularity gran,
const uint32_t &  key,
const float &  value,
const float &  error = 0. 
)

Fills the map that is used to generate the histogram(s).

Definition at line 234 of file SummaryGenerator.cc.

References fill(), max_, min_, sistrip::valid_, and relativeConstraints::value.

Referenced by ApvTimingSummaryFactory::extract(), CalibrationSummaryFactory::extract(), FastFedCablingSummaryFactory::extract(), PedsOnlySummaryFactory::extract(), OptoScanSummaryFactory::extract(), PedestalsSummaryFactory::extract(), PedsFullNoiseSummaryFactory::extract(), NoiseSummaryFactory::extract(), VpspScanSummaryFactory::extract(), SummaryHistogramFactory< FedTimingAnalysis >::extract(), SummaryHistogramFactory< DaqScopeModeAnalysis >::extract(), SummaryPlotFactory< FedCablingAnalysis * >::init(), and SummaryPlotFactory< T >::init().

238  {
239 
240  // Check if value is valid
241  if ( value > 1. * sistrip::valid_ ) { return; }
242 
243  // Calculate maximum and minimum values in std::map
244  if ( value > max_ ) { max_ = value; }
245  if ( value < min_ ) { min_ = value; }
246 
247  // Check if error is valid
248  if ( error < 1. * sistrip::valid_ ) {
249  fill( top_level_dir, gran, device_key, value, error );
250  } else {
251  fill( top_level_dir, gran, device_key, value, 0. );
252  }
253 
254 }
static const uint16_t valid_
Definition: Constants.h:18
virtual void fill(const std::string &top_level_dir, const sistrip::Granularity &, const uint32_t &key, const float &value, const float &error)
void SummaryGenerator::format ( const sistrip::RunType run_type,
const sistrip::Monitorable mon,
const sistrip::Presentation pres,
const sistrip::View view,
const std::string &  directory,
const sistrip::Granularity gran,
TH1 &  summary_histo 
)

Some generic formatting of histogram.

Definition at line 117 of file SummaryGenerator.cc.

References createBeamHaloJobs::directory, entries_, SiStripEnumsAndStrings::granularity(), sistrip::HISTO_1D, sistrip::HISTO_2D_SCATTER, sistrip::HISTO_2D_SUM, label_, and sistrip::PROFILE_1D.

Referenced by SummaryPlotFactoryBase::fill(), SummaryHistogramFactory< DaqScopeModeAnalysis >::fill(), and SummaryHistogramFactory< FedTimingAnalysis >::fill().

123  {
124 
125  // Set name, title and entries
126  //std::stringstream ss;
127  //std::string name = SummaryGenerator::name( run_type, mon, pres, view, directory );
128  //summary_histo.SetName( name.c_str() );
129  //summary_histo.SetTitle( name.c_str() );
130  if ( entries_ >= 0. ) { summary_histo.SetEntries( entries_ ); }
131 
132  // X axis
133  summary_histo.GetXaxis()->SetLabelSize(0.03);
134  summary_histo.GetXaxis()->SetTitleSize(0.03);
135  summary_histo.GetXaxis()->SetTitleOffset(3.5);
136  //gPad->SetBottomMargin(0.2);
137 
138  // Y axis
139  summary_histo.GetYaxis()->SetLabelSize(0.03);
140  summary_histo.GetYaxis()->SetTitleSize(0.03);
141  summary_histo.GetYaxis()->SetTitleOffset(1.5);
142  //gPad->SetLeftMargin(0.2);
143 
144  // Axis label
145  if ( pres == sistrip::HISTO_1D ) {
146  std::string xtitle = label_ + " (for " + directory + ")";
147  summary_histo.GetXaxis()->SetTitle( xtitle.c_str() );
148  summary_histo.GetYaxis()->SetTitle( "Frequency" );
149  summary_histo.GetXaxis()->SetTitleOffset(1.5); //@@ override value set above
150  } else {
151  std::string xtitle = SiStripEnumsAndStrings::granularity( gran ) + " within " + directory;
152  summary_histo.GetXaxis()->SetTitle( xtitle.c_str() );
153  summary_histo.GetYaxis()->SetTitle( label_.c_str() );
154  //summary_histo.GetXaxis()->SetTitleOffset(1.5); //@@ override value set above (3.5?)
155  }
156 
157  // Formatting for 2D plots
158  if ( pres == sistrip::HISTO_2D_SCATTER ) {
159  // Markers (open circles)
160  summary_histo.SetMarkerStyle(2);
161  summary_histo.SetMarkerSize(0.6);
162  }
163 
164  // Semi-generic formatting
165  if ( pres == sistrip::HISTO_2D_SUM ||
166  pres == sistrip::HISTO_2D_SCATTER ||
167  pres == sistrip::PROFILE_1D ) {
168  /*
169  //put solid and dotted lines on summary to separate top- and
170  //2nd-from-top- level bin groups.
171 
172  uint16_t topLevel = 0, topLevelOld = 0, secondLevel = 0, secondLevelOld = 0;
173  std::string::size_type pos = 0;
174  for ( HistoData::iterator ibin = map_.begin(); ibin != map_.end(); ibin++) {
175 
176  //draw line if top and second level numbers change.
177  pos = ibin->first.find(sistrip::dot_,0);
178  if (pos != std::string::npos) {
179  if ((topLevel=atoi(std::string(ibin->first,0,pos).c_str())) != topLevelOld) {
180  topLevel = topLevelOld;
181  //
182  }
183  else if (ibin->first.find(sistrip::dot_,pos+1) != std::string::npos) {
184  if ((secondLevelOld=atoi(std::string(ibin->first,pos+1,(ibin->first.find(sistrip::dot_,pos+1)- (pos+1))).c_str())) != secondLevel) {
185  secondLevel = secondLevelOld;
186  //
187  }}}
188  }
189  */
190  }
191 }
static std::string granularity(const sistrip::Granularity &)
void SummaryGenerator::histo1D ( TH1 &  his)

Creates simple 1D histogram of the parameter values.

Definition at line 271 of file SummaryGenerator.cc.

References entries_, interpolateCardsSimple::histo, map_, max_, min_, and sistrip::mlSummaryPlots_.

Referenced by SummaryPlotFactoryBase::fill(), SummaryHistogramFactory< DaqScopeModeAnalysis >::fill(), and SummaryHistogramFactory< FedTimingAnalysis >::fill().

271  {
272 
273  // Check number of entries in map
274  if ( map_.empty() ) {
276  << "[SummaryGenerator::" << __func__ << "]"
277  << " No contents in std::map to histogram!";
278  return;
279  }
280 
281  // Retrieve histogram
282  TH1F* histo = dynamic_cast<TH1F*>(&his);
283  if ( !histo ) {
285  << "[SummaryGenerator::" << __func__ << "]"
286  << " NULL pointer to TH1F histogram!";
287  return;
288  }
289 
290  // Calculate bin range
291  int32_t high = static_cast<int32_t>( fabs(max_) > 20. ? max_ + 0.05 * fabs(max_) : max_ + 1. );
292  int32_t low = static_cast<int32_t>( fabs(min_) > 20. ? min_ - 0.05 * fabs(min_) : min_ - 1. );
293  int32_t range = high - low;
294 
295  // increase number of bins for floats
296 // if ( max_ - static_cast<int32_t>(max_) > 1.e-6 &&
297 // min_ - static_cast<int32_t>(min_) > 1.e-6 ) {
298 // range = 100 * range;
299 // }
300 
301  // Set histogram binning
302  histo->SetBins( range, static_cast<float>(low), static_cast<float>(high) );
303 
304  // Iterate through std::map, set bin labels and fill histogram
305  entries_ = 0.;
306  HistoData::const_iterator ibin = map_.begin();
307  for ( ; ibin != map_.end(); ibin++ ) {
308  if ( ibin->second.empty() ) { continue; }
309  BinData::const_iterator ii = ibin->second.begin();
310  for ( ; ii != ibin->second.end(); ii++ ) {
311  // bin (value) and weight (error)
312  histo->Fill( ii->first ); //, ii->second );
313  entries_++;
314  }
315  }
316 
317 }
static const char mlSummaryPlots_[]
void SummaryGenerator::histo2DScatter ( TH1 &  his)

Creates a 2D scatter histogram, with individual values of the parameter (y-axis) binned as a function of position within the given logical structure, which is view-dependent (x-axis).

Definition at line 361 of file SummaryGenerator.cc.

References newFWLiteAna::bin, entries_, interpolateCardsSimple::histo, map_, and sistrip::mlSummaryPlots_.

Referenced by SummaryPlotFactoryBase::fill(), SummaryHistogramFactory< DaqScopeModeAnalysis >::fill(), and SummaryHistogramFactory< FedTimingAnalysis >::fill().

361  {
362 
363  // Check number of entries in map
364  if ( map_.empty() ) {
366  << "[SummaryGenerator::" << __func__ << "]"
367  << " No contents in std::map to histogram!";
368  return;
369  }
370 
371  // Retrieve histogram
372  TH2F* histo = dynamic_cast<TH2F*>(&his);
373  if ( !histo ) {
375  << "[SummaryGenerator::" << __func__ << "]"
376  << " NULL pointer to TH2F histogram!";
377  return;
378  }
379 
380  // Iterate through std::map, set bin labels and fill histogram
381  entries_ = 0.;
382  uint16_t bin = 0;
383  HistoData::const_iterator ibin = map_.begin();
384  for ( ; ibin != map_.end(); ibin++ ) {
385  bin++;
386  histo->GetXaxis()->SetBinLabel( static_cast<Int_t>(bin), ibin->first.c_str() );
387  if ( ibin->second.empty() ) { continue; }
388  BinData::const_iterator ii = ibin->second.begin();
389  for ( ; ii != ibin->second.end(); ii++ ) {
390  // x (bin), y (value) and weight (error)
391  histo->Fill( static_cast<Double_t>(bin-0.5),
392  static_cast<Double_t>(ii->first) ); // , ii->second );
393  entries_++;
394  }
395  }
396 
397 }
static const char mlSummaryPlots_[]
void SummaryGenerator::histo2DSum ( TH1 &  his)

Creates a 1D histogram, with the weighted sum of the parameter (y-axis) binned as a function of position within the given logical structure, which is view-dependent (x-axis).

Definition at line 321 of file SummaryGenerator.cc.

References newFWLiteAna::bin, entries_, interpolateCardsSimple::histo, map_, and sistrip::mlSummaryPlots_.

Referenced by SummaryPlotFactoryBase::fill(), SummaryHistogramFactory< DaqScopeModeAnalysis >::fill(), and SummaryHistogramFactory< FedTimingAnalysis >::fill().

321  {
322 
323  // Check number of entries in map
324  if ( map_.empty() ) {
326  << "[SummaryGenerator::" << __func__ << "]"
327  << " No contents in std::map to histogram!";
328  return;
329  }
330 
331  // Retrieve histogram
332  TH1F* histo = dynamic_cast<TH1F*>(&his);
333  if ( !histo ) {
335  << "[SummaryGenerator::" << __func__ << "]"
336  << " NULL pointer to TH1F histogram!";
337  return;
338  }
339 
340  // Iterate through map, set bin labels and fill histogram
341  entries_ = 0.;
342  uint16_t bin = 0;
343  HistoData::const_iterator ibin = map_.begin();
344  for ( ; ibin != map_.end(); ibin++ ) {
345  bin++;
346  histo->GetXaxis()->SetBinLabel( static_cast<Int_t>(bin), ibin->first.c_str() );
347  if ( ibin->second.empty() ) { continue; }
348  BinData::const_iterator ii = ibin->second.begin();
349  for ( ; ii != ibin->second.end(); ii++ ) {
350  // x (bin), y (value) and weight (error)
351  histo->Fill( static_cast<Double_t>(bin-0.5),
352  static_cast<Double_t>(ii->first) ); //, ii->second );
353  entries_ += 1. * ii->first;
354  }
355  }
356 
357 }
static const char mlSummaryPlots_[]
TH1 * SummaryGenerator::histogram ( const sistrip::Presentation pres,
const uint32_t &  xbins 
)
static

Creates instance of derived class based on view parameter.

Definition at line 83 of file SummaryGenerator.cc.

References sistrip::HISTO_1D, sistrip::HISTO_2D_SCATTER, sistrip::HISTO_2D_SUM, LogTrace, sistrip::mlSummaryPlots_, SiStripEnumsAndStrings::presentation(), sistrip::PROFILE_1D, and edmLumisInFiles::summary.

84  {
85  if ( !xbins ) { return 0; }
86 
87  TH1* summary = 0;
88  if ( pres == sistrip::HISTO_1D ) {
89  summary = new TH1F( "", "", 1024, 0., static_cast<float>(1024) );
90  } else if ( pres == sistrip::HISTO_2D_SUM ) {
91  summary = new TH1F( "", "", xbins, 0., static_cast<float>(xbins) );
92  } else if ( pres == sistrip::HISTO_2D_SCATTER ) {
93  summary = new TH2F( "", "", 100*xbins, 0., static_cast<float>(100*xbins), 1025, 0., 1025. );
94  } else if ( pres == sistrip::PROFILE_1D ) {
95  summary = new TProfile( "", "", xbins, 0., static_cast<float>(xbins), 0., 1025. );
96  } else { summary = 0; }
97 
98  if ( summary ) {
100  << "[SummaryGenerator::" << __func__ << "]"
101  << " Histogram name: \"" << summary->GetName() << "\"";
102  } else {
104  << "[SummaryGenerator::" << __func__ << "]"
105  << " Unexpected presentation: \""
107  << "\" Unable to build summary plot!"
108  << " Returning NULL pointer!";
109  }
110 
111  return summary;
112 
113 }
const double xbins[]
#define LogTrace(id)
static const char mlSummaryPlots_[]
static std::string presentation(const sistrip::Presentation &)
SummaryGenerator * SummaryGenerator::instance ( const sistrip::View view)
static

Creates instance of derived class based on view parameter.

Definition at line 29 of file SummaryGenerator.cc.

References sistrip::CONTROL_VIEW, python.IdGenerator::generator, LogTrace, sistrip::mlSummaryPlots_, myName(), sistrip::READOUT_VIEW, and SiStripEnumsAndStrings::view().

Referenced by SummaryPlotFactoryBase::init(), SummaryHistogramFactory< FedTimingAnalysis >::init(), SummaryHistogramFactory< DaqScopeModeAnalysis >::init(), and SummaryHistogramFactory< T >::init().

29  {
30 
32  if ( view == sistrip::CONTROL_VIEW ) {
33  generator = new SummaryGeneratorControlView();
34  } else if ( view == sistrip::READOUT_VIEW ) {
35  generator = new SummaryGeneratorReadoutView();
36  } else { generator = 0; }
37 
38  if ( generator ) {
40  << "[SummaryGenerator::" << __func__ << "]"
41  << " Built \"" << generator->myName() << "\" object!";
42  } else {
44  << "[SummaryGenerator::" << __func__ << "]"
45  << " Unexpected view: \""
47  << "\" Unable to build Generator!"
48  << " Returning NULL pointer!";
49  }
50 
51  return generator;
52 
53 }
: Fills summary histograms.
static std::string view(const sistrip::View &)
Fills &quot;summary histograms&quot; in FEC or &quot;control&quot; view.
#define LogTrace(id)
static const char mlSummaryPlots_[]
const std::string & myName() const
Fills &quot;summary histograms&quot; in FED or &quot;readout&quot; view.
const std::string & SummaryGenerator::myName ( void  ) const
inline

Returns name of generator object.

Definition at line 140 of file SummaryGenerator.h.

References myName_.

Referenced by instance().

140 { return myName_; }
std::string SummaryGenerator::name ( const sistrip::RunType run_type,
const sistrip::Monitorable mon,
const sistrip::Presentation pres,
const sistrip::View view,
const std::string &  directory 
)
static

Constructs the summary histogram name.

Definition at line 57 of file SummaryGenerator.cc.

References SiStripEnumsAndStrings::monitorable(), SiStripEnumsAndStrings::presentation(), SiStripEnumsAndStrings::runType(), sistrip::sep_, sistrip::summaryHisto_, and SiStripEnumsAndStrings::view().

Referenced by CommissioningHistograms::histogram(), and Vispa.Views.PropertyView.Property::valueChanged().

61  {
62  std::stringstream ss;
68 
69  //LogTrace(mlSummaryPlots_)
70  //<< "[SummaryGenerator::" << __func__ << "]"
71  //<< " Histogram name: \"" << ss.str() << "\"";
72 
73  return ss.str();
74 }
static std::string monitorable(const sistrip::Monitorable &)
static const char summaryHisto_[]
static std::string view(const sistrip::View &)
static std::string runType(const sistrip::RunType &)
static const char sep_[]
static std::string presentation(const sistrip::Presentation &)
uint32_t SummaryGenerator::nBins ( ) const
inline

Retrieve size of map (ie, number of bins).

Definition at line 141 of file SummaryGenerator.h.

References map_.

Referenced by SummaryPlotFactoryBase::fill(), SummaryPlotFactory< FedCablingAnalysis * >::init(), SummaryPlotFactory< T >::init(), SummaryPlotFactory< CommissioningAnalysis * >::init(), and size().

141 { return map_.size(); }
void SummaryGenerator::printMap ( )

Print contents of map used to generate the histogram(s).

Definition at line 206 of file SummaryGenerator.cc.

References LogTrace, map_, max_, min_, and sistrip::mlSummaryPlots_.

206  {
207 
208  std::stringstream ss;
209  ss << "[SummaryGenerator::" << __func__ << "]"
210  << " Printing contents of map: " << std::endl;
211 
212  HistoData::iterator iter = map_.begin();
213  for ( ; iter != map_.end(); iter++ ) {
214  ss << " bin/entries: " << iter->first << "/" << iter->second.size() << " ";
215  if ( !iter->second.empty() ) {
216  ss << " value/error: ";
217  std::vector<Data>::const_iterator jter = iter->second.begin();
218  for ( ; jter != iter->second.end(); jter++ ) {
219  ss << jter->first << "/" << jter->second << " ";
220  }
221  }
222  ss << std::endl;
223  }
224 
225  ss << " Max value: " << max_ << std::endl
226  << " Min value: " << min_ << std::endl;
227 
228  LogTrace(mlSummaryPlots_) << ss.str();
229 
230 }
#define LogTrace(id)
static const char mlSummaryPlots_[]
void SummaryGenerator::profile1D ( TH1 &  his)

Creates a profile histogram, with the mean and spread of the parameter (y-axis) binned as a function of position within the given logical structure, which is view-dependent (x-axis).

Definition at line 401 of file SummaryGenerator.cc.

References newFWLiteAna::bin, entries_, interpolateCardsSimple::histo, map_, and sistrip::mlSummaryPlots_.

Referenced by SummaryPlotFactoryBase::fill(), SummaryHistogramFactory< DaqScopeModeAnalysis >::fill(), and SummaryHistogramFactory< FedTimingAnalysis >::fill().

401  {
402 
403  // Check number of entries in map
404  if ( map_.empty() ) {
406  << "[SummaryGenerator::" << __func__ << "]"
407  << " No contents in std::map to histogram!";
408  return;
409  }
410 
411  // Retrieve histogram
412  TProfile* histo = dynamic_cast<TProfile*>(&his);
413  if ( !histo ) {
415  << "[SummaryGenerator::" << __func__ << "]"
416  << " NULL pointer to TProfile histogram!";
417  return;
418  }
419 
420  // Iterate through std::map, set bin labels and fill histogram
421  entries_ = 0.;
422  uint16_t bin = 0;
423  HistoData::const_iterator ibin = map_.begin();
424  for ( ; ibin != map_.end(); ibin++ ) {
425  bin++;
426  histo->GetXaxis()->SetBinLabel( static_cast<Int_t>(bin), ibin->first.c_str() );
427  if ( ibin->second.empty() ) { continue; }
428  BinData::const_iterator ii = ibin->second.begin();
429  for ( ; ii != ibin->second.end(); ii++ ) {
430  // x (bin), y (value) and weight (error)
431  histo->Fill( static_cast<Double_t>(bin-.5),
432  static_cast<Double_t>(ii->first) ); //, ii->second );
433  entries_++;
434  }
435  }
436 
437 }
static const char mlSummaryPlots_[]
uint32_t SummaryGenerator::size ( void  ) const
inline

Member Data Documentation

float SummaryGenerator::entries_
protected
std::string SummaryGenerator::label_
protected
HistoData SummaryGenerator::map_
protected

A map designed to holds a set of values. The map containing these values should be indexed by a key.

Definition at line 122 of file SummaryGenerator.h.

Referenced by clearMap(), SummaryGeneratorControlView::fill(), SummaryGeneratorReadoutView::fill(), histo1D(), histo2DScatter(), histo2DSum(), nBins(), printMap(), and profile1D().

float SummaryGenerator::max_
protected

Definition at line 126 of file SummaryGenerator.h.

Referenced by clearMap(), fillMap(), histo1D(), and printMap().

float SummaryGenerator::min_
protected

Definition at line 128 of file SummaryGenerator.h.

Referenced by clearMap(), fillMap(), histo1D(), and printMap().

std::string SummaryGenerator::myName_
private

Definition at line 136 of file SummaryGenerator.h.

Referenced by myName().