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),
12
fail_(0) {}
13
14
void
BaseIsolator::print
(std::ostream &
out
)
const
{
15
using namespace
std
;
16
out
<<
description
() <<
" < "
<<
cut_
<<
": try "
<<
try_
<<
", fail "
<<
fail_
;
17
}
ProducerED_cfi.InputTag
InputTag
Definition:
ProducerED_cfi.py:5
pat::helper::BaseIsolator::try_
std::atomic< uint64_t > try_
Definition:
BaseIsolator.h:45
pat::helper::BaseIsolator::cut_
float cut_
Definition:
BaseIsolator.h:44
std
Definition:
JetResolutionObject.h:76
BaseIsolator.h
try_
T try_(Func f, Response r)
Definition:
OnlineBeamMonitor.cc:139
pat::helper::BaseIsolator::print
void print(std::ostream &out) const
Definition:
BaseIsolator.cc:14
pat::helper::BaseIsolator::description
virtual std::string description() const =0
edm::ValueMap< float >
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
pat::helper::BaseIsolator
Definition:
BaseIsolator.h:13
edm
HLT enums.
Definition:
AlignableModifier.h:19
pat::helper::BaseIsolator::fail_
std::atomic< uint64_t > fail_
Definition:
BaseIsolator.h:45
edm::ParameterSet
Definition:
ParameterSet.h:48
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14