CMS 3D CMS Logo

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

#include <HLTTauDQMPlotter.h>

Inheritance diagram for HLTTauDQMPlotter:
HLTTauDQML1Plotter HLTTauDQMPathPlotter HLTTauDQMPathSummaryPlotter HLTTauDQMTagAndProbePlotter

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 33 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.

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

Definition at line 17 of file HLTTauDQMPlotter.cc.

References ~HLTTauDQMPlotter().

17  :
18  dqmFullFolder_(dqmBaseFolder+"/"+dqmFolder),
19  dqmFolder_(dqmFolder),
20  configValid_(true)
21 {}
std::string dqmFolder_
std::string dqmFullFolder_
HLTTauDQMPlotter::~HLTTauDQMPlotter ( )
default

Referenced by HLTTauDQMPlotter().

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 25 of file HLTTauDQMPlotter.cc.

References delta, HiRegitMuonDetachedTripletStep_cff::DeltaR, electrons_cff::matched, and MillePedeFileConverter_cfg::out.

Referenced by HLTTauDQML1Plotter::analyze().

25  {
26  bool matched = false;
27  LV out;
28  for (auto const & it : McInfo) {
30  if ( delta < dr ) {
31  matched = true;
32  out = it;
33  break;
34  }
35  }
36  return std::pair<bool,LV>(matched,out);
37 }
dbl * delta
Definition: mlp_gen.cc:36
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 47 of file HLTTauDQMPlotter.h.

Referenced by HLTTauDQMPlotter().

std::string HLTTauDQMPlotter::dqmFullFolder_
protected

Definition at line 46 of file HLTTauDQMPlotter.h.

Referenced by HLTTauDQMPlotter().