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