CMS 3D CMS Logo

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 <vector>
16 
17 namespace cms
18 {
20  {
21  public:
22 
25  void produce(edm::Event&, const edm::EventSetup&) override;
26  void runAlgorithm(edm::Event&, const edm::EventSetup&) override;
27 
28  protected:
29  std::vector<std::vector<fastjet::PseudoJet> > subInputs_;
30  std::vector<reco::GenJet>* subJets_;
31  std::vector<int> hydroTag_;
32  std::vector<int> nSubParticles_;
34 
35  protected:
36 
37  // overridden inputTowers method. Resets fjCompoundJets_ and
38  // calls VirtualJetProducer::inputTowers
39  void inputTowers() override;
40 
41  private:
43 
44  };
45 
46 }
47 
48 
49 #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::vector< reco::GenJet > * subJets_
Namespace of DDCMS conversion namespace.
SubEventGenJetProducer(const edm::ParameterSet &ps)
std::vector< std::vector< fastjet::PseudoJet > > subInputs_