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")) {}

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.

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

References gpuVertexFinder::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.

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
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
gpuVertexFinder::hist
__shared__ Hist hist
Definition: gpuClusterTracksDBSCAN.h:48
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
VarRangeCut
Definition: VarRangeCut.h:29