CMS 3D CMS Logo

MuonProducer.h
Go to the documentation of this file.
1 #ifndef RecoMuon_MuonIdentification_MuonProducer_H
2 #define RecoMuon_MuonIdentification_MuonProducer_H
3 
16 
19 
20 namespace reco {class Track;}
23 
28 
35 
38 
42 
43 
44 class MuPFIsoHelper;
45 
46 
48 public:
49 
52 
54  virtual ~MuonProducer();
55 
57  virtual void produce(edm::Event&, const edm::EventSetup&) override;
58 
59 
60  typedef std::vector<edm::InputTag> InputTags;
61 
62 protected:
63 
64 private:
65  template<typename TYPE>
66  void fillMuonMap(edm::Event& event,
68  const std::vector<TYPE>& muonExtra,
69  const std::string& label);
70 
72 
74  alias.erase( alias.size() - 1, alias.size() );
75  theAlias=alias;
76  }
77 
78  std::string labelOrInstance(const edm::InputTag &) const;
79 
80 private:
81  bool debug_;
83 
86 
89 
90 
91 
101 
107 
113 
114 
116  std::vector<edm::EDGetTokenT<edm::ValueMap<bool> > > theSelectorMapTokens_;
117 
118 
121 
126 
128 
132 
133 
134 
135 
136  std::vector<std::map<std::string,edm::InputTag> > pfIsoMapNames;
137  std::vector<std::map<std::string,edm::EDGetTokenT<edm::ValueMap<double> > > > pfIsoMapTokens_;
138 
139 };
140 #endif
141 
142 
143 
edm::EDGetTokenT< reco::MuonTimeExtraMap > timeMapCSCToken_
Definition: MuonProducer.h:131
edm::InputTag theTrackDepositName
Definition: MuonProducer.h:102
edm::EDGetTokenT< edm::ValueMap< unsigned int > > theCosmicIdMapToken_
Definition: MuonProducer.h:123
edm::EDGetTokenT< reco::MuonTimeExtraMap > timeMapDTToken_
Definition: MuonProducer.h:130
bool fillSelectors_
Definition: MuonProducer.h:94
std::string theAlias
Definition: MuonProducer.h:71
edm::EDGetTokenT< edm::ValueMap< reco::MuonShower > > theShowerMapToken_
Definition: MuonProducer.h:120
edm::InputTag theEcalDepositName
Definition: MuonProducer.h:103
std::vector< edm::EDGetTokenT< edm::ValueMap< bool > > > theSelectorMapTokens_
Definition: MuonProducer.h:116
edm::EDGetTokenT< reco::IsoDepositMap > theJetDepositToken_
Definition: MuonProducer.h:112
bool fillCosmicsIdMap_
Definition: MuonProducer.h:95
edm::EDGetTokenT< reco::IsoDepositMap > theHoDepositToken_
Definition: MuonProducer.h:111
bool fillIsolation_
Definition: MuonProducer.h:92
edm::InputTag thePFCandLabel
Definition: MuonProducer.h:87
edm::EDGetTokenT< reco::PFCandidateCollection > thePFCandToken_
Definition: MuonProducer.h:88
std::vector< std::map< std::string, edm::InputTag > > pfIsoMapNames
Definition: MuonProducer.h:136
edm::EDGetTokenT< reco::IsoDepositMap > theTrackDepositToken_
Definition: MuonProducer.h:108
bool fillDetectorBasedIsolation_
Definition: MuonProducer.h:98
std::vector< std::map< std::string, edm::EDGetTokenT< edm::ValueMap< double > > > > pfIsoMapTokens_
Definition: MuonProducer.h:137
void setAlias(std::string alias)
Definition: MuonProducer.h:73
edm::InputTag theMuonsCollectionLabel
Definition: MuonProducer.h:84
edm::InputTag theShowerMapName
Definition: MuonProducer.h:119
edm::EDGetTokenT< reco::MuonTimeExtraMap > timeMapCmbToken_
Definition: MuonProducer.h:129
edm::InputTag theHoDepositName
Definition: MuonProducer.h:105
bool fillTimingInfo_
Definition: MuonProducer.h:100
std::vector< edm::InputTag > InputTags
Definition: MuonProducer.h:60
bool fillPFIsolation_
Definition: MuonProducer.h:97
InputTags theSelectorMapNames
Definition: MuonProducer.h:115
edm::EDGetTokenT< reco::MuonCollection > theMuonsCollectionToken_
Definition: MuonProducer.h:85
std::string theMuToMuMapName
Definition: MuonProducer.h:125
bool fillShoweringInfo_
Definition: MuonProducer.h:99
edm::EDGetTokenT< reco::IsoDepositMap > theEcalDepositToken_
Definition: MuonProducer.h:109
bool writeIsoDeposits_
Definition: MuonProducer.h:93
edm::EDGetTokenT< edm::ValueMap< reco::MuonCosmicCompatibility > > theCosmicCompMapToken_
Definition: MuonProducer.h:124
MuPFIsoHelper * thePFIsoHelper
Definition: MuonProducer.h:127
fixed size matrix
edm::EDGetTokenT< reco::IsoDepositMap > theHcalDepositToken_
Definition: MuonProducer.h:110
edm::InputTag theCosmicCompMapName
Definition: MuonProducer.h:122
bool fastLabelling_
Definition: MuonProducer.h:82
edm::InputTag theHcalDepositName
Definition: MuonProducer.h:104
bool fillPFMomentum_
Definition: MuonProducer.h:96
edm::InputTag theJetDepositName
Definition: MuonProducer.h:106
Definition: event.py:1