#include <CosmicMuonSeedGenerator.h>
Classes | |
struct | DecreasingGlobalY |
struct | MuonRecHitPair |
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 |
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 |
TrajectoryStateTransform * | theTSTransform |
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 |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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::getParameter().
|
virtual |
Destructor.
Definition at line 87 of file CosmicMuonSeedGenerator.cc.
|
private |
check if two rechits are correlated
Definition at line 366 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 204 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 305 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, DeDxDiscriminatorTools::charge(), MuonSubdetId::CSC, TrackingRecHit::det(), MuonSubdetId::DT, MuonPatternRecoDumper::dumpMuonId(), relativeConstraints::error, PV3DBase< T, PVType, FrameType >::eta(), TrackingRecHit::geographicalId(), MuonTransientTrackingRecHit::globalDirection(), GenericTransientTrackingRecHit::localPosition(), LogTrace, MuonTransientTrackingRecHit::parametersError(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), GenericTransientTrackingRecHit::projectionMatrix(), RecoTauCleanerPlugins::pt, 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 441 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, DeDxDiscriminatorTools::charge(), 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::localPosition(), LogTrace, MuonTransientTrackingRecHit::parametersError(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), GenericTransientTrackingRecHit::projectionMatrix(), RecoTauCleanerPlugins::pt, DetId::rawId(), query::result, CosmicMuonSeedGenerator::MuonRecHitPair::second, AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), GeomDet::surface(), edmStreamStallGrapher::t, PV3DBase< T, PVType, FrameType >::theta(), GeomDet::toLocal(), and CosmicMuonSeedGenerator::MuonRecHitPair::type.
|
private |
generate TrajectorySeeds and put them into results
Definition at line 272 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, LogTrace, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 288 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, LogTrace, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
compare quality of two rechits
Definition at line 398 of file CosmicMuonSeedGenerator.cc.
References MuonTransientTrackingRecHit::degreesOfFreedom().
|
private |
Definition at line 410 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 94 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 228 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, query::result, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 518 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 107 of file CosmicMuonSeedGenerator.h.
|
private |
the name of the DT rec hits collection
Definition at line 104 of file CosmicMuonSeedGenerator.h.
|
private |
enable CSCSegment Flag
Definition at line 101 of file CosmicMuonSeedGenerator.h.
|
private |
enable DT Segment Flag
Definition at line 98 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 116 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 114 of file CosmicMuonSeedGenerator.h.
|
private |
the maximum chi2 required for dt and csc rechits
Definition at line 113 of file CosmicMuonSeedGenerator.h.
|
private |
the maximum number of Seeds
Definition at line 110 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 115 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 120 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 118 of file CosmicMuonSeedGenerator.h.