#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 21 of file ClusterStorer.cc.
References edm::hlt::Exception, getHLTprescales::index, SiStripMatchedRecHit2D::monoHit(), ProjectedSiStripRecHit2D::originalHit(), pixelClusterRecords_, SiStripMatchedRecHit2D::stereoHit(), and stripClusterRecords_.
Referenced by helper::MuonCollectionStoreManager::processMuon(), and helper::TrackCollectionStoreManager::processTrack().
void ClusterStorer::clear | ( | void | ) |
clear records
Definition at line 65 of file ClusterStorer.cc.
References pixelClusterRecords_, and stripClusterRecords_.
Referenced by helper::MuonCollectionStoreManager::cloneAndStore(), helper::TrackCollectionStoreManager::cloneAndStore(), python.Vispa.Views.WidgetView.WidgetView::closeEvent(), python.Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), python.Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), python.Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), python.Vispa.Views.WidgetView.WidgetView::setDataObjects(), python.Vispa.Views.TreeView.TreeView::updateContent(), python.Vispa.Views.TableView.TableView::updateContent(), python.Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and python.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 73 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 96 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().