CMS 3D CMS Logo

Public Types | Public Member Functions

GeometricSearchDetWithGroups Class Reference

#include <GeometricSearchDet.h>

Inheritance diagram for GeometricSearchDetWithGroups:
GeometricSearchDet GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > GCC11_FINAL< T, TOPO > TECLayer TECPetal TECWedge

List of all members.

Public Types

typedef
GeometricSearchDet::DetWithState 
DetWithState

Public Member Functions

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

Detailed Description

Definition at line 116 of file GeometricSearchDet.h.


Member Typedef Documentation

Reimplemented from GeometricSearchDet.

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.

Reimplemented in GCC11_FINAL< T, TOPO >.

Definition at line 47 of file GeometricSearchDet.cc.

References GeometricSearchDet::groupedCompatibleDetsV().

                                                                                     {
  
  // standard implementation of compatibleDets() for class which have 
  // groupedCompatibleDets implemented.
  
  std::vector<DetGroup> vectorGroups;
  groupedCompatibleDetsV(startingState,prop,est,vectorGroups);
  for(std::vector<DetGroup>::const_iterator itDG=vectorGroups.begin();
      itDG!=vectorGroups.end();itDG++){
    for(std::vector<DetGroupElement>::const_iterator itDGE=itDG->begin();
        itDGE!=itDG->end();itDGE++){
      result.push_back(DetWithState(itDGE->det(),itDGE->trajectoryState()));
    }
  }
}
bool GeometricSearchDetWithGroups::hasGroups ( ) const [inline, virtual]

Implements GeometricSearchDet.

Reimplemented in GCC11_FINAL< T, TOPO >.

Definition at line 126 of file GeometricSearchDet.h.

{return true;}