CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Protected Member Functions | Protected Attributes
HLTTauDQMPlotter Class Referenceabstract

#include <HLTTauDQMPlotter.h>

Inheritance diagram for HLTTauDQMPlotter:
HLTTauDQMCaloPlotter HLTTauDQML1Plotter HLTTauDQMLitePathPlotter HLTTauDQMPathPlotter HLTTauDQMSummaryPlotter HLTTauDQMTrkPlotter

Classes

class  FilterObject
 

Public Member Functions

 HLTTauDQMPlotter ()
 
bool isValid () const
 
virtual const std::string name ()=0
 
virtual ~HLTTauDQMPlotter ()
 

Protected Member Functions

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

Protected Attributes

std::string dqmBaseFolder_
 
std::string name_
 
DQMStorestore_
 
std::string triggerTag_
 
std::string triggerTagAlias_
 
bool validity_
 

Detailed Description

Definition at line 26 of file HLTTauDQMPlotter.h.

Constructor & Destructor Documentation

HLTTauDQMPlotter::HLTTauDQMPlotter ( )

Definition at line 3 of file HLTTauDQMPlotter.cc.

References cppFunctionSkipper::operator, store_, and validity_.

3  {
4  //Declare DQM Store
6  validity_ = false;
7 }
HLTTauDQMPlotter::~HLTTauDQMPlotter ( )
virtual

Definition at line 9 of file HLTTauDQMPlotter.cc.

9  {
10 }

Member Function Documentation

bool HLTTauDQMPlotter::isValid ( void  ) const
inline

Definition at line 31 of file HLTTauDQMPlotter.h.

References validity_.

31 { return validity_; }
std::pair< bool, LV > HLTTauDQMPlotter::match ( const LV jet,
const LVColl McInfo,
double  dr 
)
protected

Definition at line 12 of file HLTTauDQMPlotter.cc.

References delta, and dbtoconf::out.

Referenced by HLTTauDQMCaloPlotter::analyze(), HLTTauDQMTrkPlotter::analyze(), HLTTauDQMLitePathPlotter::analyze(), HLTTauDQML1Plotter::analyze(), and HLTTauDQMPathPlotter::analyze().

12  {
13  bool matched = false;
14  LV out;
15  for ( std::vector<LV>::const_iterator it = McInfo.begin(); it != McInfo.end(); ++it ) {
16  double delta = ROOT::Math::VectorUtil::DeltaR(jet,*it);
17  if ( delta < dr ) {
18  matched = true;
19  out = *it;
20  break;
21  }
22  }
23  return std::pair<bool,LV>(matched,out);
24 }
dbl * delta
Definition: mlp_gen.cc:36
math::XYZTLorentzVectorD LV
tuple out
Definition: dbtoconf.py:99
virtual const std::string HLTTauDQMPlotter::name ( )
pure virtual
std::string HLTTauDQMPlotter::triggerTag ( )
protected

Member Data Documentation

std::string HLTTauDQMPlotter::dqmBaseFolder_
protected
std::string HLTTauDQMPlotter::name_
protected
DQMStore* HLTTauDQMPlotter::store_
protected
std::string HLTTauDQMPlotter::triggerTag_
protected
std::string HLTTauDQMPlotter::triggerTagAlias_
protected
bool HLTTauDQMPlotter::validity_
protected