ant
A2 ant: class-based analysis framework
ReconstructTester Struct Reference
+ Inheritance diagram for ReconstructTester:
+ Collaboration diagram for ReconstructTester:

Public Member Functions

 ReconstructTester ()
 
 ReconstructTester ()
 
void DoReconstruct (TEventData &reconstructed) const override
 DoReconstruct shall convert the given TDetectorRead to TEvent. More...
 
- Public Member Functions inherited from ant::Reconstruct
 Reconstruct (clustering_t clustering_=GetDefaultClustering(), candidatebuilder_t candidatebuilder_=GetDefaultCandidateBuilder())
 
virtual ~Reconstruct ()
 
- Public Member Functions inherited from ant::Reconstruct_traits
virtual ~Reconstruct_traits ()=default
 

Additional Inherited Members

- Public Types inherited from ant::Reconstruct
using clustering_t = std::unique_ptr< const reconstruct::Clustering_traits >
 
using candidatebuilder_t = std::unique_ptr< const reconstruct::CandidateBuilder_traits >
 
- Static Public Member Functions inherited from ant::Reconstruct
static clustering_t GetDefaultClustering ()
 
static candidatebuilder_t GetDefaultCandidateBuilder ()
 
- Protected Types inherited from ant::Reconstruct
using sorted_readhits_t = ReconstructHook::Base::readhits_t
 
template<typename T >
using sorted_bydetectortype_t = std::map< Detector_t::Type_t, std::vector< T > >
 
using sorted_clusterhits_t = ReconstructHook::Base::clusterhits_t
 
using sorted_clusters_t = ReconstructHook::Base::clusters_t
 
template<typename T >
using shared_ptr_list = std::list< std::shared_ptr< T > >
 
- Protected Member Functions inherited from ant::Reconstruct
void ApplyHooksToReadHits (std::vector< TDetectorReadHit > &detectorReadHits) const
 
void BuildHits (sorted_bydetectortype_t< TClusterHit > &sorted_clusterhits, std::vector< TTaggerHit > &taggerhits) const
 
void HandleTagger (const std::shared_ptr< TaggerDetector_t > &taggerdetector, const std::vector< std::reference_wrapper< TDetectorReadHit >> &readhits, std::vector< TTaggerHit > &taggerhits) const
 
void BuildClusters (const sorted_clusterhits_t &sorted_clusterhits, sorted_clusters_t &sorted_clusters) const
 
- Protected Attributes inherited from ant::Reconstruct
const bool includeIgnoredElements = false
 
sorted_readhits_t sorted_readhits
 
const sorted_detectors_t sorted_detectors
 
const shared_ptr_list< ReconstructHook::DetectorReadHitshooks_readhits
 
const shared_ptr_list< ReconstructHook::ClusterHitshooks_clusterhits
 
const shared_ptr_list< ReconstructHook::Clustershooks_clusters
 
const shared_ptr_list< ReconstructHook::EventDatahooks_eventdata
 
const clustering_t clustering
 
const candidatebuilder_t candidatebuilder
 
const std::unique_ptr< reconstruct::UpdateableManagerupdateablemanager
 

Constructor & Destructor Documentation

◆ ReconstructTester() [1/2]

ReconstructTester::ReconstructTester ( )
inline

◆ ReconstructTester() [2/2]

ReconstructTester::ReconstructTester ( )
inline

Member Function Documentation

◆ DoReconstruct()

void ReconstructTester::DoReconstruct ( TEventData reconstructed) const
inlineoverridevirtual

DoReconstruct shall convert the given TDetectorRead to TEvent.

Parameters
detectorRead
Returns
the reconstructed TEvent
Todo:
Improve requirements
Todo:
it would be better if a seperate "simple" candidatebuilder was used here

Reimplemented from ant::Reconstruct.


The documentation for this struct was generated from the following files: