#include <CosmicMuonSeedGenerator.h>
Classes | |
struct | DecreasingGlobalY |
struct | MuonRecHitPair |
Public Member Functions | |
CosmicMuonSeedGenerator (const edm::ParameterSet &) | |
Constructor. More... | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
reconstruct muon's seeds More... | |
virtual | ~CosmicMuonSeedGenerator () |
Destructor. More... | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
SeedGenerator for Cosmic Muon
Definition at line 26 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 50 of file CosmicMuonSeedGenerator.h.
CosmicMuonSeedGenerator::CosmicMuonSeedGenerator | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 44 of file CosmicMuonSeedGenerator.cc.
References edm::ParameterSet::existsAs(), and edm::ParameterSet::getParameter().
|
virtual |
Destructor.
Definition at line 90 of file CosmicMuonSeedGenerator.cc.
|
private |
check if two rechits are correlated
Definition at line 373 of file CosmicMuonSeedGenerator.cc.
References GetRecoTauVFromDQM_MC_cff::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 207 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, LogTrace, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
create TrajectorySeed from MuonTransientTrackingRecHit
Definition at line 308 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, ALCARECOTkAlJpsiMuMu_cff::charge, MuonSubdetId::CSC, MuonSubdetId::DT, MuonPatternRecoDumper::dumpMuonId(), relativeConstraints::error, LogTrace, PV3DBase< T, PVType, FrameType >::perp(), EnergyCorrector::pt, edm::OwnVector< T, P >::push_back(), mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
create TrajectorySeed from MuonRecHitPair
Definition at line 448 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, ALCARECOTkAlJpsiMuMu_cff::charge, MuonSubdetId::CSC, MuonCkfTrajectoryBuilder_cfi::deltaPhi, pat::helper::ParametrizationHelper::dimension(), MuonSubdetId::DT, MuonPatternRecoDumper::dumpMuonId(), MillePedeFileConverter_cfg::e, relativeConstraints::error, CosmicMuonSeedGenerator::MuonRecHitPair::first, LogTrace, PV3DBase< T, PVType, FrameType >::perp(), EnergyCorrector::pt, edm::OwnVector< T, P >::push_back(), mps_fire::result, CosmicMuonSeedGenerator::MuonRecHitPair::second, AlCaHLTBitMon_QueryRunRegistry::string, lumiQTWidget::t, and CosmicMuonSeedGenerator::MuonRecHitPair::type.
|
private |
generate TrajectorySeeds and put them into results
Definition at line 275 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, LogTrace, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 291 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, LogTrace, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
compare quality of two rechits
Definition at line 405 of file CosmicMuonSeedGenerator.cc.
References HiEvtPlane_cfi::chi2.
|
private |
Definition at line 417 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, MuonCkfTrajectoryBuilder_cfi::deltaPhi, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
|
overridevirtual |
reconstruct muon's seeds
Definition at line 97 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::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 231 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 530 of file CosmicMuonSeedGenerator.cc.
|
private |
Definition at line 536 of file CosmicMuonSeedGenerator.cc.
References alongMomentum, trajectoryStateTransform::persistentState(), and SurveyInfoScenario_cff::seed.
|
private |
Definition at line 122 of file CosmicMuonSeedGenerator.h.
|
private |
the name of the CSC rec hits collection
Definition at line 108 of file CosmicMuonSeedGenerator.h.
|
private |
the name of the DT rec hits collection
Definition at line 105 of file CosmicMuonSeedGenerator.h.
|
private |
enable CSCSegment Flag
Definition at line 102 of file CosmicMuonSeedGenerator.h.
|
private |
enable DT Segment Flag
Definition at line 99 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 118 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 116 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 115 of file CosmicMuonSeedGenerator.h.
|
private |
the maximum chi2 required for dt and csc rechits
Definition at line 114 of file CosmicMuonSeedGenerator.h.
|
private |
the maximum number of Seeds
Definition at line 111 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 117 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 120 of file CosmicMuonSeedGenerator.h.