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 364 of file TrigObjTnPHistColl.cc.

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

367  {
368  hists_ = histDefs.bookHists(iBooker, name, title);
369 }
std::vector< std::pair< HistFiller, dqm::reco::MonitorElement * > > hists_

◆ fill()

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

Definition at line 371 of file TrigObjTnPHistColl.cc.

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

371  {
372  for (auto& hist : hists_) {
373  hist.first(probe, mass, hist.second);
374  }
375 }
std::vector< std::pair< HistFiller, dqm::reco::MonitorElement * > > hists_

Member Data Documentation

◆ hists_

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

Definition at line 211 of file TrigObjTnPHistColl.h.