#include <HGVHistoProducerAlgo.h>
Classes | |
struct | caloParticleOnLayer |
struct | detIdInfoInCluster |
struct | detIdInfoInTrackster |
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
using | Histograms = HGVHistoProducerAlgoHistograms |
typedef dqm::legacy::MonitorElement | MonitorElement |
enum | validationType { Linking = 0, PatternRecognition, PatternRecognition_CP } |
Public Member Functions | |
void | bookCaloParticleHistos (DQMStore::IBooker &ibook, Histograms &histograms, int pdgid, unsigned int layers) |
void | bookClusterHistos_CellLevel (DQMStore::IBooker &ibook, Histograms &histograms, unsigned int layers, std::vector< int > thicknesses) |
void | bookClusterHistos_ClusterLevel (DQMStore::IBooker &ibook, Histograms &histograms, unsigned int layers, std::vector< int > thicknesses, std::string pathtomatbudfile) |
void | bookClusterHistos_LCtoCP_association (DQMStore::IBooker &ibook, Histograms &histograms, unsigned int layers) |
void | bookInfo (DQMStore::IBooker &ibook, Histograms &histograms) |
void | bookSimClusterAssociationHistos (DQMStore::IBooker &ibook, Histograms &histograms, unsigned int layers, std::vector< int > thicknesses) |
void | bookSimClusterHistos (DQMStore::IBooker &ibook, Histograms &histograms, unsigned int layers, std::vector< int > thicknesses) |
void | bookTracksterHistos (DQMStore::IBooker &ibook, Histograms &histograms, unsigned int layers) |
void | bookTracksterSTSHistos (DQMStore::IBooker &ibook, Histograms &histograms, const validationType valType) |
double | distance (const double x1, const double y1, const double x2, const double y2) const |
double | distance2 (const double x1, const double y1, const double x2, const double y2) const |
void | fill_caloparticle_histos (const Histograms &histograms, int pdgid, const CaloParticle &caloparticle, std::vector< SimVertex > const &simVertices, unsigned int layers, std::unordered_map< DetId, const unsigned int > const &, std::vector< HGCRecHit > const &hits) const |
void | fill_cluster_histos (const Histograms &histograms, const int count, const reco::CaloCluster &cluster) const |
void | fill_generic_cluster_histos (const Histograms &histograms, const int count, edm::Handle< reco::CaloClusterCollection > clusterHandle, const reco::CaloClusterCollection &clusters, edm::Handle< std::vector< CaloParticle >> caloParticleHandle, std::vector< CaloParticle > const &cP, std::vector< size_t > const &cPIndices, std::vector< size_t > const &cPSelectedIndices, std::unordered_map< DetId, const unsigned int > const &, std::map< double, double > cummatbudg, unsigned int layers, std::vector< int > thicknesses, const ticl::RecoToSimCollection &recSimColl, const ticl::SimToRecoCollection &simRecColl, std::vector< HGCRecHit > const &hits) const |
void | fill_info_histos (const Histograms &histograms, unsigned int layers) const |
void | fill_simCluster_histos (const Histograms &histograms, std::vector< SimCluster > const &simClusters, unsigned int layers, std::vector< int > thicknesses) const |
void | fill_simClusterAssociation_histos (const Histograms &histograms, const int count, edm::Handle< reco::CaloClusterCollection > clusterHandle, const reco::CaloClusterCollection &clusters, edm::Handle< std::vector< SimCluster >> simClusterHandle, std::vector< SimCluster > const &simClusters, std::vector< size_t > const &sCIndices, const std::vector< float > &mask, std::unordered_map< DetId, const unsigned int > const &hitMap, unsigned int layers, const ticl::RecoToSimCollectionWithSimClusters &recSimColl, const ticl::SimToRecoCollectionWithSimClusters &simRecColl, std::vector< HGCRecHit > const &hits) const |
void | fill_trackster_histos (const Histograms &histograms, const int count, const ticl::TracksterCollection &Tracksters, const reco::CaloClusterCollection &layerClusters, const ticl::TracksterCollection &simTS, const ticl::TracksterCollection &simTS_fromCP, std::map< uint, std::vector< uint >> const &simTrackstersMap, std::vector< SimCluster > const &sC, const edm::ProductID &cPHandle_id, std::vector< CaloParticle > const &cP, std::vector< size_t > const &cPIndices, std::vector< size_t > const &cPSelectedIndices, std::unordered_map< DetId, const unsigned int > const &, unsigned int layers, std::vector< HGCRecHit > const &hits) const |
DetId | findmaxhit (const reco::CaloCluster &cluster, std::unordered_map< DetId, const unsigned int > const &, std::vector< HGCRecHit > const &hits) const |
HGVHistoProducerAlgo (const edm::ParameterSet &pset) | |
void | layerClusters_to_CaloParticles (const Histograms &histograms, edm::Handle< reco::CaloClusterCollection > clusterHandle, const reco::CaloClusterCollection &clusters, edm::Handle< std::vector< CaloParticle >> caloParticleHandle, std::vector< CaloParticle > const &cP, std::vector< size_t > const &cPIndices, std::vector< size_t > const &cPSelectedIndices, std::unordered_map< DetId, const unsigned int > const &, unsigned int layers, const ticl::RecoToSimCollection &recSimColl, const ticl::SimToRecoCollection &simRecColl, std::vector< HGCRecHit > const &hits) const |
void | layerClusters_to_SimClusters (const Histograms &histograms, const int count, edm::Handle< reco::CaloClusterCollection > clusterHandle, const reco::CaloClusterCollection &clusters, edm::Handle< std::vector< SimCluster >> simClusterHandle, std::vector< SimCluster > const &simClusters, std::vector< size_t > const &sCIndices, const std::vector< float > &mask, std::unordered_map< DetId, const unsigned int > const &, unsigned int layers, const ticl::RecoToSimCollectionWithSimClusters &recSimColl, const ticl::SimToRecoCollectionWithSimClusters &simRecColl, std::vector< HGCRecHit > const &hits) const |
void | setRecHitTools (std::shared_ptr< hgcal::RecHitTools > recHitTools) |
void | tracksters_to_SimTracksters (const Histograms &histograms, const int count, const ticl::TracksterCollection &Tracksters, const reco::CaloClusterCollection &layerClusters, const ticl::TracksterCollection &simTS, const validationType valType, const ticl::TracksterCollection &simTS_fromCP, std::map< uint, std::vector< uint >> const &simTrackstersMap, std::vector< SimCluster > const &sC, const edm::ProductID &cPHandle_id, std::vector< CaloParticle > const &cP, std::vector< size_t > const &cPIndices, std::vector< size_t > const &cPSelectedIndices, std::unordered_map< DetId, const unsigned int > const &, unsigned int layers, std::vector< HGCRecHit > const &hits) const |
~HGVHistoProducerAlgo () | |
Private Member Functions | |
double | getEta (double eta) const |
Definition at line 225 of file HGVHistoProducerAlgo.h.
Definition at line 227 of file HGVHistoProducerAlgo.h.
Definition at line 233 of file HGVHistoProducerAlgo.h.
Definition at line 228 of file HGVHistoProducerAlgo.h.
Enumerator | |
---|---|
Linking | |
PatternRecognition | |
PatternRecognition_CP |
Definition at line 262 of file HGVHistoProducerAlgo.h.
HGVHistoProducerAlgo::HGVHistoProducerAlgo | ( | const edm::ParameterSet & | pset | ) |
Definition at line 23 of file HGVHistoProducerAlgo.cc.
HGVHistoProducerAlgo::~HGVHistoProducerAlgo | ( | ) |
Definition at line 203 of file HGVHistoProducerAlgo.cc.
void HGVHistoProducerAlgo::bookCaloParticleHistos | ( | DQMStore::IBooker & | ibook, |
Histograms & | histograms, | ||
int | pdgid, | ||
unsigned int | layers | ||
) |
Definition at line 214 of file HGVHistoProducerAlgo.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), hgcalTBTopologyTester_cfi::layers, maxEne_, maxEta_, maxPhi_, maxPt_, maxZpos_, minEne_, minEta_, minPhi_, minPt_, minZpos_, nintEne_, nintEta_, nintPhi_, nintPt_, nintZpos_, and EgammaValidation_cff::pdgid.
void HGVHistoProducerAlgo::bookClusterHistos_CellLevel | ( | DQMStore::IBooker & | ibook, |
Histograms & | histograms, | ||
unsigned int | layers, | ||
std::vector< int > | thicknesses | ||
) |
Definition at line 864 of file HGVHistoProducerAlgo.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, hgcalTBTopologyTester_cfi::layers, maxCellsEneDensperthick_, maxClEneperthickperlayer_, maxDisSeedToMaxperthickperlayer_, maxDisToMaxperthickperlayer_, maxDisToMaxperthickperlayerenewei_, maxDisToSeedperthickperlayer_, maxDisToSeedperthickperlayerenewei_, maxTotNcellsperthickperlayer_, minCellsEneDensperthick_, minClEneperthickperlayer_, minDisSeedToMaxperthickperlayer_, minDisToMaxperthickperlayer_, minDisToMaxperthickperlayerenewei_, minDisToSeedperthickperlayer_, minDisToSeedperthickperlayerenewei_, minTotNcellsperthickperlayer_, nintCellsEneDensperthick_, nintClEneperthickperlayer_, nintDisSeedToMaxperthickperlayer_, nintDisToMaxperthickperlayer_, nintDisToMaxperthickperlayerenewei_, nintDisToSeedperthickperlayer_, nintDisToSeedperthickperlayerenewei_, nintTotNcellsperthickperlayer_, AlCaHLTBitMon_QueryRunRegistry::string, and to_string().
void HGVHistoProducerAlgo::bookClusterHistos_ClusterLevel | ( | DQMStore::IBooker & | ibook, |
Histograms & | histograms, | ||
unsigned int | layers, | ||
std::vector< int > | thicknesses, | ||
std::string | pathtomatbudfile | ||
) |
Definition at line 600 of file HGVHistoProducerAlgo.cc.
References dqm::implementation::IBooker::book1D(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, hgcalTBTopologyTester_cfi::layers, maxEneCl_, maxEneClperlay_, maxEta_, maxLongDepBary_, maxMixedHitsCluster_, maxTotNClsperlay_, maxTotNClsperthick_, minEneCl_, minEneClperlay_, minEta_, minLongDepBary_, minMixedHitsCluster_, minTotNClsperlay_, minTotNClsperthick_, nintEneCl_, nintEneClperlay_, nintEta_, nintLongDepBary_, nintMixedHitsCluster_, nintTotNClsperlay_, nintTotNClsperthick_, AlCaHLTBitMon_QueryRunRegistry::string, and to_string().
void HGVHistoProducerAlgo::bookClusterHistos_LCtoCP_association | ( | DQMStore::IBooker & | ibook, |
Histograms & | histograms, | ||
unsigned int | layers | ||
) |
Definition at line 697 of file HGVHistoProducerAlgo.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile(), hgcalTBTopologyTester_cfi::layers, maxEta_, maxPhi_, maxScore_, maxSharedEneFrac_, minEta_, minPhi_, minScore_, minSharedEneFrac_, nintEta_, nintPhi_, nintScore_, nintSharedEneFrac_, AlCaHLTBitMon_QueryRunRegistry::string, and to_string().
void HGVHistoProducerAlgo::bookInfo | ( | DQMStore::IBooker & | ibook, |
Histograms & | histograms | ||
) |
Definition at line 205 of file HGVHistoProducerAlgo.cc.
References dqm::implementation::IBooker::bookInt().
void HGVHistoProducerAlgo::bookSimClusterAssociationHistos | ( | DQMStore::IBooker & | ibook, |
Histograms & | histograms, | ||
unsigned int | layers, | ||
std::vector< int > | thicknesses | ||
) |
Definition at line 343 of file HGVHistoProducerAlgo.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile(), hgcalTBTopologyTester_cfi::layers, maxEta_, maxPhi_, maxScore_, maxSharedEneFrac_, minEta_, minPhi_, minScore_, minSharedEneFrac_, eostools::move(), nintEta_, nintPhi_, nintScore_, nintSharedEneFrac_, AlCaHLTBitMon_QueryRunRegistry::string, and to_string().
void HGVHistoProducerAlgo::bookSimClusterHistos | ( | DQMStore::IBooker & | ibook, |
Histograms & | histograms, | ||
unsigned int | layers, | ||
std::vector< int > | thicknesses | ||
) |
Definition at line 291 of file HGVHistoProducerAlgo.cc.
References dqm::implementation::IBooker::book1D(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, hgcalTBTopologyTester_cfi::layers, maxMixedHitsSimCluster_, maxTotNsimClsperlay_, maxTotNsimClsperthick_, minMixedHitsSimCluster_, minTotNsimClsperlay_, minTotNsimClsperthick_, nintMixedHitsSimCluster_, nintTotNsimClsperlay_, nintTotNsimClsperthick_, AlCaHLTBitMon_QueryRunRegistry::string, and to_string().
void HGVHistoProducerAlgo::bookTracksterHistos | ( | DQMStore::IBooker & | ibook, |
Histograms & | histograms, | ||
unsigned int | layers | ||
) |
Definition at line 972 of file HGVHistoProducerAlgo.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile(), hgcalTBTopologyTester_cfi::layers, maxClEnepermultiplicity_, maxEne_, maxEta_, maxMplofLCs_, maxPhi_, maxPt_, maxSizeCLsinTSTs_, maxTotNClsinTSTs_, maxTotNClsinTSTsperlayer_, maxTotNTSTs_, maxX_, maxY_, maxZ_, minClEnepermultiplicity_, minEne_, minEta_, minMplofLCs_, minPhi_, minPt_, minSizeCLsinTSTs_, minTotNClsinTSTs_, minTotNClsinTSTsperlayer_, minTotNTSTs_, minX_, minY_, minZ_, eostools::move(), nintClEnepermultiplicity_, nintEne_, nintEta_, nintMplofLCs_, nintPhi_, nintPt_, nintSizeCLsinTSTs_, nintTotNClsinTSTs_, nintTotNClsinTSTsperlayer_, nintTotNTSTs_, nintX_, nintY_, nintZ_, AlCaHLTBitMon_QueryRunRegistry::string, and to_string().
void HGVHistoProducerAlgo::bookTracksterSTSHistos | ( | DQMStore::IBooker & | ibook, |
Histograms & | histograms, | ||
const validationType | valType | ||
) |
Definition at line 1114 of file HGVHistoProducerAlgo.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile(), maxEne_, maxEta_, maxPhi_, maxPt_, maxScore_, maxTSTSharedEneFrac_, minEne_, minEta_, minPhi_, minPt_, minScore_, minTSTSharedEneFrac_, nintEne_, nintEta_, nintPhi_, nintPt_, nintScore_, nintSharedEneFrac_, and heppy_batch::val.
double HGVHistoProducerAlgo::distance | ( | const double | x1, |
const double | y1, | ||
const double | x2, | ||
const double | y2 | ||
) | const |
Definition at line 3552 of file HGVHistoProducerAlgo.cc.
References distance2(), mathSSE::sqrt(), testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
Referenced by fill_generic_cluster_histos().
double HGVHistoProducerAlgo::distance2 | ( | const double | x1, |
const double | y1, | ||
const double | x2, | ||
const double | y2 | ||
) | const |
Definition at line 3544 of file HGVHistoProducerAlgo.cc.
References PVValHelper::dx, PVValHelper::dy, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
Referenced by distance().
void HGVHistoProducerAlgo::fill_caloparticle_histos | ( | const Histograms & | histograms, |
int | pdgid, | ||
const CaloParticle & | caloparticle, | ||
std::vector< SimVertex > const & | simVertices, | ||
unsigned int | layers, | ||
std::unordered_map< DetId, const unsigned int > const & | hitMap, | ||
std::vector< HGCRecHit > const & | hits | ||
) | const |
Definition at line 1440 of file HGVHistoProducerAlgo.cc.
References hcalRecHitTable_cff::energy, CaloParticle::energy(), PVValHelper::eta, CaloParticle::eta(), newFWLiteAna::found, CaloParticle::g4Tracks(), getEta(), hfClusterShapes_cfi::hits, mps_fire::i, hgcalTBTopologyTester_cfi::layers, LogDebug, SiStripPI::max, SiStripPI::min, EgammaValidation_cff::pdgid, CaloParticle::phi(), position, funct::pow(), CaloParticle::pt(), recHitTools_, CaloParticle::simClusters(), FastTrackerRecHitCombiner_cfi::simHits, HGCalValidator_cfi::simVertices, edm::RefVector< C, T, F >::size(), and findQualityFiles::v.
void HGVHistoProducerAlgo::fill_cluster_histos | ( | const Histograms & | histograms, |
const int | count, | ||
const reco::CaloCluster & | cluster | ||
) | const |
Definition at line 1732 of file HGVHistoProducerAlgo.cc.
References submitPVResolutionJobs::count, PVValHelper::eta, reco::CaloCluster::eta(), and getEta().
void HGVHistoProducerAlgo::fill_generic_cluster_histos | ( | const Histograms & | histograms, |
const int | count, | ||
edm::Handle< reco::CaloClusterCollection > | clusterHandle, | ||
const reco::CaloClusterCollection & | clusters, | ||
edm::Handle< std::vector< CaloParticle >> | caloParticleHandle, | ||
std::vector< CaloParticle > const & | cP, | ||
std::vector< size_t > const & | cPIndices, | ||
std::vector< size_t > const & | cPSelectedIndices, | ||
std::unordered_map< DetId, const unsigned int > const & | hitMap, | ||
std::map< double, double > | cummatbudg, | ||
unsigned int | layers, | ||
std::vector< int > | thicknesses, | ||
const ticl::RecoToSimCollection & | recSimColl, | ||
const ticl::SimToRecoCollection & | simRecColl, | ||
std::vector< HGCRecHit > const & | hits | ||
) | const |
Definition at line 2178 of file HGVHistoProducerAlgo.cc.
References bsc_activity_cfg::clusters, submitPVResolutionJobs::count, DetId::det(), distance(), HLT_2024v14_cff::distance, PVValHelper::eta, findmaxhit(), DetId::Forward, DetId::HGCalEE, DetId::HGCalHSc, DetId::HGCalHSi, hfClusterShapes_cfi::hits, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, layerClusters_to_CaloParticles(), hgcalTBTopologyTester_cfi::layers, LogDebug, DetId::rawId(), recHitTools_, AlCaHLTBitMon_QueryRunRegistry::string, Calorimetry_cff::thickness, to_string(), trackerHitRTTI::vector, and ecaldqm::zside().
void HGVHistoProducerAlgo::fill_info_histos | ( | const Histograms & | histograms, |
unsigned int | layers | ||
) | const |
Definition at line 1427 of file HGVHistoProducerAlgo.cc.
References hgcalTBTopologyTester_cfi::layers, and recHitTools_.
void HGVHistoProducerAlgo::fill_simCluster_histos | ( | const Histograms & | histograms, |
std::vector< SimCluster > const & | simClusters, | ||
unsigned int | layers, | ||
std::vector< int > | thicknesses | ||
) | const |
void HGVHistoProducerAlgo::fill_simClusterAssociation_histos | ( | const Histograms & | histograms, |
const int | count, | ||
edm::Handle< reco::CaloClusterCollection > | clusterHandle, | ||
const reco::CaloClusterCollection & | clusters, | ||
edm::Handle< std::vector< SimCluster >> | simClusterHandle, | ||
std::vector< SimCluster > const & | simClusters, | ||
std::vector< size_t > const & | sCIndices, | ||
const std::vector< float > & | mask, | ||
std::unordered_map< DetId, const unsigned int > const & | hitMap, | ||
unsigned int | layers, | ||
const ticl::RecoToSimCollectionWithSimClusters & | recSimColl, | ||
const ticl::SimToRecoCollectionWithSimClusters & | simRecColl, | ||
std::vector< HGCRecHit > const & | hits | ||
) | const |
void HGVHistoProducerAlgo::fill_trackster_histos | ( | const Histograms & | histograms, |
const int | count, | ||
const ticl::TracksterCollection & | Tracksters, | ||
const reco::CaloClusterCollection & | layerClusters, | ||
const ticl::TracksterCollection & | simTS, | ||
const ticl::TracksterCollection & | simTS_fromCP, | ||
std::map< uint, std::vector< uint >> const & | simTrackstersMap, | ||
std::vector< SimCluster > const & | sC, | ||
const edm::ProductID & | cPHandle_id, | ||
std::vector< CaloParticle > const & | cP, | ||
std::vector< size_t > const & | cPIndices, | ||
std::vector< size_t > const & | cPSelectedIndices, | ||
std::unordered_map< DetId, const unsigned int > const & | , | ||
unsigned int | layers, | ||
std::vector< HGCRecHit > const & | hits | ||
) | const |
Definition at line 3326 of file HGVHistoProducerAlgo.cc.
References submitPVResolutionJobs::count, hfClusterShapes_cfi::hits, hltEgammaHGCALIDVarsL1Seeded_cfi::layerClusters, hgcalTBTopologyTester_cfi::layers, Linking, recHitTools_, and tracksters_to_SimTracksters().
DetId HGVHistoProducerAlgo::findmaxhit | ( | const reco::CaloCluster & | cluster, |
std::unordered_map< DetId, const unsigned int > const & | hitMap, | ||
std::vector< HGCRecHit > const & | hits | ||
) | const |
Definition at line 3563 of file HGVHistoProducerAlgo.cc.
References hcalRecHitTable_cff::energy, hfClusterShapes_cfi::hits, reco::CaloCluster::hitsAndFractions(), and trackerHitRTTI::vector.
Referenced by fill_generic_cluster_histos().
|
private |
Definition at line 3584 of file HGVHistoProducerAlgo.cc.
References PVValHelper::eta, and useFabsEta_.
Referenced by fill_caloparticle_histos(), and fill_cluster_histos().
void HGVHistoProducerAlgo::layerClusters_to_CaloParticles | ( | const Histograms & | histograms, |
edm::Handle< reco::CaloClusterCollection > | clusterHandle, | ||
const reco::CaloClusterCollection & | clusters, | ||
edm::Handle< std::vector< CaloParticle >> | caloParticleHandle, | ||
std::vector< CaloParticle > const & | cP, | ||
std::vector< size_t > const & | cPIndices, | ||
std::vector< size_t > const & | cPSelectedIndices, | ||
std::unordered_map< DetId, const unsigned int > const & | hitMap, | ||
unsigned int | layers, | ||
const ticl::RecoToSimCollection & | recSimColl, | ||
const ticl::SimToRecoCollection & | simRecColl, | ||
std::vector< HGCRecHit > const & | hits | ||
) | const |
Definition at line 1739 of file HGVHistoProducerAlgo.cc.
References trackingPlots::assoc, bsc_activity_cfg::clusters, edm::AssociationMap< Tag >::end(), mps_fire::end, PVValHelper::eta, spr::find(), edm::AssociationMap< Tag >::find(), dqmdumpme::first, h, hfClusterShapes_cfi::hits, hgcalTBTopologyTester_cfi::layers, LogDebug, getGTfromDQMFile::obj, AlCaHLTBitMon_ParallelJobs::p, phi, recHitTools_, ScoreCutCPtoLC_, and ScoreCutLCtoCP_.
Referenced by fill_generic_cluster_histos().
void HGVHistoProducerAlgo::layerClusters_to_SimClusters | ( | const Histograms & | histograms, |
const int | count, | ||
edm::Handle< reco::CaloClusterCollection > | clusterHandle, | ||
const reco::CaloClusterCollection & | clusters, | ||
edm::Handle< std::vector< SimCluster >> | simClusterHandle, | ||
std::vector< SimCluster > const & | simClusters, | ||
std::vector< size_t > const & | sCIndices, | ||
const std::vector< float > & | mask, | ||
std::unordered_map< DetId, const unsigned int > const & | hitMap, | ||
unsigned int | layers, | ||
const ticl::RecoToSimCollectionWithSimClusters & | recSimColl, | ||
const ticl::SimToRecoCollectionWithSimClusters & | simRecColl, | ||
std::vector< HGCRecHit > const & | hits | ||
) | const |
Definition at line 1998 of file HGVHistoProducerAlgo.cc.
References trackingPlots::assoc, bsc_activity_cfg::clusters, submitPVResolutionJobs::count, edm::AssociationMap< Tag >::end(), PVValHelper::eta, edm::AssociationMap< Tag >::find(), dqmdumpme::first, hfClusterShapes_cfi::hits, hgcalTBTopologyTester_cfi::layers, LogDebug, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, getGTfromDQMFile::obj, AlCaHLTBitMon_ParallelJobs::p, phi, recHitTools_, ScoreCutLCtoSC_, and ScoreCutSCtoLC_.
void HGVHistoProducerAlgo::setRecHitTools | ( | std::shared_ptr< hgcal::RecHitTools > | recHitTools | ) |
Definition at line 3559 of file HGVHistoProducerAlgo.cc.
References recHitTools_.
void HGVHistoProducerAlgo::tracksters_to_SimTracksters | ( | const Histograms & | histograms, |
const int | count, | ||
const ticl::TracksterCollection & | Tracksters, | ||
const reco::CaloClusterCollection & | layerClusters, | ||
const ticl::TracksterCollection & | simTS, | ||
const validationType | valType, | ||
const ticl::TracksterCollection & | simTS_fromCP, | ||
std::map< uint, std::vector< uint >> const & | simTrackstersMap, | ||
std::vector< SimCluster > const & | sC, | ||
const edm::ProductID & | cPHandle_id, | ||
std::vector< CaloParticle > const & | cP, | ||
std::vector< size_t > const & | cPIndices, | ||
std::vector< size_t > const & | cPSelectedIndices, | ||
std::unordered_map< DetId, const unsigned int > const & | , | ||
unsigned int | layers, | ||
std::vector< HGCRecHit > const & | hits | ||
) | const |
Definition at line 2498 of file HGVHistoProducerAlgo.cc.
References DummyCfis::c, submitPVResolutionJobs::count, HLT_2024v14_cff::distance, relativeConstraints::empty, mps_fire::end, hcalRecHitTable_cff::energy, f, spr::find(), newFWLiteAna::found, HLT_2024v14_cff::fraction, h, hfClusterShapes_cfi::hits, heavyIonCSV_trainingSettings::idx, ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::if(), dqmiolumiharvest::j, dqmdumpme::last, hltEgammaHGCALIDVarsL1Seeded_cfi::layerClusters, LogDebug, SiStripPI::min, minTSTSharedEneFracEfficiency_, GetRecoTauVFromDQM_MC_cff::next, getGTfromDQMFile::obj, funct::pow(), offlineSlimmedPrimaryVertices_cfi::score, ScoreCutSTStoTSPurDup_, ScoreCutTStoSTSFakeMerge_, ticl::Trackster::seedID(), ticl::Trackster::seedIndex(), ticl::Trackster::SIM, jetUpdater_cfi::sort, tier0::unique(), findQualityFiles::v, ticl::Trackster::vertex_multiplicity(), AlignmentTracksFromVertexSelector_cfi::vertices, and ticl::Trackster::vertices().
Referenced by fill_trackster_histos().
|
private |
Definition at line 447 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 459 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 445 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 443 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 439 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 441 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 435 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 437 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 400 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos(), bookTracksterHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 410 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 420 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 397 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos(), bookClusterHistos_ClusterLevel(), bookClusterHistos_LCtoCP_association(), bookSimClusterAssociationHistos(), bookTracksterHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 412 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 408 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 406 of file HGVHistoProducerAlgo.h.
Referenced by bookSimClusterHistos().
|
private |
Definition at line 455 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 404 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos(), bookClusterHistos_LCtoCP_association(), bookSimClusterAssociationHistos(), bookTracksterHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 402 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos(), bookTracksterHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 422 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_LCtoCP_association(), bookSimClusterAssociationHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 424 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_LCtoCP_association(), and bookSimClusterAssociationHistos().
|
private |
Definition at line 457 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 433 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 451 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 453 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 418 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 431 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 416 of file HGVHistoProducerAlgo.h.
Referenced by bookSimClusterHistos().
|
private |
Definition at line 429 of file HGVHistoProducerAlgo.h.
Referenced by bookSimClusterHistos().
|
private |
Definition at line 449 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 427 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterSTSHistos().
|
private |
Definition at line 461 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 463 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 465 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 414 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos().
|
private |
Definition at line 447 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 459 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 445 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 443 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 439 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 441 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 435 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 437 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 400 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos(), bookTracksterHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 410 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 420 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 397 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos(), bookClusterHistos_ClusterLevel(), bookClusterHistos_LCtoCP_association(), bookSimClusterAssociationHistos(), bookTracksterHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 412 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 408 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 406 of file HGVHistoProducerAlgo.h.
Referenced by bookSimClusterHistos().
|
private |
Definition at line 455 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 404 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos(), bookClusterHistos_LCtoCP_association(), bookSimClusterAssociationHistos(), bookTracksterHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 402 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos(), bookTracksterHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 422 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_LCtoCP_association(), bookSimClusterAssociationHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 424 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_LCtoCP_association(), and bookSimClusterAssociationHistos().
|
private |
Definition at line 457 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 433 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 451 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 453 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 418 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 431 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 416 of file HGVHistoProducerAlgo.h.
Referenced by bookSimClusterHistos().
|
private |
Definition at line 429 of file HGVHistoProducerAlgo.h.
Referenced by bookSimClusterHistos().
|
private |
Definition at line 449 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 427 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterSTSHistos().
|
private |
Definition at line 426 of file HGVHistoProducerAlgo.h.
Referenced by tracksters_to_SimTracksters().
|
private |
Definition at line 461 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 463 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 465 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 414 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos().
|
private |
Definition at line 448 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 460 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 446 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 444 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 440 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 442 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 436 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 438 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 401 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos(), bookTracksterHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 411 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 421 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 398 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos(), bookClusterHistos_ClusterLevel(), bookClusterHistos_LCtoCP_association(), bookSimClusterAssociationHistos(), bookTracksterHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 413 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 409 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 407 of file HGVHistoProducerAlgo.h.
Referenced by bookSimClusterHistos().
|
private |
Definition at line 456 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 405 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos(), bookClusterHistos_LCtoCP_association(), bookSimClusterAssociationHistos(), bookTracksterHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 403 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos(), bookTracksterHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 423 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_LCtoCP_association(), bookSimClusterAssociationHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 425 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_LCtoCP_association(), bookSimClusterAssociationHistos(), and bookTracksterSTSHistos().
|
private |
Definition at line 458 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 434 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_CellLevel().
|
private |
Definition at line 452 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 454 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 419 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 432 of file HGVHistoProducerAlgo.h.
Referenced by bookClusterHistos_ClusterLevel().
|
private |
Definition at line 417 of file HGVHistoProducerAlgo.h.
Referenced by bookSimClusterHistos().
|
private |
Definition at line 430 of file HGVHistoProducerAlgo.h.
Referenced by bookSimClusterHistos().
|
private |
Definition at line 450 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 428 of file HGVHistoProducerAlgo.h.
|
private |
Definition at line 462 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 464 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 466 of file HGVHistoProducerAlgo.h.
Referenced by bookTracksterHistos().
|
private |
Definition at line 415 of file HGVHistoProducerAlgo.h.
Referenced by bookCaloParticleHistos().
|
private |
Definition at line 394 of file HGVHistoProducerAlgo.h.
Referenced by fill_caloparticle_histos(), fill_generic_cluster_histos(), fill_info_histos(), fill_trackster_histos(), layerClusters_to_CaloParticles(), layerClusters_to_SimClusters(), and setRecHitTools().
|
private |
Definition at line 399 of file HGVHistoProducerAlgo.h.
Referenced by getEta().