![]() |
![]() |
Energy scale shifting and smearing module. More...
#include "PhysicsTools/PatAlgos/interface/ObjectSpatialResolution.h"
Public Member Functions | |
ObjectSpatialResolution (const edm::ParameterSet &iConfig) | |
~ObjectSpatialResolution () | |
![]() | |
EDProducer () | |
virtual | ~EDProducer () |
![]() | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
void | smearAngles (T &object) |
Private Attributes | |
CLHEP::RandGaussQ * | gaussian_ |
double | iniResPhi_ |
double | iniResPolar_ |
edm::InputTag | objects_ |
bool | useDefaultIniRes_ |
bool | usePolarTheta_ |
bool | useWorsenResPhiByFactor_ |
bool | useWorsenResPolarByFactor_ |
double | worsenResPhi_ |
double | worsenResPolar_ |
Additional Inherited Members | |
![]() | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
![]() | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
![]() | |
CurrentProcessingContext const * | currentContext () const |
![]() | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Energy scale shifting and smearing module.
This class provides angular smearing to objects with resolutions for systematic error studies. A detailed documentation is found in PhysicsTools/PatAlgos/data/ObjectSpatialResolution.cfi
Definition at line 42 of file ObjectSpatialResolution.h.
|
explicit |
Definition at line 74 of file ObjectSpatialResolution.h.
References edm::RandomNumberGenerator::getEngine(), and edm::ParameterSet::getParameter().
pat::ObjectSpatialResolution< T >::~ObjectSpatialResolution | ( | ) |
Definition at line 95 of file ObjectSpatialResolution.h.
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 102 of file ObjectSpatialResolution.h.
References edm::Event::getByLabel(), i, and edm::Event::put().
|
private |
Sets initial resolution to resolution provided by input object if required, smears eta/theta and phi and sets the 4-vector accordingl.
Definition at line 121 of file ObjectSpatialResolution.h.
References relval_parameters_module::energy, eta(), create_public_lumi_plots::exp, create_public_lumi_plots::log, M_PI, normalizedPhi(), AlCaHLTBitMon_ParallelJobs::p, funct::pow(), funct::sin(), mathSSE::sqrt(), funct::tan(), and theta().
|
private |
Definition at line 65 of file ObjectSpatialResolution.h.
|
private |
Definition at line 56 of file ObjectSpatialResolution.h.
|
private |
Definition at line 56 of file ObjectSpatialResolution.h.
|
private |
Definition at line 55 of file ObjectSpatialResolution.h.
|
private |
Definition at line 60 of file ObjectSpatialResolution.h.
|
private |
Definition at line 60 of file ObjectSpatialResolution.h.
|
private |
Definition at line 60 of file ObjectSpatialResolution.h.
|
private |
Definition at line 60 of file ObjectSpatialResolution.h.
|
private |
Definition at line 56 of file ObjectSpatialResolution.h.
|
private |
Definition at line 56 of file ObjectSpatialResolution.h.