#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 < 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 < PixelClusterHitRecord > | pixelClusterRecords_ |
std::vector < StripClusterHitRecord > | stripClusterRecords_ |
Definition at line 26 of file ClusterStorer.h.
|
private |
Definition at line 74 of file ClusterStorer.h.
|
private |
Assuming that the ClusterRef is the same for all SiStripRecHit*:
Definition at line 76 of file ClusterStorer.h.
|
inline |
Definition at line 28 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 22 of file ClusterStorer.cc.
References edm::hlt::Exception, getHLTprescales::index, ProjectedSiStripRecHit2D::originalHit(), pixelClusterRecords_, and stripClusterRecords_.
Referenced by helper::MuonCollectionStoreManager::processMuon(), and helper::TrackCollectionStoreManager::processTrack().
void ClusterStorer::clear | ( | void | ) |
clear records
Definition at line 66 of file ClusterStorer.cc.
References pixelClusterRecords_, and stripClusterRecords_.
Referenced by helper::MuonCollectionStoreManager::cloneAndStore(), helper::TrackCollectionStoreManager::cloneAndStore(), Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), 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 74 of file ClusterStorer.cc.
References 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 97 of file ClusterStorer.cc.
References cond::rpcobgas::detid, end, edmNew::DetSetVector< T >::FastFiller::push_back(), and python.multivaluedict::sort().
|
private |
Definition at line 89 of file ClusterStorer.h.
Referenced by addCluster(), clear(), and processAllClusters().
|
private |
Definition at line 90 of file ClusterStorer.h.
Referenced by addCluster(), clear(), and processAllClusters().