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 <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
GenJetCollection.h
cms::SubEventGenJetProducer
Definition: SubEventGenJetProducer.h:19
cms::SubEventGenJetProducer::runAlgorithm
void runAlgorithm(edm::Event &, const edm::EventSetup &) override
Definition: SubEventGenJetProducer.cc:126
cms::SubEventGenJetProducer::input_cand_token_
edm::EDGetTokenT< reco::CandidateView > input_cand_token_
Definition: SubEventGenJetProducer.h:39
edm::EDGetTokenT
Definition: EDGetToken.h:33
cms::SubEventGenJetProducer::hydroTag_
std::vector< int > hydroTag_
Definition: SubEventGenJetProducer.h:29
cms::SubEventGenJetProducer::jets_
std::unique_ptr< std::vector< reco::GenJet > > jets_
Definition: SubEventGenJetProducer.h:28
cms::SubEventGenJetProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: SubEventGenJetProducer.cc:80
cms::SubEventGenJetProducer::inputTowers
void inputTowers() override
Definition: SubEventGenJetProducer.cc:44
VirtualJetProducer
Definition: VirtualJetProducer.h:35
VirtualJetProducer.h
edm::ParameterSet
Definition: ParameterSet.h:47
cms::SubEventGenJetProducer::ignoreHydro_
bool ignoreHydro_
Definition: SubEventGenJetProducer.h:31
cms::SubEventGenJetProducer::nSubParticles_
std::vector< int > nSubParticles_
Definition: SubEventGenJetProducer.h:30
edm::EventSetup
Definition: EventSetup.h:58
cms::SubEventGenJetProducer::subInputs_
std::vector< std::vector< fastjet::PseudoJet > > subInputs_
Definition: SubEventGenJetProducer.h:27
cms::SubEventGenJetProducer::~SubEventGenJetProducer
~SubEventGenJetProducer() override
Definition: SubEventGenJetProducer.h:22
cms::SubEventGenJetProducer::SubEventGenJetProducer
SubEventGenJetProducer(const edm::ParameterSet &ps)
Definition: SubEventGenJetProducer.cc:36
edm::Event
Definition: Event.h:73
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21