CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
12 // system include files
13 #include <memory>
14 
15 // user include files
21 
25 
26 
27 
28 
30  public:
32 
33  MuPFIsoHelper(const std::map<std::string,edm::ParameterSet>&,edm::ConsumesCollector&&);
34 
35  void beginEvent(const edm::Event& iEvent);
36 
46 
47 
48  ~MuPFIsoHelper();
49 
50 
51  private:
52 
53  std::map<std::string,edm::ParameterSet> labelMap_;
54 
55  std::vector<edm::Handle<CandDoubleMap> > chargedParticle_;
56  std::vector<edm::Handle<CandDoubleMap> > chargedHadron_;
57  std::vector<edm::Handle<CandDoubleMap> > neutralHadron_;
58  std::vector<edm::Handle<CandDoubleMap> > neutralHadronHighThreshold_;
59  std::vector<edm::Handle<CandDoubleMap> > photon_;
60  std::vector<edm::Handle<CandDoubleMap> > photonHighThreshold_;
61  std::vector<edm::Handle<CandDoubleMap> > pu_;
62 
63  std::vector<edm::EDGetTokenT<CandDoubleMap> > chargedParticleToken_;
64  std::vector<edm::EDGetTokenT<CandDoubleMap> > chargedHadronToken_;
65  std::vector<edm::EDGetTokenT<CandDoubleMap> > neutralHadronToken_;
66  std::vector<edm::EDGetTokenT<CandDoubleMap> > neutralHadronHighThresholdToken_;
67  std::vector<edm::EDGetTokenT<CandDoubleMap> > photonToken_;
68  std::vector<edm::EDGetTokenT<CandDoubleMap> > photonHighThresholdToken_;
69  std::vector<edm::EDGetTokenT<CandDoubleMap> > puToken_;
70 
71 };
72 #endif
std::vector< edm::EDGetTokenT< CandDoubleMap > > neutralHadronHighThresholdToken_
Definition: MuPFIsoHelper.h:66
std::vector< edm::EDGetTokenT< CandDoubleMap > > chargedHadronToken_
Definition: MuPFIsoHelper.h:64
std::vector< edm::Handle< CandDoubleMap > > chargedHadron_
Definition: MuPFIsoHelper.h:56
std::vector< edm::EDGetTokenT< CandDoubleMap > > photonHighThresholdToken_
Definition: MuPFIsoHelper.h:68
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:61
std::vector< edm::EDGetTokenT< CandDoubleMap > > neutralHadronToken_
Definition: MuPFIsoHelper.h:65
std::vector< edm::Handle< CandDoubleMap > > neutralHadronHighThreshold_
Definition: MuPFIsoHelper.h:58
int iEvent
Definition: GenABIO.cc:230
std::vector< edm::EDGetTokenT< CandDoubleMap > > chargedParticleToken_
Definition: MuPFIsoHelper.h:63
std::vector< edm::Handle< CandDoubleMap > > chargedParticle_
Definition: MuPFIsoHelper.h:55
std::vector< edm::Handle< CandDoubleMap > > photon_
Definition: MuPFIsoHelper.h:59
std::vector< edm::Handle< CandDoubleMap > > neutralHadron_
Definition: MuPFIsoHelper.h:57
int embedPFIsolation(reco::Muon &, reco::MuonRef &)
std::vector< edm::EDGetTokenT< CandDoubleMap > > puToken_
Definition: MuPFIsoHelper.h:69
edm::ValueMap< double > CandDoubleMap
Definition: MuPFIsoHelper.h:31
std::vector< edm::Handle< CandDoubleMap > > photonHighThreshold_
Definition: MuPFIsoHelper.h:60
void beginEvent(const edm::Event &iEvent)
std::map< std::string, edm::ParameterSet > labelMap_
Definition: MuPFIsoHelper.h:53
std::vector< edm::EDGetTokenT< CandDoubleMap > > photonToken_
Definition: MuPFIsoHelper.h:67
MuPFIsoHelper(const std::map< std::string, edm::ParameterSet > &, edm::ConsumesCollector &&)
Definition: MuPFIsoHelper.cc:4