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 116 of file GeometricSearchDet.h.

Member Typedef Documentation

Definition at line 118 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 47 of file GeometricSearchDet.cc.

References GeometricSearchDet::groupedCompatibleDetsV().

50  {
51 
52  // standard implementation of compatibleDets() for class which have
53  // groupedCompatibleDets implemented.
54 
55  std::vector<DetGroup> vectorGroups;
56  groupedCompatibleDetsV(startingState,prop,est,vectorGroups);
57  for(std::vector<DetGroup>::const_iterator itDG=vectorGroups.begin();
58  itDG!=vectorGroups.end();itDG++){
59  for(std::vector<DetGroupElement>::const_iterator itDGE=itDG->begin();
60  itDGE!=itDG->end();itDGE++){
61  result.push_back(DetWithState(itDGE->det(),itDGE->trajectoryState()));
62  }
63  }
64 }
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 126 of file GeometricSearchDet.h.

126 {return true;}