#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 &) |
reconstruct muon's seeds More... | |
virtual | ~CosmicMuonSeedGenerator () |
Destructor. More... | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Types | |
typedef std::vector < MuonRecHitPair > | MuonRecHitPairVector |
Private Attributes | |
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::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
SeedGenerator for Cosmic Muon
Definition at line 27 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 51 of file CosmicMuonSeedGenerator.h.
CosmicMuonSeedGenerator::CosmicMuonSeedGenerator | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 47 of file CosmicMuonSeedGenerator.cc.
References edm::ParameterSet::getParameter().
|
virtual |
|
private |
check if two rechits are correlated
Definition at line 361 of file CosmicMuonSeedGenerator.cc.
References GetRecoTauVFromDQM_MC_cff::dir2, PV3DBase< T, PVType, FrameType >::eta(), 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 199 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, and LogTrace.
|
private |
create TrajectorySeed from MuonTransientTrackingRecHit
Definition at line 300 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, DeDxDiscriminatorTools::charge(), MuonSubdetId::CSC, MuonSubdetId::DT, MuonPatternRecoDumper::dumpMuonId(), error, LogTrace, PV3DBase< T, PVType, FrameType >::perp(), and query::result.
|
private |
create TrajectorySeed from MuonRecHitPair
Definition at line 436 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, DeDxDiscriminatorTools::charge(), MuonSubdetId::CSC, SiPixelRawToDigiRegional_cfi::deltaPhi, pat::helper::ParametrizationHelper::dimension(), MuonSubdetId::DT, MuonPatternRecoDumper::dumpMuonId(), alignCSCRings::e, error, CosmicMuonSeedGenerator::MuonRecHitPair::first, LogTrace, PV3DBase< T, PVType, FrameType >::perp(), query::result, CosmicMuonSeedGenerator::MuonRecHitPair::second, lumiQTWidget::t, and CosmicMuonSeedGenerator::MuonRecHitPair::type.
|
private |
generate TrajectorySeeds and put them into results
Definition at line 267 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, and LogTrace.
|
private |
Definition at line 283 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, and LogTrace.
|
private |
compare quality of two rechits
Definition at line 393 of file CosmicMuonSeedGenerator.cc.
|
private |
Definition at line 405 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, SiPixelRawToDigiRegional_cfi::deltaPhi, query::result, and GlobalPosition_Frontier_DevDB_cff::tag.
|
virtual |
reconstruct muon's seeds
Implements edm::EDProducer.
Definition at line 87 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, edm::EventSetup::get(), LogTrace, convertSQLitetoXML_cfg::output, MuonDetLayerMeasurements::recHits(), and MuonDetLayerMeasurements::setEvent().
|
private |
select seed candidates from Segments in Event
Definition at line 223 of file CosmicMuonSeedGenerator.cc.
References python.rootplot.argparse::category, and query::result.
|
private |
Definition at line 513 of file CosmicMuonSeedGenerator.cc.
References alongMomentum, and trajectoryStateTransform::persistentState().
|
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 117 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 116 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 121 of file CosmicMuonSeedGenerator.h.
|
private |
Definition at line 119 of file CosmicMuonSeedGenerator.h.