#include <CosmicMuonSeedGenerator.h>
Classes | |
struct | DecreasingGlobalY |
struct | MuonRecHitPair |
Public Member Functions | |
CosmicMuonSeedGenerator (const edm::ParameterSet &) | |
Constructor. More... | |
void | produce (edm::Event &, const edm::EventSetup &) override |
reconstruct muon's seeds More... | |
~CosmicMuonSeedGenerator () override | |
Destructor. More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Private Types | |
typedef std::vector< MuonRecHitPair > | MuonRecHitPairVector |
Private Attributes | |
MuonDetLayerMeasurements * | muonMeasurements |
edm::InputTag | theCSCRecSegmentLabel |
the name of the CSC rec hits collection More... | |
edm::InputTag | theDTRecSegmentLabel |
the name of the DT rec hits collection More... | |
bool | theEnableCSCFlag |
enable CSCSegment Flag More... | |
bool | theEnableDTFlag |
enable DT Segment Flag More... | |
edm::ESHandle< MagneticField > | theField |
bool | theForcePointDownFlag |
double | theMaxCSCChi2 |
double | theMaxDTChi2 |
the maximum chi2 required for dt and csc rechits More... | |
unsigned int | theMaxSeeds |
the maximum number of Seeds More... | |
edm::ESHandle< MuonDetLayerGeometry > | theMuonLayers |
std::map< std::string, float > | theParameters |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
SeedGenerator for Cosmic Muon
Definition at line 30 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 55 of file CosmicMuonSeedGenerator.h.
CosmicMuonSeedGenerator::CosmicMuonSeedGenerator | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 44 of file CosmicMuonSeedGenerator.cc.
References edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), and HLT_2018_cff::InputTag.
|
override |
Destructor.
Definition at line 94 of file CosmicMuonSeedGenerator.cc.
|
private |
check if two rechits are correlated
Definition at line 372 of file CosmicMuonSeedGenerator.cc.
References L1TDiffHarvesting_cfi::dir1, L1TDiffHarvesting_cfi::dir2, PV3DBase< T, PVType, FrameType >::eta(), PV3DBase< T, PVType, FrameType >::mag(), PV3DBase< T, PVType, FrameType >::phi(), mps_fire::result, and PV3DBase< T, PVType, FrameType >::theta().
|
private |
determine if a MuonTransientTrackingRecHit is qualified to build seed
Definition at line 199 of file CosmicMuonSeedGenerator.cc.
References taus_updatedMVAIds_cff::category, LogTrace, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
create TrajectorySeed from MuonTransientTrackingRecHit
Definition at line 308 of file CosmicMuonSeedGenerator.cc.
References taus_updatedMVAIds_cff::category, ALCARECOTkAlJpsiMuMu_cff::charge, MuonSubdetId::CSC, MuonSubdetId::DT, MuonPatternRecoDumper::dumpMuonId(), relativeConstraints::error, LogTrace, PV3DBase< T, PVType, FrameType >::perp(), DiDispStaMuonMonitor_cfi::pt, edm::OwnVector< T, P >::push_back(), mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
create TrajectorySeed from MuonRecHitPair
Definition at line 449 of file CosmicMuonSeedGenerator.cc.
References taus_updatedMVAIds_cff::category, ALCARECOTkAlJpsiMuMu_cff::charge, MuonSubdetId::CSC, SiPixelRawToDigiRegional_cfi::deltaPhi, pat::helper::ParametrizationHelper::dimension(), MuonSubdetId::DT, MuonPatternRecoDumper::dumpMuonId(), MillePedeFileConverter_cfg::e, relativeConstraints::error, CosmicMuonSeedGenerator::MuonRecHitPair::first, LogTrace, PV3DBase< T, PVType, FrameType >::perp(), DiDispStaMuonMonitor_cfi::pt, edm::OwnVector< T, P >::push_back(), mps_fire::result, CosmicMuonSeedGenerator::MuonRecHitPair::second, AlCaHLTBitMon_QueryRunRegistry::string, OrderedSet::t, and CosmicMuonSeedGenerator::MuonRecHitPair::type.
|
private |
generate TrajectorySeeds and put them into results
Definition at line 272 of file CosmicMuonSeedGenerator.cc.
References taus_updatedMVAIds_cff::category, LogTrace, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 289 of file CosmicMuonSeedGenerator.cc.
References taus_updatedMVAIds_cff::category, LogTrace, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
compare quality of two rechits
Definition at line 404 of file CosmicMuonSeedGenerator.cc.
References hltPixelTracks_cff::chi2.
|
private |
Definition at line 413 of file CosmicMuonSeedGenerator.cc.
References taus_updatedMVAIds_cff::category, SiPixelRawToDigiRegional_cfi::deltaPhi, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
|
override |
reconstruct muon's seeds
Definition at line 100 of file CosmicMuonSeedGenerator.cc.
References taus_updatedMVAIds_cff::category, edm::EventSetup::get(), LogTrace, eostools::move(), convertSQLitetoXML_cfg::output, SurveyInfoScenario_cff::seed, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
select seed candidates from Segments in Event
Definition at line 221 of file CosmicMuonSeedGenerator.cc.
References taus_updatedMVAIds_cff::category, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 534 of file CosmicMuonSeedGenerator.cc.
|
private |
Definition at line 539 of file CosmicMuonSeedGenerator.cc.
References alongMomentum, trajectoryStateTransform::persistentState(), and SurveyInfoScenario_cff::seed.
|
private |
Definition at line 127 of file CosmicMuonSeedGenerator.h.
|
private |
the name of the CSC rec hits collection
Definition at line 113 of file CosmicMuonSeedGenerator.h.
|
private |
the name of the DT rec hits collection
Definition at line 110 of file CosmicMuonSeedGenerator.h.
|
private |
enable CSCSegment Flag
Definition at line 107 of file CosmicMuonSeedGenerator.h.
|
private |
enable DT Segment Flag
Definition at line 104 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 123 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 121 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 120 of file CosmicMuonSeedGenerator.h.
|
private |
the maximum chi2 required for dt and csc rechits
Definition at line 119 of file CosmicMuonSeedGenerator.h.
|
private |
the maximum number of Seeds
Definition at line 116 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 122 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 125 of file CosmicMuonSeedGenerator.h.