#include <MuRodBarrelLayer.h>
Public Member Functions | |
virtual const std::vector < const GeomDet * > & | basicComponents () const |
virtual std::vector< DetWithState > | compatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
virtual const std::vector < const GeometricSearchDet * > & | components () const |
Returns basic components, if any. More... | |
virtual std::vector< DetGroup > | groupedCompatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
virtual bool | hasGroups () const |
MuRodBarrelLayer (std::vector< const DetRod * > &rods) | |
Constructor, takes ownership of pointers. More... | |
virtual const std::vector < const DetRod * > & | rods () const |
Return the vector of rods. More... | |
virtual SubDetector | subDetector () const |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap) More... | |
virtual | ~MuRodBarrelLayer () |
Public Member Functions inherited from RodBarrelLayer | |
RodBarrelLayer () | |
virtual | ~RodBarrelLayer () |
Public Member Functions inherited from BarrelDetLayer | |
BarrelDetLayer () | |
virtual std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const |
bool | contains (const Local3DPoint &p) const |
virtual Location | location () const |
DetLayer interface. More... | |
virtual const BoundCylinder & | specificSurface () const |
Extension of the interface. More... | |
virtual const BoundSurface & | surface () const |
GeometricSearchDet interface. More... | |
virtual | ~BarrelDetLayer () |
Public Member Functions inherited from DetLayer | |
std::vector< const DetLayer * > | compatibleLayers (NavigationDirection direction) const |
std::vector< const DetLayer * > | compatibleLayers (const FreeTrajectoryState &fts, PropagationDirection timeDirection) const |
std::vector< const DetLayer * > | compatibleLayers (const FreeTrajectoryState &fts, PropagationDirection timeDirection, int &counter) const |
DetLayer () | |
NavigableLayer * | navigableLayer () const |
Return the NavigableLayer associated with this DetLayer. More... | |
virtual std::vector< const DetLayer * > | nextLayers (NavigationDirection direction) const |
virtual std::vector< const DetLayer * > | nextLayers (const FreeTrajectoryState &fts, PropagationDirection timeDirection) const |
virtual void | setNavigableLayer (NavigableLayer *nlp) |
Set the NavigableLayer associated with this DetLayer. More... | |
virtual | ~DetLayer () |
Public Member Functions inherited from GeometricSearchDet | |
virtual void | compatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const |
GeometricSearchDet () | |
virtual void | groupedCompatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const |
virtual const Surface::PositionType & | position () const |
Returns position of the surface. More... | |
virtual | ~GeometricSearchDet () |
Private Member Functions | |
float | xError (const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const |
Private Attributes | |
bool | isOverlapping |
std::vector< const GeomDet * > | theBasicComps |
BaseBinFinder< double > * | theBinFinder |
std::vector< const GeometricSearchDet * > | theComponents |
std::vector< const DetRod * > | theRods |
Additional Inherited Members | |
Public Types inherited from DetLayer | |
typedef GeomDetEnumerators::Location | Location |
typedef GeomDetEnumerators::SubDetector | SubDetector |
Public Types inherited from GeometricSearchDet | |
typedef std::pair< const GeomDet *, TrajectoryStateOnSurface > | DetWithState |
typedef BoundSurface::PositionType | PositionType |
typedef BoundSurface::RotationType | RotationType |
typedef TrajectoryStateOnSurface | TrajectoryState |
Protected Member Functions inherited from BarrelDetLayer | |
virtual BoundCylinder * | computeSurface () |
virtual void | initialize () |
void | setSurface (BoundCylinder *cp) |
Protected Attributes inherited from GeometricSearchDet | |
GeomDetCompatibilityChecker | theCompatibilityChecker |
A cylinder composed of rods. Represents barrel muon DT/RPC stations.
Definition at line 19 of file MuRodBarrelLayer.h.
MuRodBarrelLayer::MuRodBarrelLayer | ( | std::vector< const DetRod * > & | rods | ) |
Constructor, takes ownership of pointers.
Definition at line 28 of file MuRodBarrelLayer.cc.
References basicComponents(), filterCSVwithJSON::copy, BarrelDetLayer::initialize(), isOverlapping, PhiBorderFinder::isPhiOverlapping(), PhiBorderFinder::isPhiPeriodic(), LogTrace, metname, precomputed_value_sort(), Cylinder::radius(), BarrelDetLayer::specificSurface(), theBasicComps, theBinFinder, theComponents, and theRods.
|
virtual |
Definition at line 71 of file MuRodBarrelLayer.cc.
References i, theBinFinder, and theRods.
|
inlinevirtual |
Implements GeometricSearchDet.
Definition at line 29 of file MuRodBarrelLayer.h.
References theBasicComps.
Referenced by MuRodBarrelLayer().
|
virtual |
Returns all Dets compatible with a trajectory state according to the estimator est. The startingState should be propagated to the surface of each compatible Det using the Propagator passed as an argument. The default implementation should be overridden in dets with specific surface types to avoid propagation to a generic Surface
Reimplemented from GeometricSearchDet.
Definition at line 79 of file MuRodBarrelLayer.cc.
References BaseBinFinder< T >::binIndex(), BoundSurface::bounds(), BarrelDetLayer::compatible(), GeometricSearchDet::compatibleDets(), funct::false, TrajectoryStateOnSurface::globalPosition(), isOverlapping, TrajectoryStateOnSurface::localPosition(), LogTrace, metname, GetRecoTauVFromDQM_MC_cff::next, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), GloballyPositioned< T >::position(), Cylinder::radius(), query::result, BarrelDetLayer::specificSurface(), DetRod::surface(), theBinFinder, theRods, Bounds::width(), PV3DBase< T, PVType, FrameType >::x(), and xError().
|
virtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 207 of file MuRodBarrelLayer.cc.
References theComponents.
|
virtual |
Similar to compatibleDets(), but the compatible Dets are grouped in one or more groups. Dets are put in the same group if they are mutually exclusive for track crossing, i.e. a reconstructible track cannot cross more than one Det from a group. Pathological tracks (spirals etc.) can of course violate this rule.
The DetGroups are sorted in the sequence of crossing by a track. In order to define the direction of crossing the Propagator used in this method should have a defined direction() : either "alongMomentum" or "oppositeToMomentum" but not "anyDirection".
The three signatures of this method differ by the input trajectory state arguments: the starting state can be a TrajectoryStateOnSurface or a FreeTrajectoryState, and the state on this CompositeDet may be already known or not. The last two arguments are as for the method compatibleDets().
First signature: The first argument is a TrajectoryStateOnSurface, usually not on the surface of this CompositeDet.
Reimplemented from GeometricSearchDet.
Definition at line 187 of file MuRodBarrelLayer.cc.
References gather_cfg::cout.
|
virtual |
Implements GeometricSearchDet.
Definition at line 196 of file MuRodBarrelLayer.cc.
|
inlinevirtual |
|
virtual |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Implements DetLayer.
Definition at line 202 of file MuRodBarrelLayer.cc.
References theBasicComps.
|
private |
Definition at line 211 of file MuRodBarrelLayer.cc.
References TrajectoryStateOnSurface::hasError(), TrajectoryStateOnSurface::localError(), LocalTrajectoryError::positionError(), mathSSE::sqrt(), and LocalError::xx().
Referenced by compatibleDets().
|
private |
Definition at line 65 of file MuRodBarrelLayer.h.
Referenced by compatibleDets(), and MuRodBarrelLayer().
|
private |
Definition at line 63 of file MuRodBarrelLayer.h.
Referenced by basicComponents(), MuRodBarrelLayer(), and subDetector().
|
private |
Definition at line 64 of file MuRodBarrelLayer.h.
Referenced by compatibleDets(), MuRodBarrelLayer(), and ~MuRodBarrelLayer().
|
private |
Definition at line 62 of file MuRodBarrelLayer.h.
Referenced by components(), and MuRodBarrelLayer().
|
private |
Definition at line 61 of file MuRodBarrelLayer.h.
Referenced by compatibleDets(), MuRodBarrelLayer(), rods(), and ~MuRodBarrelLayer().