CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 {
21  class Track;
22 }
25 
30 
37 
40 
45 
46 class MuPFIsoHelper;
47 
49 public:
52 
54  ~MuonProducer() override;
55 
57  void produce(edm::Event&, const edm::EventSetup&) override;
58 
59  typedef std::vector<edm::InputTag> InputTags;
60 
61 protected:
62 private:
63  template <typename TYPE>
66  const std::vector<TYPE>& muonExtra,
67  const std::string& label);
68 
70 
72  alias.erase(alias.size() - 1, alias.size());
73  theAlias = alias;
74  }
75 
77 
78 private:
79  bool debug_;
81 
84 
87 
98 
104 
110 
112  std::vector<edm::EDGetTokenT<edm::ValueMap<bool> > > theSelectorMapTokens_;
113 
116 
121 
123 
127 
128  std::vector<std::map<std::string, edm::InputTag> > pfIsoMapNames;
129  std::vector<std::map<std::string, edm::EDGetTokenT<edm::ValueMap<double> > > > pfIsoMapTokens_;
130 
132 };
133 #endif
edm::EDGetTokenT< reco::MuonTimeExtraMap > timeMapCSCToken_
Definition: MuonProducer.h:126
edm::InputTag theTrackDepositName
Definition: MuonProducer.h:99
edm::EDGetTokenT< edm::ValueMap< unsigned int > > theCosmicIdMapToken_
Definition: MuonProducer.h:118
edm::EDGetTokenT< reco::MuonTimeExtraMap > timeMapDTToken_
Definition: MuonProducer.h:125
std::vector< std::map< std::string, edm::EDGetTokenT< edm::ValueMap< double > > > > pfIsoMapTokens_
Definition: MuonProducer.h:129
bool fillSelectors_
Definition: MuonProducer.h:90
std::string theAlias
Definition: MuonProducer.h:69
edm::EDGetTokenT< edm::ValueMap< reco::MuonShower > > theShowerMapToken_
Definition: MuonProducer.h:115
edm::InputTag theEcalDepositName
Definition: MuonProducer.h:100
void produce(edm::Event &, const edm::EventSetup &) override
reconstruct muons
std::vector< edm::EDGetTokenT< edm::ValueMap< bool > > > theSelectorMapTokens_
Definition: MuonProducer.h:112
edm::EDGetTokenT< reco::IsoDepositMap > theJetDepositToken_
Definition: MuonProducer.h:109
bool fillCosmicsIdMap_
Definition: MuonProducer.h:91
edm::EDGetTokenT< reco::IsoDepositMap > theHoDepositToken_
Definition: MuonProducer.h:108
bool fillIsolation_
Definition: MuonProducer.h:88
edm::InputTag thePFCandLabel
Definition: MuonProducer.h:85
edm::EDGetTokenT< reco::PFCandidateCollection > thePFCandToken_
Definition: MuonProducer.h:86
char const * label
void fillMuonMap(edm::Event &event, const edm::OrphanHandle< reco::MuonCollection > &muonHandle, const std::vector< TYPE > &muonExtra, const std::string &label)
edm::EDGetTokenT< reco::IsoDepositMap > theTrackDepositToken_
Definition: MuonProducer.h:105
bool fillDetectorBasedIsolation_
Definition: MuonProducer.h:94
void setAlias(std::string alias)
Definition: MuonProducer.h:71
edm::InputTag theMuonsCollectionLabel
Definition: MuonProducer.h:82
std::string labelOrInstance(const edm::InputTag &) const
edm::InputTag theShowerMapName
Definition: MuonProducer.h:114
edm::EDGetTokenT< reco::MuonTimeExtraMap > timeMapCmbToken_
Definition: MuonProducer.h:124
edm::InputTag theHoDepositName
Definition: MuonProducer.h:102
bool fillTimingInfo_
Definition: MuonProducer.h:96
edm::EDGetTokenT< reco::VertexCollection > vertexes_
Definition: MuonProducer.h:131
bool computeStandardSelectors_
Definition: MuonProducer.h:97
std::vector< edm::InputTag > InputTags
Definition: MuonProducer.h:59
bool fillPFIsolation_
Definition: MuonProducer.h:93
InputTags theSelectorMapNames
Definition: MuonProducer.h:111
edm::EDGetTokenT< reco::MuonCollection > theMuonsCollectionToken_
Definition: MuonProducer.h:83
std::string theMuToMuMapName
Definition: MuonProducer.h:120
bool fillShoweringInfo_
Definition: MuonProducer.h:95
edm::EDGetTokenT< reco::IsoDepositMap > theEcalDepositToken_
Definition: MuonProducer.h:106
bool writeIsoDeposits_
Definition: MuonProducer.h:89
edm::EDGetTokenT< edm::ValueMap< reco::MuonCosmicCompatibility > > theCosmicCompMapToken_
Definition: MuonProducer.h:119
MuPFIsoHelper * thePFIsoHelper
Definition: MuonProducer.h:122
std::vector< std::map< std::string, edm::InputTag > > pfIsoMapNames
Definition: MuonProducer.h:128
edm::EDGetTokenT< reco::IsoDepositMap > theHcalDepositToken_
Definition: MuonProducer.h:107
edm::InputTag theCosmicCompMapName
Definition: MuonProducer.h:117
MuonProducer(const edm::ParameterSet &)
Constructor.
Definition: MuonProducer.cc:29
bool fastLabelling_
Definition: MuonProducer.h:80
edm::InputTag theHcalDepositName
Definition: MuonProducer.h:101
bool fillPFMomentum_
Definition: MuonProducer.h:92
~MuonProducer() override
Destructor.
edm::InputTag theJetDepositName
Definition: MuonProducer.h:103