CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonProducer.h
Go to the documentation of this file.
1 #ifndef RecoMuon_MuonIdentification_MuonProducer_H
2 #define RecoMuon_MuonIdentification_MuonProducer_H
3 
18 
21 
22 namespace reco {class Track;}
25 
26 class MuPFIsoHelper;
27 
28 
29 class MuonProducer : public edm::EDProducer {
30 public:
31 
34 
36  virtual ~MuonProducer();
37 
39  virtual void produce(edm::Event&, const edm::EventSetup&);
40 
41 
42  typedef std::vector<edm::InputTag> InputTags;
43 
44 protected:
45 
46 private:
47  template<typename TYPE>
50  const std::vector<TYPE>& muonExtra,
51  const std::string& label);
52 
53  std::string theAlias;
54 
55  void setAlias( std::string alias ){
56  alias.erase( alias.size() - 1, alias.size() );
57  theAlias=alias;
58  }
59 
60  std::string labelOrInstance(const edm::InputTag &) const;
61 
62 private:
63  bool debug_;
65 
68 
78 
84 
86 
89 
90  std::string theMuToMuMapName;
91 
93 
94  std::map<std::string,edm::InputTag> theIsoPF03MapNames;
95  std::map<std::string,edm::InputTag> theIsoPF04MapNames;
96 
97 };
98 #endif
99 
100 
101 
edm::InputTag theTrackDepositName
Definition: MuonProducer.h:79
virtual ~MuonProducer()
Destructor.
bool fillSelectors_
Definition: MuonProducer.h:71
std::string theAlias
Definition: MuonProducer.h:53
edm::InputTag theEcalDepositName
Definition: MuonProducer.h:80
bool fillCosmicsIdMap_
Definition: MuonProducer.h:72
bool fillIsolation_
Definition: MuonProducer.h:69
edm::InputTag thePFCandLabel
Definition: MuonProducer.h:67
std::map< std::string, edm::InputTag > theIsoPF03MapNames
Definition: MuonProducer.h:94
void fillMuonMap(edm::Event &event, const edm::OrphanHandle< reco::MuonCollection > &muonHandle, const std::vector< TYPE > &muonExtra, const std::string &label)
bool fillDetectorBasedIsolation_
Definition: MuonProducer.h:75
void setAlias(std::string alias)
Definition: MuonProducer.h:55
edm::InputTag theMuonsCollectionLabel
Definition: MuonProducer.h:66
std::string labelOrInstance(const edm::InputTag &) const
edm::InputTag theShowerMapName
Definition: MuonProducer.h:87
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
edm::InputTag theHoDepositName
Definition: MuonProducer.h:82
bool fillTimingInfo_
Definition: MuonProducer.h:77
std::vector< edm::InputTag > InputTags
Definition: MuonProducer.h:42
bool fillPFIsolation_
Definition: MuonProducer.h:74
InputTags theSelectorMapNames
Definition: MuonProducer.h:85
std::string theMuToMuMapName
Definition: MuonProducer.h:90
bool fillShoweringInfo_
Definition: MuonProducer.h:76
bool writeIsoDeposits_
Definition: MuonProducer.h:70
std::map< std::string, edm::InputTag > theIsoPF04MapNames
Definition: MuonProducer.h:95
virtual void produce(edm::Event &, const edm::EventSetup &)
reconstruct muons
MuPFIsoHelper * thePFIsoHelper
Definition: MuonProducer.h:92
edm::InputTag theCosmicCompMapName
Definition: MuonProducer.h:88
MuonProducer(const edm::ParameterSet &)
Constructor.
Definition: MuonProducer.cc:49
bool fastLabelling_
Definition: MuonProducer.h:64
edm::InputTag theHcalDepositName
Definition: MuonProducer.h:81
bool fillPFMomentum_
Definition: MuonProducer.h:73
edm::InputTag theJetDepositName
Definition: MuonProducer.h:83