#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) |
Private Types | |
typedef ClusterHitRecord< Phase2TrackerRecHit1D::CluRef > | 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 27 of file ClusterStorer.h.
|
private |
Definition at line 80 of file ClusterStorer.h.
|
private |
Definition at line 75 of file ClusterStorer.h.
|
private |
Assuming that the ClusterRef is the same for all SiStripRecHit*:
Definition at line 77 of file ClusterStorer.h.
|
inline |
Definition at line 29 of file ClusterStorer.h.
References addCluster(), clear(), hfClusterShapes_cfi::hits, diffTreeTool::index, and processAllClusters().
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, diffTreeTool::index, SiStripMatchedRecHit2D::monoHit(), ProjectedSiStripRecHit2D::originalHit(), phase2OTClusterRecords_, pixelClusterRecords_, SiStripMatchedRecHit2D::stereoHit(), and stripClusterRecords_.
Referenced by ClusterStorer(), helper::MuonCollectionStoreManager::processMuon(), and helper::TrackCollectionStoreManager::processTrack().
void ClusterStorer::clear | ( | void | ) |
clear records
Definition at line 74 of file ClusterStorer.cc.
References pixelClusterRecords_, processAllClusters(), and stripClusterRecords_.
Referenced by helper::MuonCollectionStoreManager::cloneAndStore(), helper::TrackCollectionStoreManager::cloneAndStore(), Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), ClusterStorer(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
void ClusterStorer::processAllClusters | ( | edmNew::DetSetVector< SiPixelCluster > & | pixelDsvToFill, |
edm::RefProd< edmNew::DetSetVector< SiPixelCluster > > | refPixelClusters, | ||
edmNew::DetSetVector< SiStripCluster > & | stripDsvToFill, | ||
edm::RefProd< edmNew::DetSetVector< SiStripCluster > > | refStripClusters | ||
) |
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 82 of file ClusterStorer.cc.
References pixelClusterRecords_, processClusters(), and stripClusterRecords_.
Referenced by clear(), helper::MuonCollectionStoreManager::cloneAndStore(), helper::TrackCollectionStoreManager::cloneAndStore(), and ClusterStorer().
|
private |
Processes all the clusters of a specific type (after the tracks have been dealt with)
Definition at line 105 of file ClusterStorer.cc.
References fastPrimaryVertexProducer_cfi::clusters, end, objects.autophobj::filler, edmNew::DetSetVector< T >::FastFiller::push_back(), and helper::ClusterStorer::ClusterHitRecord< ClusterRefType >::rekey().
Referenced by processAllClusters().
|
private |
Definition at line 95 of file ClusterStorer.h.
Referenced by addCluster().
|
private |
Definition at line 93 of file ClusterStorer.h.
Referenced by addCluster(), clear(), and processAllClusters().
|
private |
Definition at line 94 of file ClusterStorer.h.
Referenced by addCluster(), clear(), and processAllClusters().