CMS 3D CMS Logo

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

#include <TrigObjTnPHistColl.h>

Public Member Functions

 HistFiller (const edm::ParameterSet &config)
 
void operator() (const trigger::TriggerObject &probe, float mass, dqm::reco::MonitorElement *hist) const
 

Static Public Member Functions

static edm::ParameterSetDescription makePSetDescription ()
 

Private Attributes

VarRangeCutColl< trigger::TriggerObjectlocalCuts_
 
TrigObjVarF var_
 

Detailed Description

Definition at line 158 of file TrigObjTnPHistColl.h.

Constructor & Destructor Documentation

◆ HistFiller()

TrigObjTnPHistColl::HistFiller::HistFiller ( const edm::ParameterSet config)
explicit

Definition at line 290 of file TrigObjTnPHistColl.cc.

291  : localCuts_(config.getParameter<std::vector<edm::ParameterSet>>("localCuts")),
292  var_(config.getParameter<std::string>("var")) {}
Definition: config.py:1
VarRangeCutColl< trigger::TriggerObject > localCuts_

Member Function Documentation

◆ makePSetDescription()

edm::ParameterSetDescription TrigObjTnPHistColl::HistFiller::makePSetDescription ( )
static

◆ operator()()

void TrigObjTnPHistColl::HistFiller::operator() ( const trigger::TriggerObject probe,
float  mass,
dqm::reco::MonitorElement hist 
) const

Definition at line 301 of file TrigObjTnPHistColl.cc.

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

303  {
304  if (localCuts_(probe))
305  hist->Fill(var_(probe), mass);
306 }
VarRangeCutColl< trigger::TriggerObject > localCuts_

Member Data Documentation

◆ localCuts_

VarRangeCutColl<trigger::TriggerObject> TrigObjTnPHistColl::HistFiller::localCuts_
private

Definition at line 165 of file TrigObjTnPHistColl.h.

◆ var_

TrigObjVarF TrigObjTnPHistColl::HistFiller::var_
private

Definition at line 166 of file TrigObjTnPHistColl.h.