#include <TrajectorySeedProducer.h>
Classes | |
struct | LayerSpec |
Public Types | |
enum | Side { BARREL =0, NEG_ENDCAP =-1, POS_ENDCAP =1 } |
enum | SubDet { NotValid, PXB, PXD, TIB, TID, TOB, TEC } |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
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< 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 |
std::vector< std::vector < LayerSpec > > | theLayersInSets |
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 | |
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::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 47 of file TrajectorySeedProducer.cc.
References absMinRecHits, BARREL, edm::hlt::Exception, firstHitSubDetectorNumber, firstHitSubDetectors, edm::ParameterSet::getParameter(), hitProducer, i, TrajectorySeedProducer::LayerSpec::idLayer, CombinatorialSeedGeneratorForBeamHalo_cfi::layerList, geometryCSVtoXML::line, maxD0, maxZ0, minRecHits, TrajectorySeedProducer::LayerSpec::name, NEG_ENDCAP, newSyntax, numberOfHits, originHalfLength, originpTMin, originRadius, POS_ENDCAP, primaryVertices, pTMin, PXB, PXD, secondHitSubDetectorNumber, secondHitSubDetectors, seedCleaning, seedingAlgo, selectMuons, TrajectorySeedProducer::LayerSpec::side, AlCaHLTBitMon_QueryRunRegistry::string, TrajectorySeedProducer::LayerSpec::subDet, TEC, theBeamSpot, theLayersInSets, thirdHitSubDetectorNumber, thirdHitSubDetectors, TIB, TID, TOB, and zVertexConstraint.
|
virtual |
Definition at line 326 of file TrajectorySeedProducer.cc.
References gather_cfg::cout, and thePropagator.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 338 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 844 of file TrajectorySeedProducer.cc.
References gather_cfg::cout, relativeConstraints::error, max(), bookConverter::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 364 of file TrajectorySeedProducer.cc.
References funct::abs(), absMinRecHits, alongMomentum, DeDxDiscriminatorTools::charge(), TrackingRecHit::clone(), compatibleWithBeamAxis(), gather_cfg::cout, relativeConstraints::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(), 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, theLayersInSets, 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().
Side TrajectorySeedProducer::setLayerSpecSide | ( | const std::string & | layerSpecSide | ) | const |
|
private |
A mere copy (without memory leak) of an existing tracking method.
should check if corresponds to m
Definition at line 820 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 86 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 90 of file TrajectorySeedProducer.h.
Referenced by TrajectorySeedProducer().
|
private |
Definition at line 93 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 78 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 79 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 80 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 97 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 88 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 102 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and TrajectorySeedProducer().
|
private |
Definition at line 103 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and TrajectorySeedProducer().
|
private |
Definition at line 101 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and TrajectorySeedProducer().
|
private |
Definition at line 105 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 77 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 85 of file TrajectorySeedProducer.h.
|
private |
Definition at line 91 of file TrajectorySeedProducer.h.
Referenced by TrajectorySeedProducer().
|
private |
Definition at line 94 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 84 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and TrajectorySeedProducer().
|
private |
Definition at line 87 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 108 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 73 of file TrajectorySeedProducer.h.
Referenced by beginRun(), and compatibleWithBeamAxis().
|
private |
Definition at line 74 of file TrajectorySeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 98 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 72 of file TrajectorySeedProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 75 of file TrajectorySeedProducer.h.
Referenced by beginRun(), produce(), and ~TrajectorySeedProducer().
|
private |
Definition at line 92 of file TrajectorySeedProducer.h.
Referenced by TrajectorySeedProducer().
|
private |
Definition at line 95 of file TrajectorySeedProducer.h.
Referenced by produce(), and TrajectorySeedProducer().
|
private |
Definition at line 110 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and produce().
|
private |
Definition at line 111 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and produce().
|
private |
Definition at line 111 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and produce().
|
private |
Definition at line 111 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and produce().
|
private |
Definition at line 106 of file TrajectorySeedProducer.h.
Referenced by compatibleWithBeamAxis(), and TrajectorySeedProducer().