#include <Onia2MuMuPAT.h>
Public Member Functions | |
Onia2MuMuPAT (const edm::ParameterSet &) | |
~Onia2MuMuPAT () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 () |
Private Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
std::pair< int, float > | findJpsiMCInfo (reco::GenParticleRef genJpsi) |
bool | isAbHadron (int pdgID) |
bool | isAMixedbHadron (int pdgID, int momPdgID) |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::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 37 of file Onia2MuMuPAT.h.
|
explicit |
Definition at line 28 of file Onia2MuMuPAT.cc.
References HLT_25ns10e33_v2_cff::InputTag, revtxbs_, and revtxtrks_.
Onia2MuMuPAT::~Onia2MuMuPAT | ( | ) |
Definition at line 46 of file Onia2MuMuPAT.cc.
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 419 of file Onia2MuMuPAT.cc.
References isAbHadron(), isAMixedbHadron(), edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::isNull(), and mps_fire::result.
Referenced by produce().
|
private |
Definition at line 401 of file Onia2MuMuPAT.cc.
References funct::abs().
Referenced by findJpsiMCInfo().
|
private |
Definition at line 409 of file Onia2MuMuPAT.cc.
References funct::abs().
Referenced by findJpsiMCInfo().
|
privatevirtual |
DCA
end DCA
Implements edm::EDProducer.
Definition at line 61 of file Onia2MuMuPAT.cc.
References IPTools::absoluteImpactParameter3D(), addCommonVertex_, reco::CompositeCandidate::addDaughter(), addMCTruth_, addMuonlessPrimaryVertex_, pat::PATObject< ObjectType >::addUserData(), pat::PATObject< ObjectType >::addUserFloat(), pat::PATObject< ObjectType >::addUserInt(), align::BeamSpot, reco::Candidate::begin(), TwoTrackMinimumDistance::calculate(), ClosestApproachInRPhi::calculate(), gather_cfg::cout, TransientVertex::degreesOfFreedom(), dimuonSelection_, VertexDistanceXY::distance(), ClosestApproachInRPhi::distance(), pat::PATObject< ObjectType >::embedGenParticle(), Measurement1D::error(), relativeConstraints::error, cppFunctionSkipper::exception, findJpsiMCInfo(), edm::EventSetup::get(), edm::Event::getByToken(), higherPuritySelection_, reco::TrackBase::highPurity, edm::ProductID::id(), edm::HandleBase::id(), edm::Ref< C, T, F >::id(), reco::Muon::innerTrack(), HLT_25ns10e33_v2_cff::InputTag, InvariantMassFromVertex::invariantMass(), edm::Ref< C, T, F >::isNonnull(), edm::HandleBase::isValid(), TrajectoryStateClosestToPoint::isValid(), TransientVertex::isValid(), jpsi, edm::Ref< C, T, F >::key(), lowerPuritySelection_, HLT_25ns10e33_v2_cff::magneticField, OniaVtxReProducer::makeVertices(), reco::LeafCandidate::mass(), massCalculator, GlobalErrorBase< T, ErrorWeightType >::matrix(), patZpeak::muons, muons_, reco::Candidate::pdgId(), TwoTrackMinimumDistance::points(), TransientVertex::position(), reco::TrackBase::pt(), reco::TrackBase::ptError(), edm::Event::put(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), reco::TrackBase::quality(), dt_dqm_sourceclient_common_cff::reco, resolveAmbiguity_, reco::return(), revtxbs_, revtxtrks_, reco::LeafCandidate::setCharge(), pat::PATObject< ObjectType >::setGenParticleRef(), reco::LeafCandidate::setP4(), mathSSE::sqrt(), ClosestApproachInRPhi::status(), mps_update::status, thebeamspot_, thePVs_, TrajectoryStateClosestToPoint::theState(), TransientVertex::totalChiSquared(), reco::Muon::track(), reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), reco::Vertex::trackWeight(), groupFilesInBlocks::tt, Measurement1D::value(), KalmanVertexFitter::vertex(), vPComparator_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 61 of file Onia2MuMuPAT.h.
Referenced by produce().
|
private |
Definition at line 63 of file Onia2MuMuPAT.h.
Referenced by produce().
|
private |
Definition at line 61 of file Onia2MuMuPAT.h.
Referenced by produce().
|
private |
Definition at line 60 of file Onia2MuMuPAT.h.
Referenced by produce().
|
private |
Definition at line 58 of file Onia2MuMuPAT.h.
Referenced by produce().
|
private |
Definition at line 59 of file Onia2MuMuPAT.h.
Referenced by produce().
|
private |
Definition at line 66 of file Onia2MuMuPAT.h.
Referenced by produce().
|
private |
Definition at line 53 of file Onia2MuMuPAT.h.
Referenced by produce().
|
private |
Definition at line 62 of file Onia2MuMuPAT.h.
Referenced by produce().
|
private |
Definition at line 57 of file Onia2MuMuPAT.h.
Referenced by Onia2MuMuPAT(), and produce().
|
private |
Definition at line 56 of file Onia2MuMuPAT.h.
Referenced by Onia2MuMuPAT(), and produce().
|
private |
Definition at line 54 of file Onia2MuMuPAT.h.
Referenced by produce().
|
private |
Definition at line 55 of file Onia2MuMuPAT.h.
Referenced by produce().
|
private |
Definition at line 64 of file Onia2MuMuPAT.h.
Referenced by produce().