DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::sim::PositionCompare< TYPE, POS > Class Template Reference

Specialized hit selector based on the hit's position. More...

#include <Geant4HitCollection.h>

Inheritance diagram for dd4hep::sim::PositionCompare< TYPE, POS >:
dd4hep::sim::Geant4HitCollection::Compare

Public Member Functions

 PositionCompare (const POS &p)
 Constructor. More...
 
virtual void * operator() (const Geant4HitWrapper &w) const
 Comparison function. More...
 
- Public Member Functions inherited from dd4hep::sim::Geant4HitCollection::Compare
virtual ~Compare ()
 Default destructor. More...
 

Public Attributes

const POS & pos
 

Detailed Description

template<typename TYPE, typename POS>
class dd4hep::sim::PositionCompare< TYPE, POS >

Specialized hit selector based on the hit's position.

Class for hit matching using the hit position.

Author
M.Frank
Version
1.0

Definition at line 395 of file Geant4HitCollection.h.

Constructor & Destructor Documentation

◆ PositionCompare()

template<typename TYPE , typename POS >
dd4hep::sim::PositionCompare< TYPE, POS >::PositionCompare ( const POS &  p)
inline

Constructor.

Definition at line 399 of file Geant4HitCollection.h.

Member Function Documentation

◆ operator()()

template<typename TYPE , typename POS >
void * dd4hep::sim::PositionCompare< TYPE, POS >::operator() ( const Geant4HitWrapper w) const
virtual

Comparison function.

Implements dd4hep::sim::Geant4HitCollection::Compare.

Definition at line 405 of file Geant4HitCollection.h.

Member Data Documentation

◆ pos

template<typename TYPE , typename POS >
const POS& dd4hep::sim::PositionCompare< TYPE, POS >::pos

Definition at line 397 of file Geant4HitCollection.h.


The documentation for this class was generated from the following file: