CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
pat::PATMuonSlimmer Class Reference

Slimmer of PAT Muons. More...

Inheritance diagram for pat::PATMuonSlimmer:
edm::stream::EDProducer<> edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

virtual void beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) override final
 
 PATMuonSlimmer (const edm::ParameterSet &iConfig)
 
virtual void produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override
 
virtual ~PATMuonSlimmer ()
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
- Public Member Functions inherited from edm::stream::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- 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 ()
 
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel)
 
virtual ~ProducerBase () noexcept(false)
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () 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
 
EDConsumerBaseoperator= (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 StringCutObjectSelector< pat::MuondropDirectionalIso_
 
const StringCutObjectSelector< pat::MuondropPfP4_
 
const bool linkToPackedPF_
 
const bool modifyMuon_
 
std::unique_ptr< pat::ObjectModifier< pat::Muon > > muonModifier_
 
std::vector< edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > > pf2pc_
 
std::vector< edm::EDGetTokenT< reco::PFCandidateCollection > > pf_
 
const StringCutObjectSelector< pat::MuonsaveTeVMuons_
 
const StringCutObjectSelector< pat::MuonslimCaloMETCorr_
 
const StringCutObjectSelector< pat::MuonslimCaloVars_
 
const StringCutObjectSelector< pat::MuonslimKinkVars_
 
const StringCutObjectSelector< pat::MuonslimMatches_
 
const edm::EDGetTokenT< pat::MuonCollectionsrc_
 

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, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDProducerBase
typedef EDProducerAdaptorBase 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::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)
 

Detailed Description

Slimmer of PAT Muons.

Definition at line 26 of file PATMuonSlimmer.cc.

Constructor & Destructor Documentation

pat::PATMuonSlimmer::PATMuonSlimmer ( const edm::ParameterSet iConfig)
explicit

Definition at line 46 of file PATMuonSlimmer.cc.

References edm::EDConsumerBase::consumes(), edm::EDConsumerBase::consumesCollector(), edm::ParameterSet::getParameter(), linkToPackedPF_, modifyMuon_, muonModifier_, packedPFCandidateRefMixer_cfi::pf, pf2pc_, pf_, and GlobalPosition_Frontier_DevDB_cff::tag.

46  :
47  src_(consumes<pat::MuonCollection>(iConfig.getParameter<edm::InputTag>("src"))),
48  linkToPackedPF_(iConfig.getParameter<bool>("linkToPackedPFCandidates")),
49  saveTeVMuons_(iConfig.getParameter<std::string>("saveTeVMuons")),
50  dropDirectionalIso_(iConfig.getParameter<std::string>("dropDirectionalIso")),
51  dropPfP4_(iConfig.getParameter<std::string>("dropPfP4")),
52  slimCaloVars_(iConfig.getParameter<std::string>("slimCaloVars")),
53  slimKinkVars_(iConfig.getParameter<std::string>("slimKinkVars")),
54  slimCaloMETCorr_(iConfig.getParameter<std::string>("slimCaloMETCorr")),
55  slimMatches_(iConfig.getParameter<std::string>("slimMatches")),
56  modifyMuon_(iConfig.getParameter<bool>("modifyMuons"))
57 {
58  if (linkToPackedPF_) {
59  const std::vector<edm::InputTag> & pf = iConfig.getParameter<std::vector<edm::InputTag>>("pfCandidates");
60  const std::vector<edm::InputTag> & pf2pc = iConfig.getParameter<std::vector<edm::InputTag>>("packedPFCandidates");
61  if (pf.size() != pf2pc.size()) throw cms::Exception("Configuration") << "Mismatching pfCandidates and packedPFCandidates\n";
62  for (const edm::InputTag &tag : pf) pf_.push_back(consumes<reco::PFCandidateCollection>(tag));
64  }
65 
67  if( modifyMuon_ ) {
68  const edm::ParameterSet& mod_config = iConfig.getParameter<edm::ParameterSet>("modifierConfig");
69  muonModifier_.reset(new pat::ObjectModifier<pat::Muon>(mod_config) );
70  muonModifier_->setConsumes(sumes);
71  } else {
72  muonModifier_.reset(nullptr);
73  }
74  produces<std::vector<pat::Muon> >();
75 }
const edm::EDGetTokenT< pat::MuonCollection > src_
T getParameter(std::string const &) const
const StringCutObjectSelector< pat::Muon > dropDirectionalIso_
const StringCutObjectSelector< pat::Muon > slimKinkVars_
const bool linkToPackedPF_
std::vector< edm::EDGetTokenT< reco::PFCandidateCollection > > pf_
const StringCutObjectSelector< pat::Muon > slimCaloVars_
std::unique_ptr< pat::ObjectModifier< pat::Muon > > muonModifier_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
const StringCutObjectSelector< pat::Muon > dropPfP4_
const StringCutObjectSelector< pat::Muon > slimMatches_
std::vector< edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > > pf2pc_
const StringCutObjectSelector< pat::Muon > saveTeVMuons_
const StringCutObjectSelector< pat::Muon > slimCaloMETCorr_
virtual pat::PATMuonSlimmer::~PATMuonSlimmer ( )
inlinevirtual

