#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) |
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 |
Destructor.
Definition at line 84 of file CosmicMuonSeedGenerator.cc.
|
private |
check if two rechits are correlated
Definition at line 364 of file CosmicMuonSeedGenerator.cc.
References 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 202 of file CosmicMuonSeedGenerator.cc.
References category(), and LogTrace.
|
private |
create TrajectorySeed from MuonTransientTrackingRecHit
Definition at line 303 of file CosmicMuonSeedGenerator.cc.
References category(), DeDxDiscriminatorTools::charge(), MuonSubdetId::CSC, MuonSubdetId::DT, MuonPatternRecoDumper::dumpMuonId(), error, LogTrace, PV3DBase< T, PVType, FrameType >::perp(), ExpressReco_HICollisions_FallBack::pt, query::result, and matplotRender::t.
|
private |
create TrajectorySeed from MuonRecHitPair
Definition at line 439 of file CosmicMuonSeedGenerator.cc.
References category(), DeDxDiscriminatorTools::charge(), MuonSubdetId::CSC, Geom::deltaPhi(), pat::helper::ParametrizationHelper::dimension(), MuonSubdetId::DT, MuonPatternRecoDumper::dumpMuonId(), ExpressReco_HICollisions_FallBack::e, error, CosmicMuonSeedGenerator::MuonRecHitPair::first, LogTrace, PV3DBase< T, PVType, FrameType >::perp(), ExpressReco_HICollisions_FallBack::pt, query::result, CosmicMuonSeedGenerator::MuonRecHitPair::second, matplotRender::t, and CosmicMuonSeedGenerator::MuonRecHitPair::type.
|
private |
generate TrajectorySeeds and put them into results
Definition at line 270 of file CosmicMuonSeedGenerator.cc.
References category(), and LogTrace.
|
private |
Definition at line 286 of file CosmicMuonSeedGenerator.cc.
References category(), and LogTrace.
|
private |
compare quality of two rechits
Definition at line 396 of file CosmicMuonSeedGenerator.cc.
References ExpressReco_HICollisions_FallBack::chi2.
|
private |
Definition at line 408 of file CosmicMuonSeedGenerator.cc.
References category(), Geom::deltaPhi(), query::result, and GlobalPosition_Frontier_DevDB_cff::tag.
|
virtual |
reconstruct muon's seeds
Implements edm::EDProducer.
Definition at line 90 of file CosmicMuonSeedGenerator.cc.
References category(), edm::EventSetup::get(), LogTrace, convertSQLitetoXML_cfg::output, MuonDetLayerMeasurements::recHits(), and MuonDetLayerMeasurements::setEvent().
|
private |
select seed candidates from Segments in Event
Definition at line 226 of file CosmicMuonSeedGenerator.cc.
References category(), and query::result.
|
private |
Definition at line 516 of file CosmicMuonSeedGenerator.cc.
References alongMomentum.
|
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.