CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MuPFIsoHelper.h
Go to the documentation of this file.
1 #ifndef RecoMuon_MuonIsolation_MuPFIsoHelper_H
2 #define RecoMuon_MuonIsolation_MuPFIsoHelper_H
3 
4 //MuPFIsoHelper
5 //Class to embed PF2PAT style Isodeposits
6 //To reco::Muon
7 //
8 //Author: Michalis Bachtis(U.Wisconsin)
9 //bachtis@cern.ch
10 
11 // system include files
12 #include <memory>
13 
14 // user include files
20 
24 
26 public:
28 
29  MuPFIsoHelper(const std::map<std::string, edm::ParameterSet>&, edm::ConsumesCollector&&);
30 
31  void beginEvent(const edm::Event& iEvent);
32 
42 
44 
45 private:
46  std::map<std::string, edm::ParameterSet> labelMap_;
47 
48  std::vector<edm::Handle<CandDoubleMap> > chargedParticle_;
49  std::vector<edm::Handle<CandDoubleMap> > chargedHadron_;
50  std::vector<edm::Handle<CandDoubleMap> > neutralHadron_;
51  std::vector<edm::Handle<CandDoubleMap> > neutralHadronHighThreshold_;
52  std::vector<edm::Handle<CandDoubleMap> > photon_;
53  std::vector<edm::Handle<CandDoubleMap> > photonHighThreshold_;
54  std::vector<edm::Handle<CandDoubleMap> > pu_;
55 
56  std::vector<edm::EDGetTokenT<CandDoubleMap> > chargedParticleToken_;
57  std::vector<edm::EDGetTokenT<CandDoubleMap> > chargedHadronToken_;
58  std::vector<edm::EDGetTokenT<CandDoubleMap> > neutralHadronToken_;
59  std::vector<edm::EDGetTokenT<CandDoubleMap> > neutralHadronHighThresholdToken_;
60  std::vector<edm::EDGetTokenT<CandDoubleMap> > photonToken_;
61  std::vector<edm::EDGetTokenT<CandDoubleMap> > photonHighThresholdToken_;
62  std::vector<edm::EDGetTokenT<CandDoubleMap> > puToken_;
63 };
64 #endif
std::vector< edm::EDGetTokenT< CandDoubleMap > > neutralHadronHighThresholdToken_
Definition: MuPFIsoHelper.h:59
std::vector< edm::EDGetTokenT< CandDoubleMap > > chargedHadronToken_
Definition: MuPFIsoHelper.h:57
std::vector< edm::Handle< CandDoubleMap > > chargedHadron_
Definition: MuPFIsoHelper.h:49
std::vector< edm::EDGetTokenT< CandDoubleMap > > photonHighThresholdToken_
Definition: MuPFIsoHelper.h:61
reco::MuonPFIsolation makeIsoDeposit(reco::MuonRef &, const edm::Handle< CandDoubleMap > &, const edm::Handle< CandDoubleMap > &, const edm::Handle< CandDoubleMap > &, const edm::Handle< CandDoubleMap > &, const edm::Handle< CandDoubleMap > &, const edm::Handle< CandDoubleMap > &, const edm::Handle< CandDoubleMap > &)
std::vector< edm::Handle< CandDoubleMap > > pu_
Definition: MuPFIsoHelper.h:54
std::vector< edm::EDGetTokenT< CandDoubleMap > > neutralHadronToken_
Definition: MuPFIsoHelper.h:58
std::vector< edm::Handle< CandDoubleMap > > neutralHadronHighThreshold_
Definition: MuPFIsoHelper.h:51
int iEvent
Definition: GenABIO.cc:224
std::map< std::string, edm::ParameterSet > labelMap_
Definition: MuPFIsoHelper.h:46
std::vector< edm::EDGetTokenT< CandDoubleMap > > chargedParticleToken_
Definition: MuPFIsoHelper.h:56
std::vector< edm::Handle< CandDoubleMap > > chargedParticle_
Definition: MuPFIsoHelper.h:48
std::vector< edm::Handle< CandDoubleMap > > photon_
Definition: MuPFIsoHelper.h:52
std::vector< edm::Handle< CandDoubleMap > > neutralHadron_
Definition: MuPFIsoHelper.h:50
int embedPFIsolation(reco::Muon &, reco::MuonRef &)
std::vector< edm::EDGetTokenT< CandDoubleMap > > puToken_
Definition: MuPFIsoHelper.h:62
edm::ValueMap< double > CandDoubleMap
Definition: MuPFIsoHelper.h:27
std::vector< edm::Handle< CandDoubleMap > > photonHighThreshold_
Definition: MuPFIsoHelper.h:53
void beginEvent(const edm::Event &iEvent)
std::vector< edm::EDGetTokenT< CandDoubleMap > > photonToken_
Definition: MuPFIsoHelper.h:60
MuPFIsoHelper(const std::map< std::string, edm::ParameterSet > &, edm::ConsumesCollector &&)
Definition: MuPFIsoHelper.cc:3