#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 |
|
inline |
Definition at line 65 of file Region.h.
References SiPixelRawToDigiRegional_cfi::deltaPhi, PVValHelper::eta, 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 SiPixelRawToDigiRegional_cfi::deltaPhi, PVValHelper::eta, 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 SiPixelRawToDigiRegional_cfi::deltaPhi, l1tpf_impl::InputRegion::etaCenter, l1tpf_impl::InputRegion::etaMax, l1tpf_impl::InputRegion::etaMin, f, localEta(), localPhi(), l1tpf_impl::InputRegion::phiCenter, l1tpf_impl::InputRegion::phiHalfWidth, and relativeCoordinates.
|
inline |
Definition at line 86 of file Region.h.
References funct::abs(), l1tpf_impl::InputRegion::etaCenter, localEta(), and relativeCoordinates.
|
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 jetUpdater_cfi::sort, and HLT_2022v12_cff::track.
|
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 fiducialLocal(), globalAbsEta(), and globalEta().
|
inline |
Definition at line 90 of file Region.h.
References SiPixelRawToDigiRegional_cfi::deltaPhi, globalPhi(), l1tpf_impl::InputRegion::phiCenter, and relativeCoordinates.
Referenced by fiducialLocal(), and globalPhi().
unsigned int l1tpf_impl::Region::nInput | ( | InputType | type | ) | const |
Definition at line 48 of file Region.cc.
References Exception, and HLT_2022v12_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, alignBH_cfg::fiducial, l1t::PFCandidate::Muon, l1t::PFCandidate::NeutralHadron, AlCaHLTBitMon_ParallelJobs::p, packedPFCandidateRefMixer_cfi::pf, l1t::PFCandidate::Photon, runTheMatrix::ret, and PileupJetID_cfi::usePuppi.
|
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 caloOverflow, l1tpf_impl::InputRegion::emcalo, emcaloOverflow, 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 |
unsigned int l1tpf_impl::Region::pfOverflow |
std::vector<PFParticle> l1tpf_impl::Region::puppi |
unsigned int l1tpf_impl::Region::puppiOverflow |
const bool l1tpf_impl::Region::relativeCoordinates |
Definition at line 13 of file Region.h.
Referenced by fiducialLocal(), globalAbsEta(), globalEta(), globalPhi(), localEta(), and localPhi().