test
CMS 3D CMS Logo

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

Public Member Functions

 HLTTauDQMPlotter (const edm::ParameterSet &pset, const 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,
const std::string &  dqmBaseFolder 
)

Definition at line 5 of file HLTTauDQMPlotter.cc.

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

5  :
6  dqmFullFolder_(dqmBaseFolder),
7  configValid_(false)
8 {
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_
std::string dqmFullFolder_
HLTTauDQMPlotter::HLTTauDQMPlotter ( const std::string &  dqmFolder,
const std::string &  dqmBaseFolder 
)

Definition at line 15 of file HLTTauDQMPlotter.cc.

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

Definition at line 21 of file HLTTauDQMPlotter.cc.

21  {
22 }

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

References delta, HLT_25ns10e33_v2_cff::DeltaR, and GenerateHcalLaserBadRunList::out.

Referenced by HLTTauDQML1Plotter::analyze().

24  {
25  bool matched = false;
26  LV out;
27  for ( std::vector<LV>::const_iterator it = McInfo.begin(); it != McInfo.end(); ++it ) {
29  if ( delta < dr ) {
30  matched = true;
31  out = *it;
32  break;
33  }
34  }
35  return std::pair<bool,LV>(matched,out);
36 }
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(), and triggerTag().