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
,
edm::ConsumesCollector
& iC,
bool
withCut) :
8
input_(conf.getParameter<edm::InputTag>(
"src"
)),
9
inputToken_(iC.consumes<
Isolation
>(input_)),
10
cut_(withCut ? conf.getParameter<double>(
"cut"
) : -2.0),
11
try_(0), fail_(0)
12
{
13
}
14
15
void
16
BaseIsolator::print
(std::ostream &
out
)
const
{
17
using namespace
std;
18
out <<
description
() <<
" < "
<<
cut_
<<
": try "
<<
try_
<<
", fail "
<<
fail_
;
19
}
20
pat::helper::BaseIsolator::print
void print(std::ostream &out) const
Definition:
BaseIsolator.cc:16
pat::helper::BaseIsolator::cut_
float cut_
Definition:
BaseIsolator.h:36
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
edm::ValueMap< float >
pat::helper::BaseIsolator::fail_
uint64_t fail_
Definition:
BaseIsolator.h:37
pat::helper::BaseIsolator
Definition:
BaseIsolator.h:10
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::ConsumesCollector
Definition:
ConsumesCollector.h:32
pat::helper::BaseIsolator::try_
uint64_t try_
Definition:
BaseIsolator.h:37
Generated for CMSSW Reference Manual by
1.8.5