#include <CosmicTrackingRegion.h>
Public Member Functions | |
virtual HitRZCompatibility * | checkRZ (const DetLayer *layer, const Hit &outerHit, const edm::EventSetup &iSetup, const DetLayer *outerlayer=0, float lr=0, float gz=0, float dr=0, float dz=0) const override |
CosmicTrackingRegion * | clone () const override |
CosmicTrackingRegion (const GlobalVector &dir, const GlobalPoint &vertexPos, float ptMin, float rVertex, float zVertex, float deltaEta, float deltaPhi, float dummy=0., const MeasurementTrackerEvent *measurementTracker=0) | |
CosmicTrackingRegion (const GlobalVector &dir, const GlobalPoint &vertexPos, float ptMin, float rVertex, float zVertex, float deltaEta, float deltaPhi, const edm::ParameterSet &extra, const MeasurementTrackerEvent *measurementTracker=0) | |
CosmicTrackingRegion (CosmicTrackingRegion const &rh) | |
virtual TrackingRegion::ctfHits | hits (const edm::EventSetup &es, const ctfseeding::SeedingLayer *layer) const |
TrackingRegion::Hits | hits (const edm::EventSetup &es, const SeedingLayerSetsHits::SeedingLayer &layer) const override |
get hits from layer compatible with region constraints More... | |
std::string | name () const override |
virtual | ~CosmicTrackingRegion () |
Public Member Functions inherited from TrackingRegion | |
GlobalVector const & | direction () const |
the direction around which region is constructed More... | |
Range | invPtRange () const |
inverse pt range More... | |
GlobalPoint const & | origin () const |
float | originRBound () const |
bounds the particle vertex in the transverse plane More... | |
float | originZBound () const |
bounds the particle vertex in the longitudinal plane More... | |
float | phiDirection () const |
virtual std::string | print () const |
float | ptMin () const |
minimal pt of interest More... | |
TrackingRegion * | restrictedRegion (const GlobalPoint &originPos, const float &originRBound, const float &originZBound) const |
clone region with new vertex position More... | |
TrackingRegion (const GlobalVector &direction, const GlobalPoint &originPos, const Range &invPtRange, const float &originRBound, const float &originZBound) | |
GlobalVector const & | unitDirection () const |
virtual | ~TrackingRegion () |
Private Types | |
using | cacheHitPointer = mayown_ptr< BaseTrackerRecHit > |
using | cacheHits = std::vector< cacheHitPointer > |
Private Member Functions | |
template<typename T > | |
void | hits_ (const edm::EventSetup &es, const T &layer, TrackingRegion::Hits &result) const |
Private Attributes | |
cacheHits | cache |
std::string | measurementTrackerName_ |
const MeasurementTrackerEvent * | theMeasurementTracker_ |
Additional Inherited Members | |
Public Types inherited from TrackingRegion | |
using | ctfHits = ctfseeding::SeedingLayer::Hits |
typedef SeedingLayerSetsHits::ConstRecHitPointer | Hit |
typedef SeedingLayerSetsHits::Hits | Hits |
typedef PixelRecoRange< float > | Range |
A concrete implementation of TrackingRegion. Apart of vertex constraint from TrackingRegion in this implementation the region of interest is further constrainted in phi and eta around the direction of the region
Definition at line 25 of file CosmicTrackingRegion.h.
|
private |
Definition at line 117 of file CosmicTrackingRegion.h.
|
private |
Definition at line 118 of file CosmicTrackingRegion.h.
|
inlinevirtual |
Definition at line 29 of file CosmicTrackingRegion.h.
|
inline |
constructor (symmetric eta and phi margins).
dir - the direction around which region is constructed
the initial direction of the momentum of the particle should be in the range
phi of dir +- deltaPhi
eta of dir +- deltaEta
vertexPos - the position of the vertex (origin) of the of the region.
It is a centre of cylinder constraind with rVertex, zVertex. The track of the particle should cross the cylinder
WARNING: in the current implementaion the vertexPos is supposed to be placed on the beam line, i.e. to be of the form (0,0,float)
ptMin - minimal pt of interest
rVertex - radius of the cylinder around beam line where the tracks of interest should point to.
zVertex - half height of the cylinder around the beam line where the tracks of interest should point to.
deltaEta - allowed deviation of the initial direction of particle in eta in respect to direction of the region
deltaPhi - allowed deviation of the initial direction of particle in phi in respect to direction of the region
Definition at line 55 of file CosmicTrackingRegion.h.
Referenced by clone().
|
inline |
Definition at line 67 of file CosmicTrackingRegion.h.
References edm::ParameterSet::getParameter(), measurementTrackerName_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 80 of file CosmicTrackingRegion.h.
References hits().
|
inlineoverridevirtual |
utility to check eta/theta hit compatibility with region constraints and outer hit constraint
Implements TrackingRegion.
Definition at line 95 of file CosmicTrackingRegion.h.
|
inlineoverridevirtual |
Implements TrackingRegion.
Definition at line 102 of file CosmicTrackingRegion.h.
References CosmicTrackingRegion().
|
virtual |
Definition at line 26 of file CosmicTrackingRegion.cc.
References mps_fire::result, and tmp.
Referenced by ntupleDataFormat._TrackingParticleMatchAdaptor::bestMatchingTrackingParticle(), and CosmicTrackingRegion().
|
overridevirtual |
get hits from layer compatible with region constraints
Implements TrackingRegion.
Definition at line 37 of file CosmicTrackingRegion.cc.
References mps_fire::result.
Referenced by ntupleDataFormat._TrackingParticleMatchAdaptor::bestMatchingTrackingParticle().
|
private |
Definition at line 46 of file CosmicTrackingRegion.cc.
References alongMomentum, AnalyticalPropagator_cfi::AnalyticalPropagator, Plane::build(), helperFunctions::cache(), GeometricSearchDet::compatibleDets(), funct::cos(), dir, PV3DBase< T, PVType, FrameType >::eta(), TrajectoryStateOnSurface::freeState(), edm::EventSetup::get(), TrajectoryStateOnSurface::globalPosition(), trackerHitRTTI::isUndef(), TrajectoryStateOnSurface::isValid(), LogDebug, LayerMeasurements::measurements(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), edm::ESHandle< T >::product(), makeMuonMisalignmentScenario::rot, funct::sin(), GeometricSearchDet::surface(), and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by name().
|
inlineoverridevirtual |
Reimplemented from TrackingRegion.
Definition at line 104 of file CosmicTrackingRegion.h.
References hits_(), and mps_fire::result.
Referenced by config.CFG::__str__(), and validation.Sample::digest().
|
mutableprivate |
Definition at line 123 of file CosmicTrackingRegion.h.
|
private |
Definition at line 115 of file CosmicTrackingRegion.h.
Referenced by CosmicTrackingRegion().
|
private |
Definition at line 114 of file CosmicTrackingRegion.h.