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

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

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

◆ fill()

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

Definition at line 372 of file TrigObjTnPHistColl.cc.

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

372  {
373  for (auto& hist : hists_) {
374  hist.first(probe, mass, hist.second);
375  }
376 }
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.