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 {
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
MuPFIsoHelper
Definition: MuPFIsoHelper.h:25
MuonProducer::setAlias
void setAlias(std::string alias)
Definition: MuonProducer.h:71
MuonShower.h
Muon.h
MessageLogger.h
MuonProducer::theMuToMuMapName
std::string theMuToMuMapName
Definition: MuonProducer.h:120
MuonProducer::theAlias
std::string theAlias
Definition: MuonProducer.h:69
MuonProducer::theShowerMapName
edm::InputTag theShowerMapName
Definition: MuonProducer.h:114
MuonProducer::theShowerMapToken_
edm::EDGetTokenT< edm::ValueMap< reco::MuonShower > > theShowerMapToken_
Definition: MuonProducer.h:115
MuonProducer::computeStandardSelectors_
bool computeStandardSelectors_
Definition: MuonProducer.h:97
ESHandle.h
MuonProducer
Definition: MuonProducer.h:48
PFCandidate.h
edm::EDGetTokenT< reco::MuonCollection >
MuonProducer::fillPFIsolation_
bool fillPFIsolation_
Definition: MuonProducer.h:93
MuonProducer::fillShoweringInfo_
bool fillShoweringInfo_
Definition: MuonProducer.h:95
MuonProducer::fillTimingInfo_
bool fillTimingInfo_
Definition: MuonProducer.h:96
MuonProducer::theMuonsCollectionToken_
edm::EDGetTokenT< reco::MuonCollection > theMuonsCollectionToken_
Definition: MuonProducer.h:83
MuonProducer::theSelectorMapNames
InputTags theSelectorMapNames
Definition: MuonProducer.h:111
EDProducer.h
MuonProducer::timeMapDTToken_
edm::EDGetTokenT< reco::MuonTimeExtraMap > timeMapDTToken_
Definition: MuonProducer.h:125
MuonProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
reconstruct muons
Definition: MuonProducer.cc:180
MuonProducer::theJetDepositToken_
edm::EDGetTokenT< reco::IsoDepositMap > theJetDepositToken_
Definition: MuonProducer.h:109
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
MuonProducer::thePFCandToken_
edm::EDGetTokenT< reco::PFCandidateCollection > thePFCandToken_
Definition: MuonProducer.h:86
MuonProducer::theHcalDepositName
edm::InputTag theHcalDepositName
Definition: MuonProducer.h:101
MuonProducer::theCosmicCompMapToken_
edm::EDGetTokenT< edm::ValueMap< reco::MuonCosmicCompatibility > > theCosmicCompMapToken_
Definition: MuonProducer.h:119
MuonProducer::fillPFMomentum_
bool fillPFMomentum_
Definition: MuonProducer.h:92
MuonProducer::MuonProducer
MuonProducer(const edm::ParameterSet &)
Constructor.
Definition: MuonProducer.cc:29
MuonProducer::thePFIsoHelper
MuPFIsoHelper * thePFIsoHelper
Definition: MuonProducer.h:122
MuonProducer::theCosmicCompMapName
edm::InputTag theCosmicCompMapName
Definition: MuonProducer.h:117
MuonTimeExtraMap.h
MuonProducer::theHcalDepositToken_
edm::EDGetTokenT< reco::IsoDepositMap > theHcalDepositToken_
Definition: MuonProducer.h:107
MuonProducer::theEcalDepositName
edm::InputTag theEcalDepositName
Definition: MuonProducer.h:100
MuonProducer::fillCosmicsIdMap_
bool fillCosmicsIdMap_
Definition: MuonProducer.h:91
MuonProducer::fillDetectorBasedIsolation_
bool fillDetectorBasedIsolation_
Definition: MuonProducer.h:94
MuonFwd.h
MuonTimeExtra.h
MuonProducer::theMuonsCollectionLabel
edm::InputTag theMuonsCollectionLabel
Definition: MuonProducer.h:82
MuonProducer::labelOrInstance
std::string labelOrInstance(const edm::InputTag &) const
Definition: MuonProducer.cc:498
MuonCosmicCompatibility.h
MuonProducer::theHoDepositName
edm::InputTag theHoDepositName
Definition: MuonProducer.h:102
MuonProducer::theTrackDepositName
edm::InputTag theTrackDepositName
Definition: MuonProducer.h:99
IsoDeposit.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MuonProducer::timeMapCSCToken_
edm::EDGetTokenT< reco::MuonTimeExtraMap > timeMapCSCToken_
Definition: MuonProducer.h:126
MuonProducer::theJetDepositName
edm::InputTag theJetDepositName
Definition: MuonProducer.h:103
MuonProducer::timeMapCmbToken_
edm::EDGetTokenT< reco::MuonTimeExtraMap > timeMapCmbToken_
Definition: MuonProducer.h:124
MuonProducer::fillMuonMap
void fillMuonMap(edm::Event &event, const edm::OrphanHandle< reco::MuonCollection > &muonHandle, const std::vector< TYPE > &muonExtra, const std::string &label)
Definition: MuonProducer.cc:483
MuonProducer::theTrackDepositToken_
edm::EDGetTokenT< reco::IsoDepositMap > theTrackDepositToken_
Definition: MuonProducer.h:105
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
MuonProducer::theCosmicIdMapToken_
edm::EDGetTokenT< edm::ValueMap< unsigned int > > theCosmicIdMapToken_
Definition: MuonProducer.h:118
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
MuonProducer::pfIsoMapTokens_
std::vector< std::map< std::string, edm::EDGetTokenT< edm::ValueMap< double > > > > pfIsoMapTokens_
Definition: MuonProducer.h:129
InputTag.h
ValueMap.h
MuonProducer::vertexes_
edm::EDGetTokenT< reco::VertexCollection > vertexes_
Definition: MuonProducer.h:131
MuonProducer::pfIsoMapNames
std::vector< std::map< std::string, edm::InputTag > > pfIsoMapNames
Definition: MuonProducer.h:128
VertexFwd.h
MuonProducer::theSelectorMapTokens_
std::vector< edm::EDGetTokenT< edm::ValueMap< bool > > > theSelectorMapTokens_
Definition: MuonProducer.h:112
MuonProducer::InputTags
std::vector< edm::InputTag > InputTags
Definition: MuonProducer.h:59
MuonProducer::theEcalDepositToken_
edm::EDGetTokenT< reco::IsoDepositMap > theEcalDepositToken_
Definition: MuonProducer.h:106
edm::OrphanHandle
Definition: EDProductfwd.h:39
MuonProducer::fillSelectors_
bool fillSelectors_
Definition: MuonProducer.h:90
MuonProducer::writeIsoDeposits_
bool writeIsoDeposits_
Definition: MuonProducer.h:89
MuonProducer::debug_
bool debug_
Definition: MuonProducer.h:79
SiStripOfflineCRack_cfg.alias
alias
Definition: SiStripOfflineCRack_cfg.py:128
MuonProducer::theHoDepositToken_
edm::EDGetTokenT< reco::IsoDepositMap > theHoDepositToken_
Definition: MuonProducer.h:108
MuonToMuonMap.h
EventSetup.h
MuonProducer::fillIsolation_
bool fillIsolation_
Definition: MuonProducer.h:88
MuonProducer::thePFCandLabel
edm::InputTag thePFCandLabel
Definition: MuonProducer.h:85
IsoDepositFwd.h
ParameterSet.h
event
Definition: event.py:1
GlobalTrackingGeometry.h
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
label
const char * label
Definition: PFTauDecayModeTools.cc:11
MuonProducer::fastLabelling_
bool fastLabelling_
Definition: MuonProducer.h:80
PFCandidateFwd.h
MuonProducer::~MuonProducer
~MuonProducer() override
Destructor.
Definition: MuonProducer.cc:174