CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BaseIsolator.cc
Go to the documentation of this file.
2 #include <sstream>
3 #include <iomanip>
4 
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 }
void print(std::ostream &out) const
Definition: BaseIsolator.cc:14
std::atomic< uint64_t > try_
Definition: BaseIsolator.h:45
virtual std::string description() const =0
std::atomic< uint64_t > fail_
Definition: BaseIsolator.h:45