CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
TrigObjTnPHistColl::HistColl Class Reference

#include <TrigObjTnPHistColl.h>

Public Member Functions

void bookHists (DQMStore::IBooker &iBooker, const std::string &name, const std::string &title, const HistDefs &histDefs)
 
void fill (const trigger::TriggerObject &probe, float mass) const
 
 HistColl ()
 

Private Attributes

std::vector< std::pair< HistFiller, dqm::reco::MonitorElement * > > hists_
 

Detailed Description

Definition at line 201 of file TrigObjTnPHistColl.h.

Constructor & Destructor Documentation

◆ HistColl()

TrigObjTnPHistColl::HistColl::HistColl ( )
inline

Definition at line 203 of file TrigObjTnPHistColl.h.

203 {}

Member Function Documentation

◆ bookHists()

void TrigObjTnPHistColl::HistColl::bookHists ( DQMStore::IBooker iBooker,
const std::string &  name,
const std::string &  title,
const HistDefs histDefs 
)

Definition at line 363 of file TrigObjTnPHistColl.cc.

366  {
367  hists_ = histDefs.bookHists(iBooker, name, title);
368 }

References trigObjTnPSource_cfi::histDefs, Skims_PA_cff::name, and overlapproblemtsosanalyzer_cfi::title.

◆ fill()

void TrigObjTnPHistColl::HistColl::fill ( const trigger::TriggerObject probe,
float  mass 
) const

Definition at line 370 of file TrigObjTnPHistColl.cc.

370  {
371  for (auto& hist : hists_) {
372  hist.first(probe, mass, hist.second);
373  }
374 }

References compare::hist, and EgHLTOffHistBins_cfi::mass.

Member Data Documentation

◆ hists_

std::vector<std::pair<HistFiller, dqm::reco::MonitorElement*> > TrigObjTnPHistColl::HistColl::hists_
private

Definition at line 211 of file TrigObjTnPHistColl.h.

trigObjTnPSource_cfi.histDefs
histDefs
Definition: trigObjTnPSource_cfi.py:73
compare.hist
hist
Definition: compare.py:376
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
TrigObjTnPHistColl::HistColl::hists_
std::vector< std::pair< HistFiller, dqm::reco::MonitorElement * > > hists_
Definition: TrigObjTnPHistColl.h:211