1 #ifndef RecoJets_JetProducers_plugins_VirtualJetProducer_h
2 #define RecoJets_JetProducers_plugins_VirtualJetProducer_h
25 #include "fastjet/JetDefinition.hh"
26 #include "fastjet/ClusterSequence.hh"
27 #include "fastjet/ClusterSequenceArea.hh"
28 #include "fastjet/PseudoJet.hh"
29 #include "fastjet/GhostedAreaSpec.hh"
30 #include "fastjet/Selector.hh"
53 static const char*
const names[];
77 typedef std::shared_ptr<fastjet::JetDefinition::Plugin>
PluginPtr;
78 typedef std::shared_ptr<fastjet::JetDefinition>
JetDefPtr;
103 virtual void inputTowers();
109 virtual void copyConstituents(
const std::vector<fastjet::PseudoJet>& fjConstituents,
reco::Jet*
jet);
122 void offsetCorrectJets(std::vector<fastjet::PseudoJet>& orphanInput);
133 template <
typename T>
136 template <
typename T>
139 template <
typename T>
144 virtual std::vector<reco::CandidatePtr> getConstituents(
const std::vector<fastjet::PseudoJet>& fjConstituents);
189 std::vector<edm::Ptr<reco::Candidate>>
215 bool fromHTTTopJetProducer_ =
false;
std::shared_ptr< PileUpSubtractor > subtractor_
std::string jetType() const
edm::ValueMap< float > weights_
reco::Particle::Point vertex_
virtual void addHTTTopJetTagInfoCollection(edm::Event &iEvent, const edm::EventSetup &iSetup, edm::OrphanHandle< reco::BasicJetCollection > &oh)
edm::EDGetTokenT< reco::CandidateView > input_candidateview_token_
std::vector< fastjet::PseudoJet > fjJets_
edm::EDGetTokenT< std::vector< edm::FwdPtr< pat::PackedCandidate > > > input_packedcandidatefwdptr_token_
Base class for all types of Jets.
std::shared_ptr< fastjet::ClusterSequence > ClusterSequencePtr
std::shared_ptr< fastjet::JetDefinition > JetDefPtr
std::string puSubtractorName_
std::vector< double > puCenters_
bool makeGenJet(const JetType::Type &fTag)
bool makeBasicJet(const JetType::Type &fTag)
const std::string names[nVars_]
static std::string const input
bool makeTrackJet(const JetType::Type &fTag)
bool makePFJet(const JetType::Type &fTag)
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geometry_token_
std::vector< fastjet::PseudoJet > fjInputs_
std::string jetCollInstanceName_
std::shared_ptr< fastjet::GhostedAreaSpec > ActiveAreaSpecPtr
std::vector< edm::Ptr< reco::Candidate > > inputs_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > topology_token_
ClusterSequencePtr fjClusterSeq_
math::XYZPoint Point
point in the space
std::string jetAlgorithm_
bool useDeterministicSeed_
ActiveAreaSpecPtr fjActiveArea_
bool makePFClusterJet(const JetType::Type &fTag)
std::shared_ptr< fastjet::AreaDefinition > AreaDefinitionPtr
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< edm::ValueMap< float > > input_weights_token_
edm::EDGetTokenT< std::vector< edm::FwdPtr< pat::PackedGenParticle > > > input_packedgencandidatefwdptr_token_
edm::EDGetTokenT< reco::VertexCollection > input_vertex_token_
std::unique_ptr< AnomalousTower > anomalousTowerDef_
edm::EDGetTokenT< std::vector< edm::FwdPtr< reco::GenParticle > > > input_gencandidatefwdptr_token_
edm::EDGetTokenT< std::vector< edm::FwdPtr< reco::PFCandidate > > > input_candidatefwdptr_token_
std::shared_ptr< fastjet::JetDefinition::Plugin > PluginPtr
AreaDefinitionPtr fjAreaDefinition_
bool makeCaloJet(const JetType::Type &fTag)
std::shared_ptr< fastjet::Selector > SelectorPtr
bool doFastJetNonUniform_
JetDefPtr fjJetDefinition_