#include <PythiaFilterIsolatedTrack.h>
Public Member Functions | |
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
PythiaFilterIsolatedTrack (const edm::ParameterSet &) | |
~PythiaFilterIsolatedTrack () | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilter () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static double | getDistInCM (double eta1, double phi1, double eta2, double phi2) |
static std::pair< double, double > | GetEtaPhiAtEcal (double etaIP, double phiIP, double pT, int charge, double vtxZ) |
Static Public Member Functions inherited from edm::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Private Attributes | |
double | IsolCone_ |
double | MaxSeedEta_ |
double | MinIsolTrackMom_ |
double | MinSeedMom_ |
double | PixelEfficiency_ |
edm::Service < edm::RandomNumberGenerator > | rng_ |
edm::EDGetTokenT < edm::HepMCProduct > | token_ |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
PythiaFilterGammaJet filter implements generator-level preselections for ChargedHadron+jet like events to be used in jet energy calibration. Ported from fortran code written by V.Konoplianikov.
Cleaned up code, and added pixel efficiency functionality
Definition at line 36 of file PythiaFilterIsolatedTrack.h.
|
explicit |
Definition at line 82 of file PythiaFilterIsolatedTrack.cc.
References Exception, edm::Service< T >::isAvailable(), and rng_.
PythiaFilterIsolatedTrack::~PythiaFilterIsolatedTrack | ( | ) |
Definition at line 98 of file PythiaFilterIsolatedTrack.cc.
|
virtual |
Implements edm::EDFilter.
Definition at line 104 of file PythiaFilterIsolatedTrack.cc.
References funct::abs(), MBUEandQCDValidation_cff::chargedParticles, GenParticle::GenParticle, edm::Event::getByToken(), edm::EventSetup::getData(), getDistInCM(), edm::RandomNumberGenerator::getEngine(), GetEtaPhiAtEcal(), IsolCone_, MaxSeedEta_, MinIsolTrackMom_, MinSeedMom_, AlCaHLTBitMon_ParallelJobs::p, p1, p2, PixelEfficiency_, rng_, ntuplemaker::status, edm::Event::streamID(), and token_.
|
static |
Definition at line 66 of file PythiaFilterIsolatedTrack.cc.
References funct::cos(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, mathSSE::sqrt(), and z.
Referenced by filter().
|
static |
Definition at line 17 of file PythiaFilterIsolatedTrack.cc.
References alpha, RecoTauCleanerPlugins::charge, SiPixelRawToDigiRegional_cfi::deltaPhi, create_public_lumi_plots::exp, cmsBatch::log, funct::sin(), funct::tan(), theta(), and z.
Referenced by filter().
|
private |
Definition at line 55 of file PythiaFilterIsolatedTrack.h.
Referenced by filter().
|
private |
Definition at line 52 of file PythiaFilterIsolatedTrack.h.
Referenced by filter().
|
private |
Definition at line 54 of file PythiaFilterIsolatedTrack.h.
Referenced by filter().
|
private |
Definition at line 53 of file PythiaFilterIsolatedTrack.h.
Referenced by filter().
|
private |
Definition at line 56 of file PythiaFilterIsolatedTrack.h.
Referenced by filter().
|
private |
Definition at line 59 of file PythiaFilterIsolatedTrack.h.
Referenced by filter(), and PythiaFilterIsolatedTrack().
|
private |
Definition at line 51 of file PythiaFilterIsolatedTrack.h.
Referenced by filter().