#include <PythiaFilterIsolatedTrack.h>
Static Public Member Functions | |
static void | globalEndJob (const PythiaFilterIsoTracks::Counters *counters) |
static std::unique_ptr< PythiaFilterIsoTracks::Counters > | initializeGlobalCache (edm::ParameterSet const &) |
Static Public Member Functions inherited from edm::stream::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Attributes | |
double | ecDist_ |
double | ecRad_ |
double | IsolCone_ |
double | MaxSeedEta_ |
double | MinIsolTrackMom_ |
double | MinSeedMom_ |
unsigned int | nAll_ |
unsigned int | nGood_ |
bool | onlyHadrons_ |
edm::EDGetTokenT< edm::HepMCProduct > | token_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDFilter< edm::GlobalCache< PythiaFilterIsoTracks::Counters > > | |
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::EDFilterBase | |
typedef EDFilterAdaptorBase | 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 |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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
Definition at line 43 of file PythiaFilterIsolatedTrack.h.
|
explicit |
Definition at line 77 of file PythiaFilterIsolatedTrack.cc.
References edm::ParameterSet::getUntrackedParameter(), IsolCone_, MaxSeedEta_, MinIsolTrackMom_, MinSeedMom_, onlyHadrons_, and token_.
|
override |
Definition at line 87 of file PythiaFilterIsolatedTrack.cc.
|
overridevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 172 of file PythiaFilterIsolatedTrack.cc.
|
overridevirtual |
Implements edm::stream::EDFilterBase.
Definition at line 90 of file PythiaFilterIsolatedTrack.cc.
References funct::abs(), MBUEandQCDValidation_cff::chargedParticles, GenParticle::GenParticle, edm::Event::getByToken(), edm::EventSetup::getData(), getDistInCM(), GetEtaPhiAtEcal(), edm::HepMCProduct::GetEvent(), IsolCone_, MaxSeedEta_, MinIsolTrackMom_, MinSeedMom_, nAll_, nGood_, onlyHadrons_, AlCaHLTBitMon_ParallelJobs::p, p1, p2, mps_update::status, and token_.
double PythiaFilterIsolatedTrack::getDistInCM | ( | double | eta1, |
double | phi1, | ||
double | eta2, | ||
double | phi2 | ||
) |
Definition at line 61 of file PythiaFilterIsolatedTrack.cc.
References funct::cos(), ecDist_, ecRad_, mathSSE::sqrt(), and z.
Referenced by filter().
std::pair< double, double > PythiaFilterIsolatedTrack::GetEtaPhiAtEcal | ( | double | etaIP, |
double | phiIP, | ||
double | pT, | ||
int | charge, | ||
double | vtxZ | ||
) |
Definition at line 14 of file PythiaFilterIsolatedTrack.cc.
References alpha, ALCARECOTkAlJpsiMuMu_cff::charge, hiPixelPairStep_cff::deltaPhi, ecDist_, ecRad_, JetChargeProducer_cfi::exp, cmsBatch::log, pi, funct::sin(), funct::tan(), theta(), and z.
Referenced by filter().
|
static |
Definition at line 177 of file PythiaFilterIsolatedTrack.cc.
References PythiaFilterIsoTracks::Counters::nAll_, and PythiaFilterIsoTracks::Counters::nGood_.
|
inlinestatic |
Definition at line 49 of file PythiaFilterIsolatedTrack.h.
References ALCARECOTkAlJpsiMuMu_cff::charge, ALCARECOTkAlBeamHalo_cff::filter, and PVValHelper::pT.
|
private |
Definition at line 72 of file PythiaFilterIsolatedTrack.h.
Referenced by getDistInCM(), and GetEtaPhiAtEcal().
|
private |
Definition at line 73 of file PythiaFilterIsolatedTrack.h.
Referenced by getDistInCM(), and GetEtaPhiAtEcal().
|
private |
Definition at line 68 of file PythiaFilterIsolatedTrack.h.
Referenced by filter(), and PythiaFilterIsolatedTrack().
|
private |
Definition at line 65 of file PythiaFilterIsolatedTrack.h.
Referenced by filter(), and PythiaFilterIsolatedTrack().
|
private |
Definition at line 67 of file PythiaFilterIsolatedTrack.h.
Referenced by filter(), and PythiaFilterIsolatedTrack().
|
private |
Definition at line 66 of file PythiaFilterIsolatedTrack.h.
Referenced by filter(), and PythiaFilterIsolatedTrack().
|
private |
Definition at line 71 of file PythiaFilterIsolatedTrack.h.
Referenced by endStream(), and filter().
|
private |
Definition at line 71 of file PythiaFilterIsolatedTrack.h.
Referenced by endStream(), and filter().
|
private |
Definition at line 69 of file PythiaFilterIsolatedTrack.h.
Referenced by filter(), and PythiaFilterIsolatedTrack().
|
private |
Definition at line 64 of file PythiaFilterIsolatedTrack.h.
Referenced by filter(), and PythiaFilterIsolatedTrack().