1 #ifndef JetProducers_QGTagger_h
2 #define JetProducers_QGTagger_h
Base class for all types of Jets.
edm::EDGetTokenT< reco::VertexCollection > vertexToken
virtual void produce(edm::Event &, const edm::EventSetup &)
Produce qgLikelihood using {mult, ptD, -log(axis2)}.
QGLikelihoodCalculator * qgLikelihood
QGTagger(const edm::ParameterSet &)
bool isPackedCandidate(const reco::Candidate *candidate)
Function to tell us if we are using packedCandidates, only test for first candidate.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Descriptions method.
std::tuple< int, float, float > calcVariables(const reco::Jet *, edm::Handle< reco::VertexCollection > &)
Calculation of axis2, mult and ptD.
edm::EDGetTokenT< edm::View< reco::Jet > > jetsToken
edm::EDGetTokenT< double > rhoToken
bool weAreUsingPackedCandidates
void putInEvent(std::string, const edm::Handle< edm::View< reco::Jet >> &, std::vector< T > *, edm::Event &)
Function to put product into event.
bool weStillNeedToCheckJetCandidates
edm::EDGetTokenT< reco::JetCorrector > jetCorrectorToken