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.

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

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

◆ 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) {}
std::string dqmFolder_
std::string dqmFullFolder_

◆ ~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.

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

Referenced by HLTTauDQML1Plotter::analyze().

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 }
math::XYZTLorentzVectorD LV

◆ 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().