|
|
Go to the documentation of this file. 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"
50 static const char*
const names[];
74 typedef std::shared_ptr<fastjet::JetDefinition::Plugin>
PluginPtr;
75 typedef std::shared_ptr<fastjet::JetDefinition>
JetDefPtr;
100 virtual void inputTowers();
106 virtual void copyConstituents(
const std::vector<fastjet::PseudoJet>& fjConstituents,
reco::Jet*
jet);
119 void offsetCorrectJets(std::vector<fastjet::PseudoJet>& orphanInput);
130 template <
typename T>
133 template <
typename T>
136 template <
typename T>
141 virtual std::vector<reco::CandidatePtr> getConstituents(
const std::vector<fastjet::PseudoJet>& fjConstituents);
182 std::vector<edm::Ptr<reco::Candidate>>
208 bool fromHTTTopJetProducer_ =
false;
std::shared_ptr< fastjet::JetDefinition > JetDefPtr
std::unique_ptr< AnomalousTower > anomalousTowerDef_
Base class for all types of Jets.
static const std::string input
std::string puSubtractorName_
bool makeCaloJet(const JetType::Type &fTag)
bool doFastJetNonUniform_
std::shared_ptr< fastjet::ClusterSequence > ClusterSequencePtr
std::string jetType() const
virtual void addHTTTopJetTagInfoCollection(edm::Event &iEvent, const edm::EventSetup &iSetup, edm::OrphanHandle< reco::BasicJetCollection > &oh)
std::shared_ptr< PileUpSubtractor > subtractor_
std::shared_ptr< fastjet::Selector > SelectorPtr
reco::Particle::Point vertex_
ClusterSequencePtr fjClusterSeq_
std::string jetAlgorithm_
const std::string names[nVars_]
std::shared_ptr< fastjet::AreaDefinition > AreaDefinitionPtr
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::shared_ptr< fastjet::JetDefinition::Plugin > PluginPtr
std::shared_ptr< fastjet::GhostedAreaSpec > ActiveAreaSpecPtr
std::vector< edm::Ptr< reco::Candidate > > inputs_
std::vector< double > puCenters_
edm::EDGetTokenT< std::vector< edm::FwdPtr< reco::PFCandidate > > > input_candidatefwdptr_token_
edm::EDGetTokenT< reco::VertexCollection > input_vertex_token_
bool makeTrackJet(const JetType::Type &fTag)
edm::EDGetTokenT< edm::ValueMap< float > > input_weights_token_
std::string jetCollInstanceName_
AreaDefinitionPtr fjAreaDefinition_
edm::EDGetTokenT< std::vector< edm::FwdPtr< pat::PackedCandidate > > > input_packedcandidatefwdptr_token_
bool makePFJet(const JetType::Type &fTag)
bool makeGenJet(const JetType::Type &fTag)
bool makePFClusterJet(const JetType::Type &fTag)
ActiveAreaSpecPtr fjActiveArea_
std::vector< fastjet::PseudoJet > fjJets_
JetDefPtr fjJetDefinition_
bool useDeterministicSeed_
edm::ValueMap< float > weights_
math::XYZPoint Point
point in the space
std::vector< fastjet::PseudoJet > fjInputs_
bool makeBasicJet(const JetType::Type &fTag)
edm::EDGetTokenT< reco::CandidateView > input_candidateview_token_
edm::EDGetTokenT< std::vector< edm::FwdPtr< pat::PackedGenParticle > > > input_packedgencandidatefwdptr_token_
edm::EDGetTokenT< std::vector< edm::FwdPtr< reco::GenParticle > > > input_gencandidatefwdptr_token_