Go to the documentation of this file. 1 #ifndef MuonSeedGenerator_CosmicMuonSeedGenerator_H
2 #define MuonSeedGenerator_CosmicMuonSeedGenerator_H
103 return lhs->globalPosition().y() > rhs->globalPosition().y();
edm::InputTag theDTRecSegmentLabel
the name of the DT rec hits collection
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
bool theForcePointDownFlag
std::vector< TrajectorySeed > TrajectorySeedCollection
edm::ESGetToken< MuonDetLayerGeometry, MuonRecoGeometryRecord > muonLayersToken
std::vector< MuonRecHitPointer > MuonRecHitContainer
edm::ESHandle< MagneticField > theField
edm::ESHandle< MuonDetLayerGeometry > theMuonLayers
MuonTransientTrackingRecHit::MuonRecHitPointer second
std::vector< MuonRecHitPair > makeSegPairs(const MuonTransientTrackingRecHit::MuonRecHitContainer &, const MuonTransientTrackingRecHit::MuonRecHitContainer &, std::string) const
unsigned int theMaxSeeds
the maximum number of Seeds
std::shared_ptr< MuonTransientTrackingRecHit > MuonRecHitPointer
edm::InputTag theCSCRecSegmentLabel
the name of the CSC rec hits collection
TrajectorySeed tsosToSeed(const TrajectoryStateOnSurface &, uint32_t) const
MuonTransientTrackingRecHit::MuonRecHitContainer selectSegments(const MuonTransientTrackingRecHit::MuonRecHitContainer &) const
select seed candidates from Segments in Event
void createSeeds(TrajectorySeedCollection &results, const MuonTransientTrackingRecHit::MuonRecHitContainer &hits, const edm::EventSetup &eSetup) const
generate TrajectorySeeds and put them into results
bool areCorrelated(const MuonTransientTrackingRecHit::MuonRecHitPointer &, const MuonTransientTrackingRecHit::MuonRecHitPointer &) const
check if two rechits are correlated
~CosmicMuonSeedGenerator() override
Destructor.
void produce(edm::Event &, const edm::EventSetup &) override
reconstruct muon's seeds
MuonDetLayerMeasurements * muonMeasurements
MuonRecHitPair(const MuonTransientTrackingRecHit::MuonRecHitPointer &a, const MuonTransientTrackingRecHit::MuonRecHitPointer &b, std::string c="")
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magFieldToken
bool theEnableCSCFlag
enable CSCSegment Flag
MuonTransientTrackingRecHit::MuonRecHitPointer first
bool leftIsBetter(const MuonTransientTrackingRecHit::MuonRecHitPointer &, const MuonTransientTrackingRecHit::MuonRecHitPointer &) const
compare quality of two rechits
CosmicMuonSeedGenerator(const edm::ParameterSet &)
Constructor.
std::map< std::string, float > theParameters
bool checkQuality(const MuonTransientTrackingRecHit::MuonRecHitPointer &) const
determine if a MuonTransientTrackingRecHit is qualified to build seed
bool operator()(const MuonTransientTrackingRecHit::ConstMuonRecHitPointer &lhs, const MuonTransientTrackingRecHit::ConstMuonRecHitPointer &rhs) const
std::vector< TrajectorySeed > createSeed(const MuonTransientTrackingRecHit::MuonRecHitPointer &, const edm::EventSetup &) const
create TrajectorySeed from MuonTransientTrackingRecHit
double theMaxDTChi2
the maximum chi2 required for dt and csc rechits
bool theEnableDTFlag
enable DT Segment Flag
std::vector< MuonRecHitPair > MuonRecHitPairVector