CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SubEventGenJetProducer.h
Go to the documentation of this file.
1 #ifndef RecoJets_JetProducers_SubEventGenJetProducer_h
2 #define RecoJets_JetProducers_SubEventGenJetProducer_h
3 
4 /* *********************************************************
5  \class SubEventGenJetProducer
6 
7  \brief Jet producer to produce jets from
8  \causally independent sub-events inside one event
9  \(for heavy ions or pile up)
10 
11  ************************************************************/
12 
13 #include <memory>
14 #include <vector>
17 
18 namespace cms {
20  public:
23  void produce(edm::Event&, const edm::EventSetup&) override;
24  void runAlgorithm(edm::Event&, const edm::EventSetup&) override;
25 
26  protected:
27  std::vector<std::vector<fastjet::PseudoJet>> subInputs_;
28  std::unique_ptr<std::vector<reco::GenJet>> jets_;
29  std::vector<int> hydroTag_;
30  std::vector<int> nSubParticles_;
32 
33  protected:
34  // overridden inputTowers method. Resets fjCompoundJets_ and
35  // calls VirtualJetProducer::inputTowers
36  void inputTowers() override;
37 
38  private:
40  };
41 
42 } // namespace cms
43 
44 #endif
void runAlgorithm(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< reco::CandidateView > input_cand_token_
void produce(edm::Event &, const edm::EventSetup &) override
std::unique_ptr< std::vector< reco::GenJet > > jets_
SubEventGenJetProducer(const edm::ParameterSet &ps)
std::vector< std::vector< fastjet::PseudoJet > > subInputs_