CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

Definition at line 34 of file HLTTauDQMPlotter.h.

Definition at line 35 of file HLTTauDQMPlotter.h.

Constructor & Destructor Documentation

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

Definition at line 7 of file HLTTauDQMPlotter.cc.

References configValid_, dqmFolder_, dqmFullFolder_, edm::ParameterSet::getUntrackedParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.

8  : dqmFullFolder_(std::move(dqmBaseFolder)), configValid_(false) {
9  dqmFolder_ = pset.getUntrackedParameter<std::string>("DQMFolder");
10  dqmFullFolder_ += "/";
11  dqmFullFolder_ += dqmFolder_;
12  configValid_ = true;
13 }
T getUntrackedParameter(std::string const &, T const &) const
std::string dqmFolder_
def move
Definition: eostools.py:511
std::string dqmFullFolder_
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 ( )
default

Member Function Documentation

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

Definition at line 20 of file HLTTauDQMPlotter.cc.

References CommonMethods::delta(), HLT_FULL_cff::DeltaR, and submitPVResolutionJobs::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
const std::string& HLTTauDQMPlotter::triggerTag ( ) const
inlineprotected

Member Data Documentation

bool HLTTauDQMPlotter::configValid_
protected
std::string HLTTauDQMPlotter::dqmFolder_
protected

Definition at line 48 of file HLTTauDQMPlotter.h.

Referenced by HLTTauDQMPlotter().

std::string HLTTauDQMPlotter::dqmFullFolder_
protected

Definition at line 47 of file HLTTauDQMPlotter.h.

Referenced by HLTTauDQMPlotter(), and triggerTag().