1 #ifndef SimTracker_TrackAssociation_trackHitsToClusterRefs_h 2 #define SimTracker_TrackAssociation_trackHitsToClusterRefs_h 22 template<
typename iter>
24 std::vector<OmniClusterRef> returnValue;
25 for (iter iRecHit = begin; iRecHit !=
end; ++iRecHit) {
32 edm::LogError(
"TrackAssociator") <<
">>> RecHit does not have an associated cluster!" <<
" file: " << __FILE__ <<
" line: " << __LINE__;
36 const std::type_info &tid =
typeid(*rhit);
40 edm::LogError(
"TrackAssociator") <<
">>> RecHit does not have an associated cluster!" <<
" file: " << __FILE__ <<
" line: " << __LINE__;
47 edm::LogError(
"TrackAssociator") <<
">>> RecHit does not have an associated cluster!" <<
" file: " << __FILE__ <<
" line: " << __LINE__;
53 edm::LogError(
"TrackAssociator") <<
">>> RecHit does not have an associated cluster!" <<
" file: " << __FILE__ <<
" line: " << __LINE__;
59 edm::LogError(
"TrackAssociator") <<
">>> RecHit does not have an associated cluster!" <<
" file: " << __FILE__ <<
" line: " << __LINE__;
64 if ( thit.isProjected() ) {
66 edm::LogError(
"TrackAssociator") <<
">>> getMatchedClusters: TrackingRecHit not associated to any SiStripCluster! subdetid = " << subdetid;
71 edm::LogError(
"TrackAssociator") <<
">>> getMatchedClusters: TrackingRecHit not associated to any cluster! subdetid = " << subdetid;
ClusterRef cluster() const
bool isNonnull() const
Checks for non-null.
OmniClusterRef const & stereoClusterRef() const
std::vector< OmniClusterRef > hitsToClusterRefs(iter begin, iter end)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
ClusterRef cluster() const
OmniClusterRef const & monoClusterRef() const
OmniClusterRef const & omniClusterRef() const
SiStripRecHit2D stereoHit() const
ClusterRef cluster() const
const TrackingRecHit * getHitFromIter(trackingRecHit_iterator iter)
SiStripRecHit2D monoHit() const
DetId geographicalId() const