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
}
edm
HLT enums.
Definition:
AlignableModifier.h:19
pat::helper::BaseIsolator::fail_
std::atomic< uint64_t > fail_
Definition:
BaseIsolator.h:45
HLT_2018_cff.InputTag
InputTag
Definition:
HLT_2018_cff.py:79016
edm::ParameterSet
Definition:
ParameterSet.h:36
pat::helper::BaseIsolator::print
void print(std::ostream &out) const
Definition:
BaseIsolator.cc:14
pat::helper::BaseIsolator
Definition:
BaseIsolator.h:13
pat::helper::BaseIsolator::cut_
float cut_
Definition:
BaseIsolator.h:44
std
Definition:
JetResolutionObject.h:76
edm::ValueMap< float >
BaseIsolator.h
pat::helper::BaseIsolator::try_
std::atomic< uint64_t > try_
Definition:
BaseIsolator.h:45
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
pat::helper::BaseIsolator::description
virtual std::string description() const =0
Generated for CMSSW Reference Manual by
1.8.16