1 #ifndef FastSimulation_Tracking_TrajectorySeedProducer2_h
2 #define FastSimulation_Tracking_TrajectorySeedProducer2_h
111 const std::vector<TrajectorySeedHitCandidate>& trackerRecHits,
112 const std::vector<int>& hitIndicesInTree,
165 const std::vector<TrajectorySeedHitCandidate>& trackerRecHits,
166 std::vector<int> hitIndicesInTree,
167 bool processSkippedHits
193 const std::vector<TrajectorySeedHitCandidate>& trackerRecHits,
194 std::vector<int>& hitIndicesInTree,
196 unsigned int trackerHit
bool passHitTuplesCuts(const SeedingNode< TrackingLayer > &seedingNode, const std::vector< TrajectorySeedHitCandidate > &trackerRecHits, const std::vector< int > &hitIndicesInTree, const TrajectorySeedHitCandidate ¤tTrackerHit) const
method checks if a TrajectorySeedHitCandidate fulfills the quality requirements.
tuple start
Check for commandline option errors.
const MagneticField * magneticField
TrajectorySeedProducer(const edm::ParameterSet &conf)
std::string outputSeedCollectionName
const reco::VertexCollection * vertices
virtual void produce(edm::Event &e, const edm::EventSetup &es)
std::vector< Vertex > VertexCollection
collection of Vertex objects
edm::EDGetTokenT< SiTrackerGSMatchedRecHit2DCollection > recHitToken
edm::InputTag hitProducer
unsigned int getDepth() const
const SeedingNode * getParent() const
PropagatorWithMaterial * thePropagator
unsigned int absMinRecHits
const TrackerTopology * trackerTopology
virtual ~TrajectorySeedProducer()
virtual std::vector< unsigned int > iterateHits(unsigned int start, const std::vector< TrajectorySeedHitCandidate > &trackerRecHits, std::vector< int > hitIndicesInTree, bool processSkippedHits) const
method tries to insert all hits into the tree structure.
virtual void beginRun(edm::Run const &run, const edm::EventSetup &es)
bool compatibleWithBeamAxis(const GlobalPoint &gpos1, const GlobalPoint &gpos2, double error, bool forward) const
edm::EDGetTokenT< edm::SimVertexContainer > simVertexToken
bool isHitOnLayer(const TrajectorySeedHitCandidate &trackerRecHit, const TrackingLayer &layer) const
bool pass2HitsCuts(const TrajectorySeedHitCandidate &hit1, const TrajectorySeedHitCandidate &hit2) const
std::vector< edm::EDGetTokenT< std::vector< int > > > skipSimTrackIdTokens
edm::EDGetTokenT< edm::SimTrackContainer > simTrackToken
virtual bool passSimTrackQualityCuts(const SimTrack &theSimTrack, const SimVertex &theSimVertex) const
method checks if a SimTrack fulfills the quality requirements.
XYZPointD XYZPoint
point in space with cartesian internal representation
std::vector< std::vector< TrackingLayer > > seedingLayers
edm::InputTag theBeamSpot
math::XYZPoint beamspotPosition
edm::EDGetTokenT< reco::VertexCollection > recoVertexToken
const TrackerGeometry * trackerGeometry
const SeedingNode< TrackingLayer > * insertHit(const std::vector< TrajectorySeedHitCandidate > &trackerRecHits, std::vector< int > &hitIndicesInTree, const SeedingNode< TrackingLayer > *node, unsigned int trackerHit) const
method inserts hit into the tree structure at an empty position.
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken
unsigned int getIndex() const
const TrackingLayer & getTrackingLayer() const
SeedingTree< TrackingLayer > _seedingTree
unsigned int numberOfHits
const MagneticFieldMap * magneticFieldMap