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 {
19  public:
22  void produce(edm::Event&, const edm::EventSetup&) override;
23  void runAlgorithm(edm::Event&, const edm::EventSetup&) override;
24 
25  protected:
26  std::vector<std::vector<fastjet::PseudoJet> > subInputs_;
27  std::vector<reco::GenJet>* subJets_;
28  std::vector<int> hydroTag_;
29  std::vector<int> nSubParticles_;
31 
32  protected:
33  // overridden inputTowers method. Resets fjCompoundJets_ and
34  // calls VirtualJetProducer::inputTowers
35  void inputTowers() override;
36 
37  private:
39  };
40 
41 } // namespace cms
42 
43 #endif
GenJetCollection.h
cms::SubEventGenJetProducer
Definition: SubEventGenJetProducer.h:18
cms::SubEventGenJetProducer::runAlgorithm
void runAlgorithm(edm::Event &, const edm::EventSetup &) override
Definition: SubEventGenJetProducer.cc:130
cms::SubEventGenJetProducer::input_cand_token_
edm::EDGetTokenT< reco::CandidateView > input_cand_token_
Definition: SubEventGenJetProducer.h:38
edm::EDGetTokenT
Definition: EDGetToken.h:33
cms::SubEventGenJetProducer::hydroTag_
std::vector< int > hydroTag_
Definition: SubEventGenJetProducer.h:28
cms::SubEventGenJetProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: SubEventGenJetProducer.cc:83
cms::SubEventGenJetProducer::inputTowers
void inputTowers() override
Definition: SubEventGenJetProducer.cc:47
cms::SubEventGenJetProducer::subJets_
std::vector< reco::GenJet > * subJets_
Definition: SubEventGenJetProducer.h:27
VirtualJetProducer
Definition: VirtualJetProducer.h:35
VirtualJetProducer.h
edm::ParameterSet
Definition: ParameterSet.h:36
cms::SubEventGenJetProducer::ignoreHydro_
bool ignoreHydro_
Definition: SubEventGenJetProducer.h:30
cms::SubEventGenJetProducer::nSubParticles_
std::vector< int > nSubParticles_
Definition: SubEventGenJetProducer.h:29
edm::EventSetup
Definition: EventSetup.h:57
cms::SubEventGenJetProducer::subInputs_
std::vector< std::vector< fastjet::PseudoJet > > subInputs_
Definition: SubEventGenJetProducer.h:26
cms::SubEventGenJetProducer::~SubEventGenJetProducer
~SubEventGenJetProducer() override
Definition: SubEventGenJetProducer.h:21
cms::SubEventGenJetProducer::SubEventGenJetProducer
SubEventGenJetProducer(const edm::ParameterSet &ps)
Definition: SubEventGenJetProducer.cc:38
edm::Event
Definition: Event.h:73
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21