#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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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(), edm::ParameterSet::getParameter(), and HLT_25ns14e33_v1_cff::InputTag.
|
virtual |
Destructor.
Definition at line 89 of file CosmicMuonSeedGenerator.cc.
|
private |
check if two rechits are correlated
Definition at line 372 of file CosmicMuonSeedGenerator.cc.
References GetRecoTauVFromDQM_MC_cff::dir2, PV3DBase< T, PVType, FrameType >::eta(), MuonTransientTrackingRecHit::globalDirection(), TValidTrackingRecHit::globalPosition(), PV3DBase< T, PVType, FrameType >::mag(), PV3DBase< T, PVType, FrameType >::phi(), query::result, and PV3DBase< T, PVType, FrameType >::theta().
|
private |
determine if a MuonTransientTrackingRecHit is qualified to build seed
Definition at line 206 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, MuonTransientTrackingRecHit::chi2(), GenericTransientTrackingRecHit::dimension(), MuonTransientTrackingRecHit::isCSC(), MuonTransientTrackingRecHit::isDT(), TrackingRecHit::isValid(), LogTrace, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
create TrajectorySeed from MuonTransientTrackingRecHit
Definition at line 307 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, RecoTauCleanerPlugins::charge, TrackingRecHit::clone(), MuonSubdetId::CSC, TrackingRecHit::det(), MuonSubdetId::DT, MuonPatternRecoDumper::dumpMuonId(), relativeConstraints::error, PV3DBase< T, PVType, FrameType >::eta(), TrackingRecHit::geographicalId(), MuonTransientTrackingRecHit::globalDirection(), GenericTransientTrackingRecHit::hit(), GenericTransientTrackingRecHit::localPosition(), LogTrace, MuonTransientTrackingRecHit::parametersError(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), GenericTransientTrackingRecHit::projectionMatrix(), EnergyCorrector::pt, edm::OwnVector< T, P >::push_back(), DetId::rawId(), query::result, AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), GeomDet::surface(), PV3DBase< T, PVType, FrameType >::theta(), and GeomDet::toLocal().
|
private |
create TrajectorySeed from MuonRecHitPair
Definition at line 447 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, RecoTauCleanerPlugins::charge, TrackingRecHit::clone(), MuonSubdetId::CSC, SiPixelRawToDigiRegional_cfi::deltaPhi, TrackingRecHit::det(), pat::helper::ParametrizationHelper::dimension(), GenericTransientTrackingRecHit::dimension(), MuonSubdetId::DT, MuonPatternRecoDumper::dumpMuonId(), alignCSCRings::e, relativeConstraints::error, PV3DBase< T, PVType, FrameType >::eta(), CosmicMuonSeedGenerator::MuonRecHitPair::first, TrackingRecHit::geographicalId(), MuonTransientTrackingRecHit::globalDirection(), GenericTransientTrackingRecHit::hit(), GenericTransientTrackingRecHit::localPosition(), LogTrace, MuonTransientTrackingRecHit::parametersError(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), GenericTransientTrackingRecHit::projectionMatrix(), EnergyCorrector::pt, edm::OwnVector< T, P >::push_back(), DetId::rawId(), query::result, CosmicMuonSeedGenerator::MuonRecHitPair::second, AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), GeomDet::surface(), lumiQTWidget::t, PV3DBase< T, PVType, FrameType >::theta(), GeomDet::toLocal(), and CosmicMuonSeedGenerator::MuonRecHitPair::type.
|
private |
generate TrajectorySeeds and put them into results
Definition at line 274 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, LogTrace, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 290 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, LogTrace, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
compare quality of two rechits
Definition at line 404 of file CosmicMuonSeedGenerator.cc.
References MuonTransientTrackingRecHit::degreesOfFreedom().
|
private |
Definition at line 416 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, SiPixelRawToDigiRegional_cfi::deltaPhi, query::result, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
|
overridevirtual |
reconstruct muon's seeds
Implements edm::stream::EDProducerBase.
Definition at line 96 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, edm::EventSetup::get(), LogTrace, convertSQLitetoXML_cfg::output, fileCollector::seed, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
select seed candidates from Segments in Event
Definition at line 230 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, query::result, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 529 of file CosmicMuonSeedGenerator.cc.
|
private |
Definition at line 535 of file CosmicMuonSeedGenerator.cc.
References alongMomentum, trajectoryStateTransform::persistentState(), and fileCollector::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.