CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L3MuonCombinedRelativeIsolationProducer.h
Go to the documentation of this file.
1 #ifndef L3MuonCombinedRelativeIsolationProducer_L3MuonCombinedRelativeIsolationProducer_H
2 #define L3MuonCombinedRelativeIsolationProducer_L3MuonCombinedRelativeIsolationProducer_H
3 
10 
13 
16 
17 #include <string>
18 
19 namespace edm {
20  class Event;
21 }
22 namespace edm {
23  class EventSetup;
24 }
25 
27 public:
30 
33 
35  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
36 
38  void produce(edm::Event&, const edm::EventSetup&) override;
39 
40 private:
42 
43  // Muon track Collection Label
46 
47  // Isolation cuts
49 
50  // Option to write MuIsoDeposits into the event
52 
54  bool useCaloIso;
55 
56  // Option to use rho-corrected calo deposits (ONLY if already available)
60 
61  // MuIsoExtractor
62  std::unique_ptr<reco::isodeposit::IsoDepositExtractor> caloExtractor;
63  std::unique_ptr<reco::isodeposit::IsoDepositExtractor> trkExtractor;
64 
68 
72 
75 
76  // Print out debug info
77 
78  bool printDebug;
79 };
80 
81 #endif
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > theMuonCollectionToken
edm::EDGetTokenT< edm::ValueMap< float > > theCaloDepsToken
bool theApplyCutsORmaxNTracks
apply or not the maxN cut on top of the sumPt (or nominall eff) &lt; cuts
std::unique_ptr< reco::isodeposit::IsoDepositExtractor > trkExtractor
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterSet descriptions.
std::unique_ptr< reco::isodeposit::IsoDepositExtractor > caloExtractor
void produce(edm::Event &, const edm::EventSetup &) override
Produce isolation maps.
L3MuonCombinedRelativeIsolationProducer(const edm::ParameterSet &)
constructor with config
bool useCaloIso
flag to include or exclude calo iso from calculation