#include <TrajectorySeedProducer.h>
Public Member Functions | |
virtual void | beginRun (edm::Run const &run, const edm::EventSetup &es) override |
virtual void | produce (edm::Event &e, const edm::EventSetup &es) override |
TrajectorySeedProducer (const edm::ParameterSet &conf) | |
virtual | ~TrajectorySeedProducer () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
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 | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
bool | compatibleWithBeamAxis (GlobalPoint &gpos1, GlobalPoint &gpos2, double error, bool forward, unsigned algo) const |
void | stateOnDet (const TrajectoryStateOnSurface &ts, unsigned int detid, PTrajectoryStateOnDet &pts) const |
A mere copy (without memory leak) of an existing tracking method. More... | |
Private Attributes | |
unsigned int | absMinRecHits |
std::vector< unsigned int > | firstHitSubDetectorNumber |
std::vector< std::vector < unsigned int > > | firstHitSubDetectors |
edm::InputTag | hitProducer |
std::vector< std::string > | layerList |
std::vector< double > | maxD0 |
std::vector< double > | maxZ0 |
std::vector< unsigned > | minRecHits |
bool | newSyntax |
std::vector< unsigned int > | numberOfHits |
std::vector< double > | originHalfLength |
std::vector< double > | originpTMin |
std::vector< double > | originRadius |
std::vector< edm::InputTag > | primaryVertices |
std::vector< double > | pTMin |
bool | rejectOverlaps |
std::vector< unsigned int > | secondHitSubDetectorNumber |
std::vector< std::vector < unsigned int > > | secondHitSubDetectors |
bool | seedCleaning |
std::vector< std::string > | seedingAlgo |
bool | selectMuons |
edm::InputTag | theBeamSpot |
const MagneticFieldMap * | theFieldMap |
const TrackerGeometry * | theGeometry |
const MagneticField * | theMagField |
PropagatorWithMaterial * | thePropagator |
std::vector< unsigned int > | thirdHitSubDetectorNumber |
std::vector< std::vector < unsigned int > > | thirdHitSubDetectors |
std::vector< const reco::VertexCollection * > | vertices |
double | x0 |
double | y0 |
double | z0 |
std::vector< double > | zVertexConstraint |
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 | |
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) |
Definition at line 27 of file TrajectorySeedProducer.h.
|
explicit |
Definition at line 48 of file TrajectorySeedProducer.cc.
References absMinRecHits, firstHitSubDetectorNumber, firstHitSubDetectors, edm::ParameterSet::getParameter(), hitProducer, i, layerList, maxD0, maxZ0, minRecHits, newSyntax, numberOfHits, originHalfLength, originpTMin, originRadius, primaryVertices, pTMin, secondHitSubDetectorNumber, secondHitSubDetectors, seedCleaning, seedingAlgo, selectMuons, theBeamSpot, thirdHitSubDetectorNumber, thirdHitSubDetectors, and zVertexConstraint.
|
virtual |
Definition at line 221 of file TrajectorySeedProducer.cc.
References gather_cfg::cout, and thePropagator.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 233 of file TrajectorySeedProducer.cc.
References alongMomentum, g, geometry, edm::EventSetup::get(), theFieldMap, theGeometry, theMagField, and thePropagator.
|
private |
Check that the seed is compatible with a track coming from within a cylinder of radius originRadius, with a decent pT.
Check that the seed is compatible with a track coming from within a cylinder of radius originRadius, with a decent pT, and propagate to the distance of closest approach, for the appropriate charge
Definition at line 736 of file TrajectorySeedProducer.cc.
References gather_cfg::cout, error, max(), min, originHalfLength, originpTMin, originRadius, BaseParticlePropagator::propagateToBeamCylinder(), RawParticle::R(), seedCleaning, mathSSE::sqrt(), theFieldMap, vertices, PV3DBase< T, PVType, FrameType >::x(), x0, PV3DBase< T, PVType, FrameType >::y(), y0, PV3DBase< T, PVType, FrameType >::z(), RawParticle::Z(), z0, and zVertexConstraint.
Referenced by produce().
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 259 of file TrajectorySeedProducer.cc.
References abs, absMinRecHits, alongMomentum, DeDxDiscriminatorTools::charge(), TrackingRecHit::clone(), compatibleWithBeamAxis(), gather_cfg::cout, error, PV3DBase< T, PVType, FrameType >::eta(), firstHitSubDetectors, edm::OwnVector< T, P >::front(), TrackingRecHit::geographicalId(), edm::EventSetup::get(), edm::Event::getByLabel(), TrajectoryStateOnSurface::globalMomentum(), TrackerRecHit::globalPosition(), hitProducer, TrackerGeometry::idToDet(), TrackerRecHit::isForward(), TrackerRecHit::isOnRequestedDet(), TrackerRecHit::isOnTheSameLayer(), TrajectoryStateOnSurface::isValid(), TrackerRecHit::largerError(), layerList, TrackerRecHit::layerNumber(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localMomentum(), LocalTrajectoryError::matrix(), maxD0, maxZ0, minRecHits, CoreSimTrack::momentum(), FreeTrajectoryState::momentum(), newSyntax, numberOfHits, convertSQLitetoXML_cfg::output, AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), CoreSimVertex::position(), position, LocalTrajectoryError::positionError(), primaryVertices, edm::ESHandle< class >::product(), pTMin, edm::OwnVector< T, P >::push_back(), edm::Event::put(), DetId::rawId(), secondHitSubDetectors, seedingAlgo, selectMuons, RawParticle::setCharge(), edm::OwnVector< T, P >::size(), mathSSE::sqrt(), stateOnDet(), TrackerRecHit::subDetId(), GeomDet::surface(), TrajectoryStateOnSurface::surfaceSide(), theBeamSpot, theGeometry, theMagField, thePropagator, thirdHitSubDetectors, CoreSimTrack::type(), vertices, SimTrack::vertIndex(), x, x0, BaseParticlePropagator::xyImpactParameter(), detailsBasic3DVector::y, y0, detailsBasic3DVector::z, z0, and BaseParticlePropagator::zImpactParameter().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
A mere copy (without memory leak) of an existing tracking method.
should check if corresponds to m
Definition at line 712 of file TrajectorySeedProducer.cc.
References cond::rpcobgas::detid, i, j, gen::k, TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), m, LocalTrajectoryError::matrix(), and TrajectoryStateOnSurface::surfaceSide().
Referenced by produce().
|
private |
Definition at line 70 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 74 of file TrajectorySeedProducer.h.
Referenced by TrajectorySeedProducer().
|
private |
Definition at line 77 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 65 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 82 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 62 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 63 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 64 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 81 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 72 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 85 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and TrajectorySeedProducer().
|
private |
Definition at line 86 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and TrajectorySeedProducer().
|
private |
Definition at line 84 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and TrajectorySeedProducer().
|
private |
Definition at line 88 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 61 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 69 of file TrajectorySeedProducer.h.
|
private |
Definition at line 75 of file TrajectorySeedProducer.h.
Referenced by TrajectorySeedProducer().
|
private |
Definition at line 78 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 68 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and TrajectorySeedProducer().
|
private |
Definition at line 71 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 91 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 66 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 57 of file TrajectorySeedProducer.h.
Referenced by beginRun(), and compatibleWithBeamAxis().
|
private |
Definition at line 58 of file TrajectorySeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 56 of file TrajectorySeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 59 of file TrajectorySeedProducer.h.
Referenced by beginRun(), produce(), and ~TrajectorySeedProducer().
|
private |
Definition at line 76 of file TrajectorySeedProducer.h.
Referenced by TrajectorySeedProducer().
|
private |
Definition at line 79 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 93 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and produce().
|
private |
Definition at line 94 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and produce().
|
private |
Definition at line 94 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and produce().
|
private |
Definition at line 94 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and produce().
|
private |
Definition at line 89 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and TrajectorySeedProducer().