#include <IsolatedPixelTrackCandidateProducer.h>
Public Member Functions | |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) override |
double | getDistInCM (double eta1, double phi1, double eta2, double phi2) |
std::pair< double, double > | GetEtaPhiAtEcal (const edm::EventSetup &iSetup, double etaIP, double phiIP, double pT, int charge, double vtxZ) |
IsolatedPixelTrackCandidateProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &evt, const edm::EventSetup &es) override |
~IsolatedPixelTrackCandidateProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
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 | |
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 |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Attributes | |
std::string | bfield_ |
double | ebEtaBoundary_ |
double | maxPForIsolationValue_ |
double | minPTrackValue_ |
edm::ParameterSet | parameters |
double | pixelIsolationConeSizeAtEC_ |
std::vector< edm::InputTag > | pixelTracksSources_ |
double | prelimCone_ |
double | rEB_ |
double | tauAssocCone_ |
double | tauUnbiasCone_ |
edm::EDGetTokenT < trigger::TriggerFilterObjectWithRefs > | tok_hlt_ |
edm::EDGetTokenT < l1extra::L1JetParticleCollection > | tok_l1_ |
edm::EDGetTokenT < reco::VertexCollection > | tok_vert_ |
std::vector< edm::EDGetTokenT < reco::TrackCollection > > | toks_pix_ |
double | vtxCutIsol_ |
double | vtxCutSeed_ |
double | zEE_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 29 of file IsolatedPixelTrackCandidateProducer.h.
IsolatedPixelTrackCandidateProducer::IsolatedPixelTrackCandidateProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 52 of file IsolatedPixelTrackCandidateProducer.cc.
References bfield_, ebEtaBoundary_, edm::ParameterSet::getParameter(), i, maxPForIsolationValue_, minPTrackValue_, pixelIsolationConeSizeAtEC_, pixelTracksSources_, prelimCone_, rEB_, AlCaHLTBitMon_QueryRunRegistry::string, tauAssocCone_, tauUnbiasCone_, tok_hlt_, tok_l1_, tok_vert_, toks_pix_, vtxCutIsol_, vtxCutSeed_, and zEE_.
IsolatedPixelTrackCandidateProducer::~IsolatedPixelTrackCandidateProducer | ( | ) |
Definition at line 79 of file IsolatedPixelTrackCandidateProducer.cc.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 83 of file IsolatedPixelTrackCandidateProducer.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, edm::EventSetup::get(), rEB_, and zEE_.
double IsolatedPixelTrackCandidateProducer::getDistInCM | ( | double | eta1, |
double | phi1, | ||
double | eta2, | ||
double | phi2 | ||
) |
Definition at line 266 of file IsolatedPixelTrackCandidateProducer.cc.
References angle(), funct::cos(), create_public_lumi_plots::exp, funct::sin(), and funct::tan().
Referenced by produce().
std::pair< double, double > IsolatedPixelTrackCandidateProducer::GetEtaPhiAtEcal | ( | const edm::EventSetup & | iSetup, |
double | etaIP, | ||
double | phiIP, | ||
double | pT, | ||
int | charge, | ||
double | vtxZ | ||
) |
Definition at line 283 of file IsolatedPixelTrackCandidateProducer.cc.
References alpha, SQLiteEnsembleGenerator_cfg::BField, DeDxDiscriminatorTools::charge(), SiPixelRawToDigiRegional_cfi::deltaPhi, ebEtaBoundary_, create_public_lumi_plots::exp, edm::EventSetup::get(), VolumeBasedMagneticField::inTesla(), fff_deletion::log, PV3DBase< T, PVType, FrameType >::mag(), rEB_, funct::sin(), funct::tan(), theta(), detailsBasic3DVector::z, and zEE_.
Referenced by produce().
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 98 of file IsolatedPixelTrackCandidateProducer.cc.
References DeDxDiscriminatorTools::charge(), deltaR(), eta(), edm::Event::getByToken(), getDistInCM(), GetEtaPhiAtEcal(), maxPForIsolationValue_, minPTrackValue_, AlCaHLTBitMon_ParallelJobs::p, phi, pixelIsolationConeSizeAtEC_, prelimCone_, RecoTauCleanerPlugins::pt, edm::Event::put(), dttmaxenums::R, tauAssocCone_, tauUnbiasCone_, tok_hlt_, tok_l1_, tok_vert_, toks_pix_, trigger::TriggerL1CenJet, trigger::TriggerL1ForJet, trigger::TriggerL1TauJet, vtxCutIsol_, and vtxCutSeed_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 60 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer().
|
private |
Definition at line 65 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by GetEtaPhiAtEcal(), and IsolatedPixelTrackCandidateProducer().
|
private |
Definition at line 62 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 61 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 46 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 55 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 45 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer().
|
private |
Definition at line 54 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 63 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by beginRun(), GetEtaPhiAtEcal(), and IsolatedPixelTrackCandidateProducer().
|
private |
Definition at line 58 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 59 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 48 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 49 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 50 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 52 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 57 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 56 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by IsolatedPixelTrackCandidateProducer(), and produce().
|
private |
Definition at line 64 of file IsolatedPixelTrackCandidateProducer.h.
Referenced by beginRun(), GetEtaPhiAtEcal(), and IsolatedPixelTrackCandidateProducer().