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

290  : localCuts_(config.getParameter<std::vector<edm::ParameterSet>>("localCuts")),
291  var_(config.getParameter<std::string>("var")) {}

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

302  {
303  if (localCuts_(probe))
304  hist->Fill(var_(probe), mass);
305 }

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

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.

edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
TrigObjTnPHistColl::HistFiller::var_
TrigObjVarF var_
Definition: TrigObjTnPHistColl.h:166
TrigObjTnPHistColl::HistFiller::localCuts_
VarRangeCutColl< trigger::TriggerObject > localCuts_
Definition: TrigObjTnPHistColl.h:165
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
config
Definition: config.py:1
compare.hist
hist
Definition: compare.py:376
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSetDescription::addVPSet
ParameterDescriptionBase * addVPSet(U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults)
Definition: ParameterSetDescription.h:149
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
VarRangeCut
Definition: VarRangeCut.h:29