#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 | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Private Types | |
typedef std::vector< MuonRecHitPair > | MuonRecHitPairVector |
Private Attributes | |
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | magFieldToken |
edm::ESGetToken< MuonDetLayerGeometry, MuonRecoGeometryRecord > | muonLayersToken |
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<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
SeedGenerator for Cosmic Muon
Definition at line 35 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 60 of file CosmicMuonSeedGenerator.h.
CosmicMuonSeedGenerator::CosmicMuonSeedGenerator | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 39 of file CosmicMuonSeedGenerator.cc.
References HLT_2022v14_cff::InputTag, and muonDTDigis_cfi::pset.
|
override |
Destructor.
Definition at line 91 of file CosmicMuonSeedGenerator.cc.
|
private |
check if two rechits are correlated
Definition at line 369 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 196 of file CosmicMuonSeedGenerator.cc.
References taus_updatedMVAIds_cff::category, LogTrace, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
create TrajectorySeed from MuonTransientTrackingRecHit
Definition at line 305 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 446 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, submitPVValidationJobs::t, and CosmicMuonSeedGenerator::MuonRecHitPair::type.
|
private |
generate TrajectorySeeds and put them into results
Definition at line 269 of file CosmicMuonSeedGenerator.cc.
References taus_updatedMVAIds_cff::category, hfClusterShapes_cfi::hits, LogTrace, bookConverter::results, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 286 of file CosmicMuonSeedGenerator.cc.
References taus_updatedMVAIds_cff::category, LogTrace, bookConverter::results, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
compare quality of two rechits
Definition at line 401 of file CosmicMuonSeedGenerator.cc.
References hltPixelTracks_cff::chi2.
|
private |
Definition at line 410 of file CosmicMuonSeedGenerator.cc.
References taus_updatedMVAIds_cff::category, SiPixelRawToDigiRegional_cfi::deltaPhi, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, and makeGlobalPositionRcd_cfg::tag.
|
override |
reconstruct muon's seeds
Definition at line 97 of file CosmicMuonSeedGenerator.cc.
References taus_updatedMVAIds_cff::category, edm::EventSetup::getHandle(), LogTrace, eostools::move(), convertSQLitetoXML_cfg::output, fileCollector::seed, DetachedQuadStep_cff::seeds, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
select seed candidates from Segments in Event
Definition at line 218 of file CosmicMuonSeedGenerator.cc.
References taus_updatedMVAIds_cff::category, good, hfClusterShapes_cfi::hits, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 531 of file CosmicMuonSeedGenerator.cc.
|
private |
Definition at line 536 of file CosmicMuonSeedGenerator.cc.
References alongMomentum, trajectoryStateTransform::persistentState(), and fileCollector::seed.
|
private |
Definition at line 130 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 129 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 134 of file CosmicMuonSeedGenerator.h.
|
private |
the name of the CSC rec hits collection
Definition at line 118 of file CosmicMuonSeedGenerator.h.
|
private |
the name of the DT rec hits collection
Definition at line 115 of file CosmicMuonSeedGenerator.h.
|
private |
enable CSCSegment Flag
Definition at line 112 of file CosmicMuonSeedGenerator.h.
|
private |
enable DT Segment Flag
Definition at line 109 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 128 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 126 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 125 of file CosmicMuonSeedGenerator.h.
|
private |
the maximum chi2 required for dt and csc rechits
Definition at line 124 of file CosmicMuonSeedGenerator.h.
|
private |
the maximum number of Seeds
Definition at line 121 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 127 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 132 of file CosmicMuonSeedGenerator.h.