Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
PhysicsTools
PatAlgos
src
BaseIsolator.cc
Go to the documentation of this file.
1
#include "
PhysicsTools/PatAlgos/interface/BaseIsolator.h
"
2
#include <sstream>
3
#include <iomanip>
4
5
using
pat::helper::BaseIsolator
;
6
7
BaseIsolator::BaseIsolator(
const
edm::ParameterSet
&
conf
,
bool
withCut) :
8
input_(conf.getParameter<edm::InputTag>(
"src"
)),
9
cut_(withCut ? conf.getParameter<double>(
"cut"
) : -2.0),
10
try_(0), fail_(0)
11
{
12
}
13
14
void
15
BaseIsolator::print
(std::ostream &
out
)
const
{
16
using namespace
std;
17
out <<
description
() <<
" < "
<<
cut_
<<
": try "
<<
try_
<<
", fail "
<<
fail_
;
18
}
19
pat::helper::BaseIsolator::print
void print(std::ostream &out) const
Definition:
BaseIsolator.cc:15
pat::helper::BaseIsolator::cut_
float cut_
Definition:
BaseIsolator.h:34
BaseIsolator.h
dbtoconf.conf
tuple conf
Definition:
dbtoconf.py:185
pat::helper::BaseIsolator::description
virtual std::string description() const =0
dbtoconf.out
tuple out
Definition:
dbtoconf.py:99
pat::helper::BaseIsolator::fail_
uint64_t fail_
Definition:
BaseIsolator.h:35
pat::helper::BaseIsolator
Definition:
BaseIsolator.h:9
edm::ParameterSet
Definition:
ParameterSet.h:35
pat::helper::BaseIsolator::try_
uint64_t try_
Definition:
BaseIsolator.h:35
Generated for CMSSW Reference Manual by
1.8.5