Main Page
Namespaces
Classes
Package Documentation
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
std
Definition:
JetResolutionObject.h:80
BaseIsolator.h
pat::helper::BaseIsolator::description
virtual std::string description() const =0
edm::ValueMap< float >
pat::helper::BaseIsolator::fail_
uint64_t fail_
Definition:
BaseIsolator.h:37
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
pat::helper::BaseIsolator
Definition:
BaseIsolator.h:10
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
pat::helper::BaseIsolator::try_
uint64_t try_
Definition:
BaseIsolator.h:37
Generated for CMSSW Reference Manual by
1.8.11