Definition at line 29 of file PATMuonSlimmer.cc.

References beginLuminosityBlock(), iEvent, and produce().

29 { }

Member Function Documentation

void pat::PATMuonSlimmer::beginLuminosityBlock ( const edm::LuminosityBlock ,
const edm::EventSetup iSetup 
)
finaloverridevirtual

Definition at line 78 of file PATMuonSlimmer.cc.

References modifyMuon_, and muonModifier_.

Referenced by ~PATMuonSlimmer().

78  {
79  if( modifyMuon_ ) muonModifier_->setEventContent(iSetup);
80 }
std::unique_ptr< pat::ObjectModifier< pat::Muon > > muonModifier_
void pat::PATMuonSlimmer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Definition at line 83 of file PATMuonSlimmer.cc.

References reco::Muon::calEnergy(), pat::Muon::caloMETMuonCorrs(), reco::Muon::combinedQuality(), reco::MuonMETCorrectionData::corrX(), reco::MuonMETCorrectionData::corrY(), DEFINE_FWK_MODULE, dropDirectionalIso_, dropPfP4_, reco::MuonSegmentMatch::dXdZErr, reco::MuonSegmentMatch::dYdZErr, reco::MuonEnergy::ecal_position, reco::MuonEnergy::ecal_time, reco::MuonEnergy::ecal_timeError, reco::MuonEnergy::em, pat::Muon::embedCaloMETMuonCorrs(), pat::Muon::embedDytMuon(), pat::Muon::embedPickyMuon(), pat::Muon::embedTpfmsMuon(), reco::MuonEnergy::emMax, reco::MuonEnergy::emS25, edm::Event::getByToken(), reco::MuonEnergy::had, reco::MuonEnergy::hadMax, reco::MuonEnergy::hadS9, reco::MuonEnergy::hcal_position, reco::MuonEnergy::hcal_time, reco::MuonEnergy::hcal_timeError, mps_fire::i, reco::Muon::isEnergyValid(), reco::Muon::isMatchesValid(), edm::Ref< C, T, F >::isNonnull(), reco::Muon::isPFMuon(), reco::Muon::isQualityValid(), linkToPackedPF_, reco::Muon::matches(), modifyMuon_, eostools::move(), RPCpg::mu, muonModifier_, reco::PFCandidate::muonRef(), gen::n, reco::MuonMETCorrectionData::NotUsed, MillePedeFileConverter_cfg::out, AlCaHLTBitMon_ParallelJobs::p, packedPFCandidateRefMixer_cfi::pf, pf2pc_, pf_, edm::Event::put(), pat::PATObject< ObjectType >::refToOrig_, edm::refToPtr(), saveTeVMuons_, reco::Muon::setCalEnergy(), reco::Muon::setCombinedQuality(), reco::Muon::setPFIsolation(), reco::Muon::setPFP4(), slimCaloMETCorr_, slimCaloVars_, slimKinkVars_, slimMatches_, TrackRefitter_38T_cff::src, src_, reco::MuonQuality::tkKink_position, reco::MuonEnergy::tower, reco::MuonEnergy::towerS9, reco::MuonMETCorrectionData::type(), reco::MuonSegmentMatch::xErr, and reco::MuonSegmentMatch::yErr.

