CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
JetExtractor.h
Go to the documentation of this file.
1 #ifndef MuonIsolation_JetExtractor_H
2 #define MuonIsolation_JetExtractor_H
3 
14 #include <string>
15 
17 
19 
25 
27 
30 
33 class MuonServiceProxy;
34 
35 namespace muonisolation {
36 
38  public:
39  JetExtractor();
41 
42  ~JetExtractor() override;
43 
44  void fillVetos(const edm::Event& ev, const edm::EventSetup& evSetup, const reco::TrackCollection& tracks) override;
46  const edm::EventSetup& evSetup,
47  const reco::Track& track) const override;
48 
49  private:
51 
53 
55 
56  // Cone cuts and thresholds
57  double theThreshold;
58  double theDR_Veto;
59  double theDR_Max;
60 
61  //excludes sumEt of towers that are inside muon veto cone
63 
65  std::unique_ptr<MuonServiceProxy> theService;
66 
67  std::unique_ptr<TrackAssociatorParameters> theAssociatorParameters;
68  std::unique_ptr<TrackDetectorAssociator> theAssociator;
69 
71  };
72 
73 } // namespace muonisolation
74 
75 #endif
std::unique_ptr< TrackAssociatorParameters > theAssociatorParameters
Definition: JetExtractor.h:67
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theFieldToken
Definition: JetExtractor.h:54
std::unique_ptr< MuonServiceProxy > theService
the event setup proxy, it takes care the services update
Definition: JetExtractor.h:65
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
auto const & tracks
cannot be loose
bool ev
void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) override
Definition: JetExtractor.cc:50
std::unique_ptr< TrackDetectorAssociator > theAssociator
Definition: JetExtractor.h:68
edm::EDGetTokenT< reco::CaloJetCollection > theJetCollectionToken
Definition: JetExtractor.h:50
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override
Definition: JetExtractor.cc:56