CMS 3D CMS Logo

IsoDepositIsolator.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_PatAlgos_interface_IsoDepositIsolator_h
2 #define PhysicsTools_PatAlgos_interface_IsoDepositIsolator_h
3 
7 
8 namespace pat {
9  namespace helper {
11  public:
13 
15  IsoDepositIsolator(const edm::ParameterSet &conf, edm::ConsumesCollector &iC, bool withCut);
16  ~IsoDepositIsolator() override;
17  void beginEvent(const edm::Event &event, const edm::EventSetup &eventSetup) override;
18  void endEvent() override;
19 
20  std::string description() const override;
21 
22  protected:
25 
26  float deltaR_;
29  reco::isodeposit::EventDependentAbsVetos evdepVetos_; // subset of the above, don't delete twice
32 
33  float getValue(const edm::ProductID &id, size_t index) const override;
34  }; // class IsoDepositIsolator
35  } // namespace helper
36 } // namespace pat
37 
38 #endif
Definition: helper.py:1
reco::isodeposit::AbsVetos vetos_
std::vector< EventDependentAbsVeto * > EventDependentAbsVetos
Definition: HeavyIon.h:7
edm::Handle< Isolation > handle_
edm::ValueMap< reco::IsoDeposit > Isolation
reco::isodeposit::EventDependentAbsVetos evdepVetos_
edm::EDGetTokenT< Isolation > inputIsoDepositToken_
std::string description() const override
std::vector< AbsVeto * > AbsVetos
Definition: IsoDeposit.h:43
float getValue(const edm::ProductID &id, size_t index) const override
void beginEvent(const edm::Event &event, const edm::EventSetup &eventSetup) override
Definition: event.py:1