CMS 3D CMS Logo

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 }
std::atomic< uint64_t > try_
Definition: BaseIsolator.h:45
void print(std::ostream &out) const
Definition: BaseIsolator.cc:14
virtual std::string description() const =0
HLT enums.
std::atomic< uint64_t > fail_
Definition: BaseIsolator.h:45