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

Specialized hit selector based on the hit's cell identifier. More...

#include <Geant4HitCollection.h>

Inheritance diagram for dd4hep::sim::CellIDCompare< TYPE >:
dd4hep::sim::Geant4HitCollection::Compare

Public Member Functions

 CellIDCompare (long long int i)
 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

long long int id
 

Detailed Description

template<typename TYPE>
class dd4hep::sim::CellIDCompare< TYPE >

Specialized hit selector based on the hit's cell identifier.

Class for hit matching using the hit's cell identifier.

Author
M.Frank
Version
1.0

Definition at line 418 of file Geant4HitCollection.h.

Constructor & Destructor Documentation

◆ CellIDCompare()

template<typename TYPE >
dd4hep::sim::CellIDCompare< TYPE >::CellIDCompare ( long long int  i)
inline

Constructor.

Definition at line 422 of file Geant4HitCollection.h.

Member Function Documentation

◆ operator()()

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

Comparison function.

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

Definition at line 428 of file Geant4HitCollection.h.

Member Data Documentation

◆ id

template<typename TYPE >
long long int dd4hep::sim::CellIDCompare< TYPE >::id

Definition at line 420 of file Geant4HitCollection.h.


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