Go to the documentation of this file. 1 #ifndef HiJetBackground_HiFJGridEmptyAreaCalculator_h
2 #define HiJetBackground_HiFJGridEmptyAreaCalculator_h
edm::EDGetTokenT< int > centralityBinToken_
Base class for all types of Jets.
int numJetGridCells(std::vector< std::pair< int, int >> &indices)
number of grid cells that overlap with jet constituents filling in the in between area
std::vector< double > etaMinGrid_
void beginStream(edm::StreamID) override
void endStream() override
std::vector< double > rhoVsEta_
edm::EDGetTokenT< std::vector< double > > mapRhoToken_
~HiFJGridEmptyAreaCalculator() override
void calculateAreaFractionOfJets(const edm::Event &iEvent, const edm::EventSetup &iSetup)
HiFJGridEmptyAreaCalculator(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< reco::PFCandidateCollection > pfCandsToken_
const double twopi_
information about the grid
edm::EDGetTokenT< edm::View< reco::Jet > > jetsToken_
input tokens
void produce(edm::Event &, const edm::EventSetup &) override
double gridWidth_
input parameters
void setupGrid(double eta_min, double eta_max)
configure the grid
int tileIndexEta(const reco::PFCandidate *pfCand)
void setupGridJet(const reco::Jet *jet)
int tileIndexJet(const reco::PFCandidate *pfCand)
retrieve the grid cell index for a given PseudoJet
std::vector< double > etaMaxGrid_
int tileIndexPhi(const reco::PFCandidate *pfCand)
edm::EDGetTokenT< std::vector< double > > mapRhoMToken_
Particle reconstructed by the particle flow algorithm.
void calculateGridRho(const edm::Event &iEvent, const edm::EventSetup &iSetup)
double ymin_
internal parameters for grid
int tileIndexEtaJet(const reco::PFCandidate *pfCand)
std::vector< double > meanRhoVsEta_
edm::EDGetTokenT< std::vector< double > > mapEtaToken_