Referenced by ~PATMuonSlimmer().

83  {
84  using namespace edm;
85  using namespace std;
86 
88  iEvent.getByToken(src_, src);
89 
90  auto out = std::make_unique<std::vector<pat::Muon>>();
91  out->reserve(src->size());
92 
93  if( modifyMuon_ ) { muonModifier_->setEvent(iEvent); }
94 
95  std::map<reco::CandidatePtr,pat::PackedCandidateRef> mu2pc;
96  if (linkToPackedPF_) {
99  for (unsigned int ipfh = 0, npfh = pf_.size(); ipfh < npfh; ++ipfh) {
100  iEvent.getByToken(pf_[ipfh], pf);
101  iEvent.getByToken(pf2pc_[ipfh], pf2pc);
102  const auto & pfcoll = (*pf);
103  const auto & pfmap = (*pf2pc);
104  for (unsigned int i = 0, n = pf->size(); i < n; ++i) {
105  const reco::PFCandidate &p = pfcoll[i];
106  if (p.muonRef().isNonnull()) mu2pc[refToPtr(p.muonRef())] = pfmap[reco::PFCandidateRef(pf, i)];
107  }
108  }
109  }
110 
111  for (vector<pat::Muon>::const_iterator it = src->begin(), ed = src->end(); it != ed; ++it) {
112  out->push_back(*it);
113  pat::Muon & mu = out->back();
114 
115  if( modifyMuon_ ) { muonModifier_->modify(mu); }
116 
117  if (saveTeVMuons_(mu)){mu.embedPickyMuon(); mu.embedTpfmsMuon(); mu.embedDytMuon();}
118  if (linkToPackedPF_) {
119  mu.refToOrig_ = refToPtr(mu2pc[mu.refToOrig_]);
120  }
121  if (dropDirectionalIso_(mu)) {
123  mu.setPFIsolation("pfIsoMeanDRProfileR03",zero);
124  mu.setPFIsolation("pfIsoSumDRProfileR03",zero);
125  mu.setPFIsolation("pfIsoMeanDRProfileR04",zero);
126  mu.setPFIsolation("pfIsoSumDRProfileR04",zero);
127  }
129  if (slimCaloVars_(mu) && mu.isEnergyValid()) {
130  reco::MuonEnergy ene = mu.calEnergy();
131  if (ene.tower) ene.tower = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.tower);
132  if (ene.towerS9) ene.towerS9 = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.towerS9);
133  if (ene.had) ene.had = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.had);
134  if (ene.hadS9) ene.hadS9 = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.hadS9);
135  if (ene.hadMax) ene.hadMax = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.hadMax);
136  if (ene.em) ene.em = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.em);
137  if (ene.emS25) ene.emS25 = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.emS25);
138  if (ene.emMax) ene.emMax = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.emMax);
139  if (ene.hcal_time) ene.hcal_time = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.hcal_time);
140  if (ene.hcal_timeError) ene.hcal_timeError = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.hcal_timeError);
141  if (ene.ecal_time) ene.ecal_time = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.ecal_time);
142  if (ene.ecal_timeError) ene.ecal_timeError = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.ecal_timeError);
143  ene.ecal_position = math::XYZPointF(MiniFloatConverter::reduceMantissaToNbitsRounding<14>(ene.ecal_position.X()),
144  MiniFloatConverter::reduceMantissaToNbitsRounding<14>(ene.ecal_position.Y()),
145  MiniFloatConverter::reduceMantissaToNbitsRounding<14>(ene.ecal_position.Z()));
146  ene.hcal_position = math::XYZPointF(MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.hcal_position.X()),
147  MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.hcal_position.Y()),
148  MiniFloatConverter::reduceMantissaToNbitsRounding<12>(ene.hcal_position.Z()));
149  mu.setCalEnergy(ene);
150  }
151  if (slimKinkVars_(mu) && mu.isQualityValid()) {
153  qual.tkKink_position = math::XYZPointF(MiniFloatConverter::reduceMantissaToNbitsRounding<12>(qual.tkKink_position.X()),
154  MiniFloatConverter::reduceMantissaToNbitsRounding<12>(qual.tkKink_position.Y()),
155  MiniFloatConverter::reduceMantissaToNbitsRounding<12>(qual.tkKink_position.Z()));
156  mu.setCombinedQuality(qual);
157  }
160  corrs = reco::MuonMETCorrectionData(corrs.type(), MiniFloatConverter::reduceMantissaToNbitsRounding<10>(corrs.corrX()), MiniFloatConverter::reduceMantissaToNbitsRounding<10>(corrs.corrY()));
161  mu.embedCaloMETMuonCorrs(corrs);
162  }
163  if (slimMatches_(mu) && mu.isMatchesValid()) {
164  for (reco::MuonChamberMatch & cmatch : mu.matches()) {
165  cmatch.edgeX = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(cmatch.edgeX);
166  cmatch.edgeY = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(cmatch.edgeY);
167  cmatch.xErr = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(cmatch.xErr);
168  cmatch.yErr = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(cmatch.yErr);
169  cmatch.dXdZErr = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(cmatch.dXdZErr);
170  cmatch.dYdZErr = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(cmatch.dYdZErr);
171  for (reco::MuonSegmentMatch & smatch : cmatch.segmentMatches) {
172  smatch.xErr = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(smatch.xErr);
173  smatch.yErr = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(smatch.yErr);
174  smatch.dXdZErr = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(smatch.dXdZErr);
175  smatch.dYdZErr = MiniFloatConverter::reduceMantissaToNbitsRounding<12>(smatch.dYdZErr);
176  }
177  }
178  }
179  }
180 
181  iEvent.put(std::move(out));
182 }
const edm::EDGetTokenT< pat::MuonCollection > src_
float ecal_timeError
Definition: MuonEnergy.h:38
void embedDytMuon()
embed reference to the above dyt Track
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:122
const StringCutObjectSelector< pat::Muon > dropDirectionalIso_
const StringCutObjectSelector< pat::Muon > slimKinkVars_
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:252
void embedTpfmsMuon()
embed reference to the above tpfms Track
Ptr< typename C::value_type > refToPtr(Ref< C, typename C::value_type, refhelper::FindUsingAdvance< C, typename C::value_type > > const &ref)
Definition: RefToPtr.h:18
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:460
const bool linkToPackedPF_
std::vector< edm::EDGetTokenT< reco::PFCandidateCollection > > pf_
bool isMatchesValid() const
Definition: Muon.h:142
const StringCutObjectSelector< pat::Muon > slimCaloVars_
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float > > XYZPointF
point in space with cartesian internal representation
Definition: Point3D.h:10
void setCalEnergy(const MuonEnergy &calEnergy)
set energy deposition information
Definition: Muon.h:113
std::unique_ptr< pat::ObjectModifier< pat::Muon > > muonModifier_
float towerS9
total energy in 3x3 tower shape
Definition: MuonEnergy.h:12
float ecal_time
Calorimeter timing.
Definition: MuonEnergy.h:37
float emS25
energy deposited in 5x5 ECAL crystal shape around central crystal
Definition: MuonEnergy.h:20
MuonQuality combinedQuality() const
get energy deposition information
Definition: Muon.h:121
void setPFIsolation(const std::string &label, const reco::MuonPFIsolation &deposit)
const int mu
Definition: Constants.h:22
bool isQualityValid() const
Definition: Muon.h:119
math::XYZPointF hcal_position
Definition: MuonEnergy.h:44
bool isEnergyValid() const
Definition: Muon.h:109
reco::MuonRef muonRef() const
Definition: PFCandidate.cc:455
MuonEnergy calEnergy() const
get energy deposition information
Definition: Muon.h:111
float emMax
maximal energy of ECAL crystal in the 5x5 shape
Definition: MuonEnergy.h:22
const StringCutObjectSelector< pat::Muon > dropPfP4_
float hadMax
maximal energy of HCAL tower in the 3x3 shape
Definition: MuonEnergy.h:30
void setCombinedQuality(const MuonQuality &combinedQuality)
set energy deposition information
Definition: Muon.h:123
std::vector< MuonChamberMatch > & matches()
get muon matching information
Definition: Muon.h:144
const StringCutObjectSelector< pat::Muon > slimMatches_
math::XYZPoint tkKink_position
Kink position for the tracker stub and global track.
Definition: MuonQuality.h:32
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:39
HLT enums.
void embedCaloMETMuonCorrs(const reco::MuonMETCorrectionData &t)
std::vector< edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > > pf2pc_
bool isPFMuon() const
Definition: Muon.h:229
virtual void setPFP4(const reco::Candidate::LorentzVector &p4_)
float hcal_timeError
Definition: MuonEnergy.h:40
const StringCutObjectSelector< pat::Muon > saveTeVMuons_
const StringCutObjectSelector< pat::Muon > slimCaloMETCorr_
void embedPickyMuon()
embed reference to the above picky Track
math::XYZPointF ecal_position
Trajectory position at the calorimeter.
Definition: MuonEnergy.h:43
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Particle.h:21
Analysis-level muon class.
Definition: Muon.h:49
edm::Ptr< reco::Candidate > refToOrig_
Definition: PATObject.h:421
float hadS9
energy deposited in 3x3 HCAL tower shape around central tower
Definition: MuonEnergy.h:28
def move(src, dest)
Definition: eostools.py:510
reco::MuonMETCorrectionData caloMETMuonCorrs() const
muon MET corrections for caloMET; returns the muon correction struct if embedded during pat tuple pro...
Definition: Muon.h:103

