CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions
GeometricSearchDetWithGroups Class Reference

#include <GeometricSearchDet.h>

Inheritance diagram for GeometricSearchDetWithGroups:
GeometricSearchDet PixelBarrelLayer PixelBlade PixelForwardLayer TECLayer TECPetal TECWedge TIBLayer TIBRing TIDLayer TIDRing TOBLayer TOBRod

Public Types

typedef
GeometricSearchDet::DetWithState 
DetWithState
 
- Public Types inherited from GeometricSearchDet
typedef std::pair< const
GeomDet
*, TrajectoryStateOnSurface
DetWithState
 
typedef BoundSurface::PositionType PositionType
 
typedef BoundSurface::RotationType RotationType
 
typedef TrajectoryStateOnSurface TrajectoryState
 

Public Member Functions

void compatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const
 
bool hasGroups () const
 
- Public Member Functions inherited from GeometricSearchDet
virtual const std::vector
< const GeomDet * > & 
basicComponents () const =0
 
virtual std::pair< bool,
TrajectoryStateOnSurface
compatible (const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const =0
 
virtual std::vector< DetWithStatecompatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
 
virtual const std::vector
< const GeometricSearchDet * > & 
components () const =0
 Returns basic components, if any. More...
 
 GeometricSearchDet ()
 
virtual std::vector< DetGroupgroupedCompatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
 
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 const BoundSurfacesurface () const =0
 The surface of the GeometricSearchDet. More...
 
virtual ~GeometricSearchDet ()
 

Additional Inherited Members

- Protected Attributes inherited from GeometricSearchDet
GeomDetCompatibilityChecker theCompatibilityChecker
 

Detailed Description

Definition at line 113 of file GeometricSearchDet.h.

Member Typedef Documentation

Definition at line 115 of file GeometricSearchDet.h.

Member Function Documentation

void GeometricSearchDetWithGroups::compatibleDetsV ( const TrajectoryStateOnSurface startingState,
const Propagator prop,
const MeasurementEstimator est,
std::vector< DetWithState > &  result 
) const
virtual

Reimplemented from GeometricSearchDet.

Definition at line 46 of file GeometricSearchDet.cc.

References GeometricSearchDet::groupedCompatibleDetsV().

49  {
50 
51  // standard implementation of compatibleDets() for class which have
52  // groupedCompatibleDets implemented.
53 
54  std::vector<DetGroup> vectorGroups;
55  groupedCompatibleDetsV(startingState,prop,est,vectorGroups);
56  for(std::vector<DetGroup>::const_iterator itDG=vectorGroups.begin();
57  itDG!=vectorGroups.end();itDG++){
58  for(std::vector<DetGroupElement>::const_iterator itDGE=itDG->begin();
59  itDGE!=itDG->end();itDGE++){
60  result.push_back(DetWithState(itDGE->det(),itDGE->trajectoryState()));
61  }
62  }
63 }
virtual void groupedCompatibleDetsV(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const
tuple result
Definition: query.py:137
GeometricSearchDet::DetWithState DetWithState
bool GeometricSearchDetWithGroups::hasGroups ( ) const
inlinevirtual

Implements GeometricSearchDet.

Definition at line 123 of file GeometricSearchDet.h.

123 {return true;}