CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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), fail_(0)
12 {
13 }
14 
15 void
16 BaseIsolator::print(std::ostream &out) const {
17  using namespace std;
18  out << description() << " < " << cut_ << ": try " << try_ << ", fail " << fail_;
19 }
20 
void print(std::ostream &out) const
Definition: BaseIsolator.cc:16
virtual std::string description() const =0