Member Data Documentation

const StringCutObjectSelector<pat::Muon> pat::PATMuonSlimmer::dropDirectionalIso_
private

Definition at line 39 of file PATMuonSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Muon> pat::PATMuonSlimmer::dropPfP4_
private

Definition at line 39 of file PATMuonSlimmer.cc.

Referenced by produce().

const bool pat::PATMuonSlimmer::linkToPackedPF_
private

Definition at line 38 of file PATMuonSlimmer.cc.

Referenced by PATMuonSlimmer(), and produce().

const bool pat::PATMuonSlimmer::modifyMuon_
private

Definition at line 40 of file PATMuonSlimmer.cc.

Referenced by beginLuminosityBlock(), PATMuonSlimmer(), and produce().

std::unique_ptr<pat::ObjectModifier<pat::Muon> > pat::PATMuonSlimmer::muonModifier_
private

Definition at line 41 of file PATMuonSlimmer.cc.

Referenced by beginLuminosityBlock(), PATMuonSlimmer(), and produce().

std::vector<edm::EDGetTokenT<edm::Association<pat::PackedCandidateCollection> > > pat::PATMuonSlimmer::pf2pc_
private

Definition at line 37 of file PATMuonSlimmer.cc.

Referenced by PATMuonSlimmer(), and produce().

std::vector<edm::EDGetTokenT<reco::PFCandidateCollection> > pat::PATMuonSlimmer::pf_
private

Definition at line 36 of file PATMuonSlimmer.cc.

Referenced by PATMuonSlimmer(), and produce().

const StringCutObjectSelector<pat::Muon> pat::PATMuonSlimmer::saveTeVMuons_
private

Definition at line 39 of file PATMuonSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Muon> pat::PATMuonSlimmer::slimCaloMETCorr_
private

Definition at line 39 of file PATMuonSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Muon> pat::PATMuonSlimmer::slimCaloVars_
private

Definition at line 39 of file PATMuonSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Muon> pat::PATMuonSlimmer::slimKinkVars_
private

Definition at line 39 of file PATMuonSlimmer.cc.

Referenced by produce().

const StringCutObjectSelector<pat::Muon> pat::PATMuonSlimmer::slimMatches_
private

Definition at line 39 of file PATMuonSlimmer.cc.

Referenced by produce().

const edm::EDGetTokenT<pat::MuonCollection> pat::PATMuonSlimmer::src_
private

Definition at line 35 of file PATMuonSlimmer.cc.

Referenced by produce().