Go to the documentation of this file. 1 #ifndef L1Trigger_Phase2L1ParticleFlow_RegionMapper_h
2 #define L1Trigger_Phase2L1ParticleFlow_RegionMapper_h
12 #include <unordered_map>
36 std::unique_ptr<l1t::PFCandidateCollection>
fetch(
bool puppi =
true,
float ptMin = 0.01)
const;
37 std::unique_ptr<l1t::PFCandidateCollection>
fetchCalo(
float ptMin = 0.01,
bool emcalo =
false)
const;
42 std::unique_ptr<std::vector<unsigned>>
vecInput(
int type)
const;
43 std::unique_ptr<std::vector<unsigned>>
vecOutput(
int type,
bool puppi)
const;
51 std::unordered_map<const l1t::PFCluster *, l1t::PFClusterRef>
clusterRefMap_;
52 std::unordered_map<const l1t::PFTrack *, l1t::PFTrackRef>
trackRefMap_;
53 std::unordered_map<const l1t::Muon *, l1t::PFCandidate::MuonRef>
muonRefMap_;
std::unique_ptr< l1t::PFCandidateCollection > fetch(bool puppi=true, float ptMin=0.01) const
std::vector< Region > & regions()
std::unordered_map< const l1t::Muon *, l1t::PFCandidate::MuonRef > muonRefMap_
void addMuon(const l1t::Muon &t)
void addEmCalo(const l1t::PFCluster &t)
bool useRelativeRegionalCoordinates_
std::unique_ptr< l1t::PFCandidateCollection > fetchTracks(float ptMin=0.01, bool fromPV=false) const
std::unique_ptr< l1t::PFCandidateCollection > fetchCalo(float ptMin=0.01, bool emcalo=false) const
enum l1tpf_impl::RegionMapper::TrackAssoMode trackRegionMode_
void addTrack(const l1t::PFTrack &t)
std::unordered_map< const l1t::PFCluster *, l1t::PFClusterRef > clusterRefMap_
std::pair< unsigned, unsigned > totAndMaxInput(int type) const
std::unique_ptr< std::vector< unsigned > > vecOutput(int type, bool puppi) const
RegionMapper(const edm::ParameterSet &)
std::vector< Region > regions_
std::unique_ptr< std::vector< unsigned > > vecInput(int type) const
std::pair< unsigned, unsigned > totAndMaxOutput(int type, bool puppi) const
std::unordered_map< const l1t::PFTrack *, l1t::PFTrackRef > trackRefMap_
void addCalo(const l1t::PFCluster &t)