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

TrigObjTnPHistColl::HistColl::HistColl ( )
inline

Member Function Documentation

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.

References TrigObjTnPHistColl::HistDefs::bookHists().

366  {
367  hists_ = histDefs.bookHists(iBooker, name, title);
368 }
std::vector< std::pair< HistFiller, dqm::reco::MonitorElement * > > hists_
void TrigObjTnPHistColl::HistColl::fill ( const trigger::TriggerObject probe,
float  mass 
) const

Definition at line 370 of file TrigObjTnPHistColl.cc.

References compare::hist.

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

Member Data Documentation

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

Definition at line 211 of file TrigObjTnPHistColl.h.