CMS 3D CMS Logo

Classes | Functions
CandIsolatorFromDeposits.cc File Reference
#include "CommonTools/Utils/interface/StringObjectFunction.h"
#include "DataFormats/Candidate/interface/CandAssociation.h"
#include "DataFormats/Candidate/interface/Candidate.h"
#include "DataFormats/Common/interface/Handle.h"
#include "DataFormats/MuonReco/interface/Muon.h"
#include "DataFormats/RecoCandidate/interface/IsoDeposit.h"
#include "DataFormats/RecoCandidate/interface/IsoDepositDirection.h"
#include "DataFormats/RecoCandidate/interface/IsoDepositFwd.h"
#include "DataFormats/RecoCandidate/interface/IsoDepositVetos.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "PhysicsTools/IsolationAlgos/interface/EventDependentAbsVeto.h"
#include "PhysicsTools/IsolationAlgos/interface/IsoDepositVetoFactory.h"
#include <string>
#include <regex>
#include "FWCore/Framework/interface/MakerMacros.h"

Go to the source code of this file.

Classes

class  CandIsolatorFromDeposits
 
class  CandIsolatorFromDeposits::SingleDeposit
 

Functions

bool isNumber (const std::string &str)
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< CandIsolatorFromDeposits > > s_filler__LINE__ ("CandIsolatorFromDeposits")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< CandIsolatorFromDeposits > > s_maker__LINE__ ("CandIsolatorFromDeposits")
 
double toNumber (const std::string &str)
 

Function Documentation

◆ isNumber()

bool isNumber ( const std::string &  str)

Definition at line 63 of file CandIsolatorFromDeposits.cc.

References str.

Referenced by CandIsolatorFromDeposits::SingleDeposit::SingleDeposit().

63  {
64  static const std::regex re("^[+-]?(\\d+\\.?|\\d*\\.\\d*)$");
65  return regex_match(str.c_str(), re);
66 }
#define str(s)

◆ s_filler__LINE__()

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< CandIsolatorFromDeposits > > s_filler__LINE__ ( "CandIsolatorFromDeposits"  )
static

◆ s_maker__LINE__()

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< CandIsolatorFromDeposits > > s_maker__LINE__ ( "CandIsolatorFromDeposits"  )
static

◆ toNumber()

double toNumber ( const std::string &  str)

Definition at line 67 of file CandIsolatorFromDeposits.cc.

References str.

Referenced by CandIsolatorFromDeposits::SingleDeposit::SingleDeposit().

67 { return atof(str.c_str()); }
#define str(s)