Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
}
pat::helper::BaseIsolator::print
void print(std::ostream &out) const
Definition:
BaseIsolator.cc:14
pat::helper::BaseIsolator::try_
std::atomic< uint64_t > try_
Definition:
BaseIsolator.h:45
pat::helper::BaseIsolator::cut_
float cut_
Definition:
BaseIsolator.h:44
BaseIsolator.h
pat::helper::BaseIsolator::description
virtual std::string description() const =0
edm::ValueMap< float >
pat::helper::BaseIsolator
Definition:
BaseIsolator.h:13
HLT_FULL_cff.InputTag
tuple InputTag
Definition:
HLT_FULL_cff.py:72505
pat::helper::BaseIsolator::fail_
std::atomic< uint64_t > fail_
Definition:
BaseIsolator.h:45
edm::ParameterSet
Definition:
ParameterSet.h:47
submitPVResolutionJobs.out
string out
Definition:
submitPVResolutionJobs.py:118
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.5