#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.
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 pixelClusterRecords_, and stripClusterRecords_.
Referenced by helper::MuonCollectionStoreManager::cloneAndStore(), helper::TrackCollectionStoreManager::cloneAndStore(), and BeautifulSoup.Tag::setString().
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 77 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 bsc_activity_cfg::clusters, mps_fire::end, and trigObjTnPSource_cfi::filler.
|
private |
Definition at line 94 of file ClusterStorer.h.
Referenced by addCluster().
|
private |
Definition at line 92 of file ClusterStorer.h.
Referenced by addCluster(), clear(), and processAllClusters().
|
private |
Definition at line 93 of file ClusterStorer.h.
Referenced by addCluster(), clear(), and processAllClusters().