17 MuonCollectionStoreManager::
33 rTracks_(), rTrackExtras_(), rHits_(),
34 rGBTracks_(), rGBTrackExtras_(), rGBHits_(),
35 rSATracks_(), rSATrackExtras_(), rSAHits_(),
37 id_(0), igbd_(0), isad_(0), idx_(0), igbdx_(0),
38 isadx_(0), hidx_(0), higbdx_(0), hisadx_(0),
60 edm::LogError(
"BadRef") <<
"@SUB=MuonCollectionStoreManager::processMuon" 61 <<
"Skip muon: One of its tracks references " 62 <<
"non-available clusters!";
84 auto const firstHitIndex =
hidx_;
85 unsigned int nHitsAdded = 0;
115 auto const firstHitIndex =
higbdx_;
116 unsigned int nHitsAdded = 0;
146 auto const firstHitIndex =
hisadx_;
147 unsigned int nHitsAdded = 0;
172 const std::type_info &hit_type =
typeid(hit);
174 if (!static_cast<const SiPixelRecHit &>(hit).cluster().isAvailable())
return false;
176 if (!static_cast<const SiStripRecHit2D &>(hit).cluster().isAvailable())
return false;
178 if (!static_cast<const SiStripRecHit1D &>(hit).cluster().isAvailable())
return false;
reco::TrackExtraRefProd rSATrackExtras_
std::unique_ptr< reco::MuonCollection > selMuons_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
TrackRef track() const override
reference to a Track
bool isNonnull() const
Checks for non-null.
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
virtual TrackRef innerTrack() const
ClusterStorer clusterStorer_
std::vector< Track > TrackCollection
collection of Tracks
bool innerOk() const
return true if the innermost hit is valid
edm::Ref< TrackExtraCollection > TrackExtraRef
persistent reference to a TrackExtra
std::unique_ptr< reco::TrackExtraCollection > selTracksExtras_
void addCluster(TrackingRecHitCollection &hits, size_t index)
add cluster of newHit to list (throws if hit is of unknown type)
const math::XYZPoint & outerPosition() const
position of the outermost hit
std::unique_ptr< reco::TrackCollection > selStandAloneTracks_
std::vector< Muon > MuonCollection
collection of Muon objects
reco::TrackExtraRefProd rTrackExtras_
std::unique_ptr< edmNew::DetSetVector< SiStripCluster > > selStripClusters_
edm::OrphanHandle< reco::MuonCollection > put(edm::Event &evt)
Put tracks, track extras and hits+clusters into the event.
const math::XYZPoint & innerPosition() const
position of the innermost hit
TrackingRecHitRefProd rSAHits_
CovarianceMatrix outerStateCovariance() const
outermost trajectory state curvilinear errors
reco::TrackRefProd rSATracks_
reco::TrackRefProd rGBTracks_
unsigned int outerDetId() const
DetId of the detector on which surface the outermost state is located.
void processMuon(const reco::Muon &mu)
Process a single muon.
ClusterRef cluster() const
TrackingRecHitRefProd rHits_
std::unique_ptr< edmNew::DetSetVector< SiPixelCluster > > selPixelClusters_
reco::TrackRefProd rTracks_
trackingRecHit_iterator recHitsBegin() const
Iterator to first hit on the track.
TrackRef standAloneMuon() const override
reference to a stand-alone muon Track
std::unique_ptr< reco::TrackCollection > selTracks_
std::unique_ptr< TrackingRecHitCollection > selGlobalMuonTracksHits_
SiStripRecHit2D originalHit() const
TrackingRecHitRefProd rGBHits_
std::vector< TrackExtra > TrackExtraCollection
collection of TrackExtra objects
void setExtra(const TrackExtraRef &ref)
set reference to "extra" object
SiStripRecHit2D stereoHit() const
const math::XYZVector & outerMomentum() const
momentum vector at the outermost hit position
bool outerOk() const
return true if the outermost hit is valid
const PropagationDirection & seedDirection() const
direction of how the hits were sorted in the original seed
reco::TrackExtraRefProd rGBTrackExtras_
std::unique_ptr< TrackingRecHitCollection > selTracksHits_
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
TrackRef combinedMuon() const override
reference to a stand-alone muon Track
CovarianceMatrix innerStateCovariance() const
innermost trajectory state curvilinear errors
std::unique_ptr< TrackingRecHitCollection > selStandAloneTracksHits_
std::unique_ptr< reco::TrackCollection > selGlobalMuonTracks_
SiStripRecHit2D monoHit() const
Pixel cluster – collection of neighboring pixels above threshold.
std::unique_ptr< reco::TrackExtraCollection > selGlobalMuonTracksExtras_
const math::XYZVector & innerMomentum() const
momentum vector at the innermost hit position
std::unique_ptr< reco::TrackExtraCollection > selStandAloneTracksExtras_
DetId geographicalId() const
unsigned int innerDetId() const
DetId of the detector on which surface the innermost state is located.
bool clusterRefsOK(const reco::Track &track) const
Check if all references to silicon strip/pixel clusters are available.
virtual TrackRef globalTrack() const
reference to Track reconstructed in both tracked and muon detector
constexpr Detector det() const
get the detector field from this detid
trackingRecHit_iterator recHitsEnd() const
Iterator to last hit on the track.