#include <IsolatedPixelTrackCandidateProducer.h>
Classes | |
struct | seedAtEC |
Public Member Functions | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
double | getDistInCM (double eta1, double phi1, double eta2, double phi2) |
std::pair< double, double > | GetEtaPhiAtEcal (double etaIP, double phiIP, double pT, int charge, double vtxZ) |
IsolatedPixelTrackCandidateProducer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &evt, const edm::EventSetup &es) override |
~IsolatedPixelTrackCandidateProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
~EDProducerBase () override | |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
const std::string | bfield_ |
double | bfVal_ |
const double | ebEtaBoundary_ |
const double | maxPForIsolationValue_ |
const double | minPTrackValue_ |
const double | pixelIsolationConeSizeAtEC_ |
const double | prelimCone_ |
double | rEB_ |
const double | tauAssocCone_ |
const double | tauUnbiasCone_ |
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > | tok_hlt_ |
const edm::EDGetTokenT< l1extra::L1JetParticleCollection > | tok_l1_ |
const edm::EDGetTokenT< reco::VertexCollection > | tok_vert_ |
const std::vector< edm::EDGetTokenT< reco::TrackCollection > > | toks_pix_ |
const double | vtxCutIsol_ |
const double | vtxCutSeed_ |
double | zEE_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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) |
Definition at line 41 of file IsolatedPixelTrackCandidateProducer.h.
IsolatedPixelTrackCandidateProducer::IsolatedPixelTrackCandidateProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 42 of file IsolatedPixelTrackCandidateProducer.cc.
References bfield_, bfVal_, ebEtaBoundary_, maxPForIsolationValue_, minPTrackValue_, pixelIsolationConeSizeAtEC_, prelimCone_, rEB_, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, tauAssocCone_, tauUnbiasCone_, vtxCutIsol_, vtxCutSeed_, and zEE_.
|
override |
Definition at line 67 of file IsolatedPixelTrackCandidateProducer.cc.
|
override |
Definition at line 71 of file IsolatedPixelTrackCandidateProducer.cc.
References g4SimHits_cfi::BField, bfVal_, DetId::Ecal, EcalBarrel, EcalEndcap, edm::EventSetup::get(), CaloGeometry::getSubdetectorGeometry(), VolumeBasedMagneticField::inTesla(), PV3DBase< T, PVType, FrameType >::mag(), rEB_, zEE_, and geometryCSVtoXML::zz.
double IsolatedPixelTrackCandidateProducer::getDistInCM | ( | double | eta1, |
double | phi1, | ||
double | eta2, | ||
double | phi2 | ||
) |
Definition at line 208 of file IsolatedPixelTrackCandidateProducer.cc.
References funct::abs(), angle(), funct::cos(), JetChargeProducer_cfi::exp, M_PI_2, rEB_, funct::sin(), funct::tan(), and zEE_.
Referenced by produce().
std::pair< double, double > IsolatedPixelTrackCandidateProducer::GetEtaPhiAtEcal | ( | double | etaIP, |
double | phiIP, | ||
double | pT, | ||
int | charge, | ||
double | vtxZ | ||
) |
Definition at line 223 of file IsolatedPixelTrackCandidateProducer.cc.
References funct::abs(), alpha, bfVal_, ALCARECOTkAlJpsiMuMu_cff::charge, hiPixelPairStep_cff::deltaPhi, ebEtaBoundary_, JetChargeProducer_cfi::exp, cmsBatch::log, M_PI, M_PI_2, rEB_, funct::sin(), funct::tan(), theta(), z, and zEE_.
Referenced by produce().
|
override |
Definition at line 89 of file IsolatedPixelTrackCandidateProducer.cc.
References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, reco::deltaR(), PVValHelper::dxy, PVValHelper::dz, PVValHelper::eta, runEdmFileComparison::found, edm::Event::getByToken(), getDistInCM(), GetEtaPhiAtEcal(), mps_fire::i, NewRecoMuonValidator_cfi::maxP, maxPForIsolationValue_, minPTrackValue_, eostools::move(), convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, phi, pixelIsolationConeSizeAtEC_, prelimCone_, EnergyCorrector::pt, edm::Event::put(), SurveyInfoScenario_cff::seed, reco::IsolatedPixelTrackCandidate::setEtaPhiEcal(), tauAssocCone_, tok_l1_, tok_vert_, toks_pix_, findElectronsInSiStrips_cfi::trackCollection, vtxCutIsol_, and vtxCutSeed_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 68 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer().
|
private |
Definition at line 82 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by beginRun(), GetEtaPhiAtEcal(), and IsolatedPixelTrackCandidateProducer().
|
private |
Definition at line 77 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by GetEtaPhiAtEcal(), and IsolatedPixelTrackCandidateProducer().
|
private |
Definition at line 76 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 75 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 70 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 69 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 80 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by beginRun(), getDistInCM(), GetEtaPhiAtEcal(), and IsolatedPixelTrackCandidateProducer().
|
private |
Definition at line 73 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 74 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer().
|
private |
Definition at line 63 of file IsolatedPixelTrackCandidateProducer.h.
|
private |
Definition at line 64 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by produce().
|
private |
Definition at line 65 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by produce().
|
private |
Definition at line 66 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by produce().
|
private |
Definition at line 72 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 71 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 81 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by beginRun(), getDistInCM(), GetEtaPhiAtEcal(), and IsolatedPixelTrackCandidateProducer().