#include <Region.h>
Public Types | |
enum | InputType { calo_type = 0, emcalo_type = 1, track_type = 2, l1mu_type = 3, n_input_types = 4 } |
enum | OutputType { any_type = 0, charged_type = 1, neutral_type = 2, electron_type = 3, pfmuon_type = 4, charged_hadron_type = 5, neutral_hadron_type = 6, photon_type = 7, n_output_types = 8 } |
Public Member Functions | |
bool | contains (float eta, float phi) const |
bool | fiducial (float eta, float phi) const |
bool | fiducialLocal (float localEta, float localPhi) const |
float | globalAbsEta (float localEta) const |
float | globalEta (float localEta) const |
float | globalPhi (float localPhi) const |
void | inputSort () |
float | localEta (float globalEta) const |
float | localPhi (float globalPhi) const |
unsigned int | nInput (InputType type) const |
unsigned int | nOutput (OutputType type, bool puppi, bool fiducial=true) const |
Region (float etamin, float etamax, float phicenter, float phiwidth, float etaextra, float phiextra, bool useRelativeCoordinates, unsigned int ncalomax, unsigned int nemcalomax, unsigned int ntrackmax, unsigned int nmuonmax, unsigned int npfmax, unsigned int npuppimax) | |
float | regionAbsEta () const |
void | zero () |
Public Member Functions inherited from l1tpf_impl::InputRegion | |
InputRegion () | |
InputRegion (float etacenter, float etamin, float etamax, float phicenter, float phihalfwidth, float etaextra, float phiextra) | |
Static Public Member Functions | |
static const char * | inputTypeName (int inputType) |
static const char * | outputTypeName (int outputType) |
Public Attributes | |
unsigned int | caloOverflow |
unsigned int | emcaloOverflow |
unsigned int | muonOverflow |
const unsigned int | ncaloMax |
const unsigned int | nemcaloMax |
const unsigned int | nmuonMax |
const unsigned int | npfMax |
const unsigned int | npuppiMax |
const unsigned int | ntrackMax |
std::vector< PFParticle > | pf |
unsigned int | pfOverflow |
std::vector< PFParticle > | puppi |
unsigned int | puppiOverflow |
const bool | relativeCoordinates |
unsigned int | trackOverflow |
Public Attributes inherited from l1tpf_impl::InputRegion | |
std::vector< CaloCluster > | calo |
std::vector< CaloCluster > | emcalo |
float | etaCenter |
float | etaExtra |
float | etaMax |
float | etaMin |
std::vector< Muon > | muon |
float | phiCenter |
float | phiExtra |
float | phiHalfWidth |
std::vector< PropagatedTrack > | track |
Enumerator | |
---|---|
calo_type | |
emcalo_type | |
track_type | |
l1mu_type | |
n_input_types |
Definition at line 45 of file Region.h.
Enumerator | |
---|---|
any_type | |
charged_type | |
neutral_type | |
electron_type | |
pfmuon_type | |
charged_hadron_type | |
neutral_hadron_type | |
photon_type | |
n_output_types |
Definition at line 48 of file Region.h.
|
inline |
Definition at line 15 of file Region.h.
|
inline |
Definition at line 65 of file Region.h.
References srCondWrite_cfg::deltaPhi, l1tpf_impl::InputRegion::etaExtra, l1tpf_impl::InputRegion::etaMax, l1tpf_impl::InputRegion::etaMin, l1tpf_impl::InputRegion::phiCenter, l1tpf_impl::InputRegion::phiExtra, and l1tpf_impl::InputRegion::phiHalfWidth.
|
inline |
Definition at line 71 of file Region.h.
References srCondWrite_cfg::deltaPhi, l1tpf_impl::InputRegion::etaMax, l1tpf_impl::InputRegion::etaMin, l1tpf_impl::InputRegion::phiCenter, and l1tpf_impl::InputRegion::phiHalfWidth.
|
inline |
Definition at line 76 of file Region.h.
References srCondWrite_cfg::deltaPhi, l1tpf_impl::InputRegion::etaCenter, l1tpf_impl::InputRegion::etaMax, l1tpf_impl::InputRegion::etaMin, validate-o2o-wbm::f, l1tpf_impl::InputRegion::phiCenter, l1tpf_impl::InputRegion::phiHalfWidth, and relativeCoordinates.
Referenced by l1tpf_impl::PFAlgo2HGC::runPF(), l1tpf_impl::PFAlgo3::runPF(), and l1tpf_impl::BitwisePFAlgo::runPF().
|
inline |
Definition at line 86 of file Region.h.
References funct::abs(), l1tpf_impl::InputRegion::etaCenter, and relativeCoordinates.
Referenced by l1tpf_impl::PFAlgo2HGC::calo_relink(), l1tpf_impl::PFAlgo3::calo_relink(), l1tpf_impl::LinearizedPuppiAlgo::computePuppiWeights(), l1tpf_impl::PuppiAlgo::computePuppiWeights(), l1tpf_impl::PFAlgo3::emcalo_algo(), l1tpf_impl::PuppiAlgo::fillPuppi(), l1tpf_impl::PUAlgoBase::runChargedPV(), l1tpf_impl::PFAlgo2HGC::sum_tk2calo(), l1tpf_impl::PFAlgo3::sum_tk2calo(), and l1tpf_impl::PFAlgo3::sum_tk2em().
|
inline |
Definition at line 87 of file Region.h.
References l1tpf_impl::InputRegion::etaCenter, localEta(), and relativeCoordinates.
Referenced by localEta().
|
inline |
Definition at line 88 of file Region.h.
References localPhi(), l1tpf_impl::InputRegion::phiCenter, and relativeCoordinates.
Referenced by localPhi().
void l1tpf_impl::Region::inputSort | ( | ) |
Definition at line 113 of file Region.cc.
References HLT_FULL_cff::muon, and HLT_FULL_cff::track.
Referenced by l1tpf_impl::PFAlgoBase::initRegion().
|
static |
Definition at line 6 of file Region.cc.
References calo_type, emcalo_type, Exception, l1mu_type, n_input_types, and track_type.
Referenced by L1TPFProducer::L1TPFProducer(), and L1TPFProducer::produce().
|
inline |
Definition at line 89 of file Region.h.
References l1tpf_impl::InputRegion::etaCenter, globalEta(), and relativeCoordinates.
Referenced by globalEta().
|
inline |
Definition at line 90 of file Region.h.
References srCondWrite_cfg::deltaPhi, globalPhi(), l1tpf_impl::InputRegion::phiCenter, and relativeCoordinates.
Referenced by globalPhi().
unsigned int l1tpf_impl::Region::nInput | ( | InputType | type | ) | const |
Definition at line 48 of file Region.cc.
References Exception, HLT_FULL_cff::muon, and HLT_FULL_cff::track.
unsigned int l1tpf_impl::Region::nOutput | ( | OutputType | type, |
bool | puppi, | ||
bool | fiducial = true |
||
) | const |
Definition at line 65 of file Region.cc.
References l1t::PFCandidate::ChargedHadron, l1t::PFCandidate::Electron, Exception, l1t::PFCandidate::Muon, l1t::PFCandidate::NeutralHadron, AlCaHLTBitMon_ParallelJobs::p, l1t::PFCandidate::Photon, Puppi_cff::puppi, and runTheMatrix::ret.
Referenced by l1tpf_impl::BitwisePFAlgo::runPF().
|
static |
Definition at line 22 of file Region.cc.
References Exception.
Referenced by L1TPFProducer::L1TPFProducer(), and L1TPFProducer::produce().
|
inline |
Definition at line 85 of file Region.h.
References funct::abs(), and l1tpf_impl::InputRegion::etaCenter.
|
inline |
Definition at line 92 of file Region.h.
References l1tpf_impl::InputRegion::calo, caloOverflow, l1tpf_impl::InputRegion::emcalo, emcaloOverflow, l1tpf_impl::InputRegion::muon, muonOverflow, pf, pfOverflow, puppi, puppiOverflow, l1tpf_impl::InputRegion::track, and trackOverflow.
unsigned int l1tpf_impl::Region::caloOverflow |
unsigned int l1tpf_impl::Region::emcaloOverflow |
unsigned int l1tpf_impl::Region::muonOverflow |
std::vector<PFParticle> l1tpf_impl::Region::pf |
Definition at line 9 of file Region.h.
Referenced by l1tpf_impl::PFAlgoBase::addCaloToPF(), l1tpf_impl::PFAlgoBase::addTrackToPF(), l1tpf_impl::PuppiAlgo::computePuppiAlphas(), l1tpf_impl::LinearizedPuppiAlgo::computePuppiWeights(), l1tpf_impl::PuppiAlgo::computePuppiWeights(), l1tpf_impl::PuppiAlgo::fillPuppi(), l1tpf_impl::PFAlgoBase::initRegion(), l1tpf_impl::PUAlgoBase::runChargedPV(), l1tpf_impl::BitwisePFAlgo::runPF(), and zero().
unsigned int l1tpf_impl::Region::pfOverflow |
std::vector<PFParticle> l1tpf_impl::Region::puppi |
Definition at line 10 of file Region.h.
Referenced by l1tpf_impl::PuppiAlgo::fillPuppi(), l1tpf_impl::PFAlgoBase::initRegion(), and zero().
unsigned int l1tpf_impl::Region::puppiOverflow |
const bool l1tpf_impl::Region::relativeCoordinates |
Definition at line 13 of file Region.h.
Referenced by l1tpf_impl::LinearizedPuppiAlgo::computePuppiWeights(), l1tpf_impl::PuppiAlgo::computePuppiWeights(), fiducialLocal(), l1tpf_impl::PuppiAlgo::fillPuppi(), globalAbsEta(), globalEta(), globalPhi(), localEta(), localPhi(), and l1tpf_impl::PUAlgoBase::runChargedPV().