EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Template class for a hit producer module. More...
#include <EicRoot/blob/master/genfit/GFRecoHitProducer.h>
Public Member Functions | |
GFRecoHitProducer (TClonesArray *) | |
Constructor takes pointer to the cluster array. | |
virtual | ~GFRecoHitProducer () |
virtual GFAbsRecoHit * | produce (int index, void *ptr=0) |
Create a RecoHit from the cluster at position index in TClonesArray. | |
Public Member Functions inherited from GFAbsRecoHitProducer | |
virtual | ~GFAbsRecoHitProducer () |
Private Attributes | |
TClonesArray * | hitArrayTClones |
pointer to array with cluster data | |
Template class for a hit producer module.
A GFRecoHitProducer module is used by RecoHitFactory to create RecoHits for one specific detector type.
It is assumed that each detector has as output of its digitization / clustering some sort of cluster class which stores all information that corresponds to a measured hit in that detector. The RecoHit producer converts this information into a class that can be handled by genfit. This class is realized as a RecoHit (a class inherting from GFAbsRecoHit).
In order to use the GFRecoHitProducer facility a RecoHit has to implement a constructor which takes as an argument a pointer to the cluster class. This constructor serves as the initializing constructor for the RecoHit.
The GFRecoHitProducer will fetch the cluster objects from a TClonesArray and use the initializing constructor to build the corresponding RecoHit.
hit_t | template parameter specifying cluster class |
recoHit_t | template parameter specifying recoHit |
Definition at line 81 of file GFRecoHitProducer.h.
View newest version in sPHENIX GitHub at line 81 of file GFRecoHitProducer.h
GFRecoHitProducer< hit_T, recoHit_T >::GFRecoHitProducer | ( | TClonesArray * | theArr | ) |
Constructor takes pointer to the cluster array.
Definition at line 101 of file GFRecoHitProducer.h.
View newest version in sPHENIX GitHub at line 101 of file GFRecoHitProducer.h
|
virtual |
Definition at line 114 of file GFRecoHitProducer.h.
View newest version in sPHENIX GitHub at line 114 of file GFRecoHitProducer.h
|
virtual |
Create a RecoHit from the cluster at position index in TClonesArray.
Implements GFAbsRecoHitProducer.
Definition at line 120 of file GFRecoHitProducer.h.
View newest version in sPHENIX GitHub at line 120 of file GFRecoHitProducer.h
References Acts::UnitConstants::e, and GFException::setFatal().
|
private |
pointer to array with cluster data
Definition at line 84 of file GFRecoHitProducer.h.
View newest version in sPHENIX GitHub at line 84 of file GFRecoHitProducer.h