CMS 3D CMS Logo

Classes | Public Member Functions | Protected Member Functions | Protected Attributes

HLTTauDQMPlotter Class Reference

#include <HLTTauDQMPlotter.h>

Inheritance diagram for HLTTauDQMPlotter:
HLTTauDQMCaloPlotter HLTTauDQML1Plotter HLTTauDQMLitePathPlotter HLTTauDQMPathPlotter HLTTauDQMSummaryPlotter HLTTauDQMTrkPlotter

List of all members.

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

                                   {
    //Declare DQM Store
    store_ = edm::Service<DQMStore>().operator->();
    validity_ = false;
}
HLTTauDQMPlotter::~HLTTauDQMPlotter ( ) [virtual]

Definition at line 9 of file HLTTauDQMPlotter.cc.

                                    {
}

Member Function Documentation

bool HLTTauDQMPlotter::isValid ( void  ) const [inline]

Definition at line 31 of file HLTTauDQMPlotter.h.

References validity_.

{ 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 HLTTauDQMTrkPlotter::analyze(), HLTTauDQMLitePathPlotter::analyze(), HLTTauDQMPathPlotter::analyze(), HLTTauDQMCaloPlotter::analyze(), and HLTTauDQML1Plotter::analyze().

                                                                                         {
    bool matched = false;
    LV out;
    for ( std::vector<LV>::const_iterator it = McInfo.begin(); it != McInfo.end(); ++it ) {
        double delta = ROOT::Math::VectorUtil::DeltaR(jet,*it);
        if ( delta < dr ) {
            matched = true;
            out = *it;
            break;
        }
    }
    return std::pair<bool,LV>(matched,out);
}
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]
std::string HLTTauDQMPlotter::triggerTag_ [protected]
std::string HLTTauDQMPlotter::triggerTagAlias_ [protected]
bool HLTTauDQMPlotter::validity_ [protected]