#include <ClusterStorer.h>
Classes | |
class | ClusterHitRecord |
A struct for clusters associated to hits. More... | |
Public Member Functions | |
void | addCluster (TrackingRecHitCollection &hits, size_t index) |
add cluster of newHit to list (throws if hit is of unknown type) More... | |
void | clear () |
clear records More... | |
ClusterStorer () | |
void | processAllClusters (edmNew::DetSetVector< SiPixelCluster > &pixelDsvToFill, edm::RefProd< edmNew::DetSetVector< SiPixelCluster > > refPixelClusters, edmNew::DetSetVector< SiStripCluster > &stripDsvToFill, edm::RefProd< edmNew::DetSetVector< SiStripCluster > > refStripClusters, edmNew::DetSetVector< Phase2TrackerCluster1D > &phase2OTDsvToFill, edm::RefProd< edmNew::DetSetVector< Phase2TrackerCluster1D > > refPhase2OTClusters) |
Private Types | |
typedef ClusterHitRecord< Phase2TrackerRecHit1D::ClusterRef > | Phase2OTClusterHitRecord |
typedef ClusterHitRecord< SiPixelRecHit::ClusterRef > | PixelClusterHitRecord |
typedef ClusterHitRecord< SiStripRecHit2D::ClusterRef > | StripClusterHitRecord |
Assuming that the ClusterRef is the same for all SiStripRecHit*: More... | |
Private Member Functions | |
template<typename HitType , typename ClusterType > | |
void | processClusters (std::vector< ClusterHitRecord< typename HitType::ClusterRef > > &clusterRecords, edmNew::DetSetVector< ClusterType > &dsvToFill, edm::RefProd< edmNew::DetSetVector< ClusterType > > &refprod) |
Private Attributes | |
std::vector< Phase2OTClusterHitRecord > | phase2OTClusterRecords_ |
std::vector< PixelClusterHitRecord > | pixelClusterRecords_ |
std::vector< StripClusterHitRecord > | stripClusterRecords_ |
Definition at line 28 of file ClusterStorer.h.
|
private |
Definition at line 83 of file ClusterStorer.h.
|
private |
Definition at line 78 of file ClusterStorer.h.
|
private |
Assuming that the ClusterRef is the same for all SiStripRecHit*:
Definition at line 80 of file ClusterStorer.h.
|
inline |
Definition at line 30 of file ClusterStorer.h.
void ClusterStorer::addCluster | ( | TrackingRecHitCollection & | hits, |
size_t | index | ||
) |
add cluster of newHit to list (throws if hit is of unknown type)
Definition at line 24 of file ClusterStorer.cc.
References Exception, hfClusterShapes_cfi::hits, SiStripMatchedRecHit2D::monoHit(), ProjectedSiStripRecHit2D::originalHit(), phase2OTClusterRecords_, pixelClusterRecords_, SiStripMatchedRecHit2D::stereoHit(), and stripClusterRecords_.
Referenced by helper::MuonCollectionStoreManager::processMuon(), and helper::TrackCollectionStoreManager::processTrack().
void ClusterStorer::clear | ( | void | ) |
clear records
Definition at line 71 of file ClusterStorer.cc.
References phase2OTClusterRecords_, pixelClusterRecords_, and stripClusterRecords_.
Referenced by helper::MuonCollectionStoreManager::cloneAndStore(), and helper::TrackCollectionStoreManager::cloneAndStore().
void ClusterStorer::processAllClusters | ( | edmNew::DetSetVector< SiPixelCluster > & | pixelDsvToFill, |
edm::RefProd< edmNew::DetSetVector< SiPixelCluster > > | refPixelClusters, | ||
edmNew::DetSetVector< SiStripCluster > & | stripDsvToFill, | ||
edm::RefProd< edmNew::DetSetVector< SiStripCluster > > | refStripClusters, | ||
edmNew::DetSetVector< Phase2TrackerCluster1D > & | phase2OTDsvToFill, | ||
edm::RefProd< edmNew::DetSetVector< Phase2TrackerCluster1D > > | refPhase2OTClusters | ||
) |
Processes all the clusters of the tracks (after the tracks have been dealt with), need Refs to products (i.e. full collections) in the event.
Definition at line 78 of file ClusterStorer.cc.
References phase2OTClusterRecords_, pixelClusterRecords_, and stripClusterRecords_.
Referenced by helper::MuonCollectionStoreManager::cloneAndStore(), and helper::TrackCollectionStoreManager::cloneAndStore().
|
private |
Processes all the clusters of a specific type (after the tracks have been dealt with)
Definition at line 104 of file ClusterStorer.cc.
References bsc_activity_cfg::clusters, ALCARECOPPSCalTrackBasedSel_cff::detid, trigObjTnPSource_cfi::filler, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and jetUpdater_cfi::sort.
|
private |
Definition at line 97 of file ClusterStorer.h.
Referenced by addCluster(), clear(), and processAllClusters().
|
private |
Definition at line 95 of file ClusterStorer.h.
Referenced by addCluster(), clear(), and processAllClusters().
|
private |
Definition at line 96 of file ClusterStorer.h.
Referenced by addCluster(), clear(), and processAllClusters().