CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
HLTTauDQMPlotter Class Reference

#include <HLTTauDQMPlotter.h>

Inheritance diagram for HLTTauDQMPlotter:
HLTTauDQML1Plotter HLTTauDQMPathPlotter HLTTauDQMPathSummaryPlotter HLTTauDQMTagAndProbePlotter

Public Types

typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 

Public Member Functions

 HLTTauDQMPlotter (const edm::ParameterSet &pset, std::string dqmBaseFolder)
 
 HLTTauDQMPlotter (const std::string &dqmFolder, const std::string &dqmBaseFolder)
 
bool isValid () const
 
 ~HLTTauDQMPlotter ()
 

Protected Member Functions

std::pair< bool, LVmatch (const LV &, const LVColl &, double)
 
const std::string & triggerTag () const
 

Protected Attributes

bool configValid_
 
std::string dqmFolder_
 
std::string dqmFullFolder_
 

Detailed Description

Definition at line 32 of file HLTTauDQMPlotter.h.

Member Typedef Documentation

◆ DQMStore

Definition at line 34 of file HLTTauDQMPlotter.h.

◆ MonitorElement

Definition at line 35 of file HLTTauDQMPlotter.h.

Constructor & Destructor Documentation

◆ HLTTauDQMPlotter() [1/2]

HLTTauDQMPlotter::HLTTauDQMPlotter ( const edm::ParameterSet pset,
std::string  dqmBaseFolder 
)

Definition at line 7 of file HLTTauDQMPlotter.cc.

8  : dqmFullFolder_(std::move(dqmBaseFolder)), configValid_(false) {
9  dqmFolder_ = pset.getUntrackedParameter<std::string>("DQMFolder");
10  dqmFullFolder_ += "/";
12  configValid_ = true;
13 }

References configValid_, dqmFolder_, dqmFullFolder_, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ HLTTauDQMPlotter() [2/2]

HLTTauDQMPlotter::HLTTauDQMPlotter ( const std::string &  dqmFolder,
const std::string &  dqmBaseFolder 
)

Definition at line 15 of file HLTTauDQMPlotter.cc.

16  : dqmFullFolder_(dqmBaseFolder + "/" + dqmFolder), dqmFolder_(dqmFolder), configValid_(true) {}

◆ ~HLTTauDQMPlotter()

HLTTauDQMPlotter::~HLTTauDQMPlotter ( )
default

Member Function Documentation

◆ isValid()

bool HLTTauDQMPlotter::isValid ( void  ) const
inline

◆ match()

std::pair< bool, LV > HLTTauDQMPlotter::match ( const LV jet,
const LVColl McInfo,
double  dr 
)
protected

Definition at line 20 of file HLTTauDQMPlotter.cc.

20  {
21  bool matched = false;
22  LV out;
23  for (auto const& it : McInfo) {
25  if (delta < dr) {
26  matched = true;
27  out = it;
28  break;
29  }
30  }
31  return std::pair<bool, LV>(matched, out);
32 }

References dumpMFGeometry_cfg::delta, electronAnalyzer_cfi::DeltaR, flavorHistoryFilter_cfi::dr, metsig::jet, muonTagProbeFilters_cff::matched, and MillePedeFileConverter_cfg::out.

Referenced by HLTTauDQML1Plotter::analyze().

◆ triggerTag()

const std::string& HLTTauDQMPlotter::triggerTag ( ) const
inlineprotected

Member Data Documentation

◆ configValid_

bool HLTTauDQMPlotter::configValid_
protected

◆ dqmFolder_

std::string HLTTauDQMPlotter::dqmFolder_
protected

Definition at line 48 of file HLTTauDQMPlotter.h.

Referenced by HLTTauDQMPlotter().

◆ dqmFullFolder_

std::string HLTTauDQMPlotter::dqmFullFolder_
protected

Definition at line 47 of file HLTTauDQMPlotter.h.

Referenced by HLTTauDQMPlotter(), and triggerTag().

muonTagProbeFilters_cff.matched
matched
Definition: muonTagProbeFilters_cff.py:62
L1TMonitor_cff.dqmFolder
dqmFolder
Definition: L1TMonitor_cff.py:88
HLTTauDQMPlotter::dqmFullFolder_
std::string dqmFullFolder_
Definition: HLTTauDQMPlotter.h:47
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
dumpMFGeometry_cfg.delta
delta
Definition: dumpMFGeometry_cfg.py:25
electronAnalyzer_cfi.DeltaR
DeltaR
Definition: electronAnalyzer_cfi.py:33
eostools.move
def move(src, dest)
Definition: eostools.py:511
metsig::jet
Definition: SignAlgoResolutions.h:47
flavorHistoryFilter_cfi.dr
dr
Definition: flavorHistoryFilter_cfi.py:37
LV
math::XYZTLorentzVectorD LV
Definition: HLTTauDQMPlotter.h:15
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
HLTTauDQMPlotter::dqmFolder_
std::string dqmFolder_
Definition: HLTTauDQMPlotter.h:48
HLTTauDQMPlotter::configValid_
bool configValid_
Definition: HLTTauDQMPlotter.h:51
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27