ant
A2 ant: class-based analysis framework
ant::reconstruct::CandidateBuilder Class Reference

#include <CandidateBuilder.h>

+ Inheritance diagram for ant::reconstruct::CandidateBuilder:
+ Collaboration diagram for ant::reconstruct::CandidateBuilder:

Public Member Functions

 CandidateBuilder ()
 
virtual void Build (sorted_clusters_t sorted_clusters, candidates_t &candidates, clusters_t &all_clusters) const override
 
- Public Member Functions inherited from ant::reconstruct::CandidateBuilder_traits
virtual ~CandidateBuilder_traits ()=default
 

Protected Member Functions

void Build_PID_CB (sorted_clusters_t &sorted_clusters, candidates_t &candidates, clusters_t &all_clusters) const
 
void Build_TAPS_Veto (sorted_clusters_t &sorted_clusters, candidates_t &candidates, clusters_t &all_clusters) const
 
void Catchall (sorted_clusters_t &sorted_clusters, candidates_t &candidates, clusters_t &all_clusters) const
 
virtual void BuildCandidates (sorted_clusters_t &sorted_clusters, candidates_t &candidates, clusters_t &all_clusters) const
 

Protected Attributes

bool option_allowSingleVetoClusters = false
 option_allowSingleVetoClusters: Make unmached Veto (PID/TAPSVeto) clusters into individual candidates. To detect partiles that get stuck in the plastic scintillator. More...
 
const std::shared_ptr< const expconfig::detector::CBcb
 
const std::shared_ptr< const expconfig::detector::PIDpid
 
const std::shared_ptr< const expconfig::detector::TAPStaps
 
const std::shared_ptr< const expconfig::detector::TAPSVetotapsveto
 
const expconfig::Setup_traits::candidatebuilder_config_t config
 

Additional Inherited Members

- Public Types inherited from ant::reconstruct::CandidateBuilder_traits
using sorted_clusters_t = std::map< Detector_t::Type_t, TClusterList >
 
using candidates_t = TCandidateList
 
using clusters_t = TClusterList
 

Constructor & Destructor Documentation

◆ CandidateBuilder()

CandidateBuilder::CandidateBuilder ( )

Member Function Documentation

◆ Build()

void CandidateBuilder::Build ( sorted_clusters_t  sorted_clusters,
candidates_t candidates,
clusters_t all_clusters 
) const
overridevirtual

◆ Build_PID_CB()

void CandidateBuilder::Build_PID_CB ( sorted_clusters_t sorted_clusters,
candidates_t candidates,
clusters_t all_clusters 
) const
protected

◆ Build_TAPS_Veto()

void CandidateBuilder::Build_TAPS_Veto ( sorted_clusters_t sorted_clusters,
candidates_t candidates,
clusters_t all_clusters 
) const
protected

◆ BuildCandidates()

void CandidateBuilder::BuildCandidates ( sorted_clusters_t sorted_clusters,
candidates_t candidates,
clusters_t all_clusters 
) const
protectedvirtual

Reimplemented in CandidateBuilderTester.

◆ Catchall()

void CandidateBuilder::Catchall ( sorted_clusters_t sorted_clusters,
candidates_t candidates,
clusters_t all_clusters 
) const
protected
Todo:
Think about Cherenkov's role more closely, tracker energy looks wrong...
Todo:
Implement MWPC matching...

Member Data Documentation

◆ cb

const std::shared_ptr<const expconfig::detector::CB> ant::reconstruct::CandidateBuilder::cb
protected

◆ config

const expconfig::Setup_traits::candidatebuilder_config_t ant::reconstruct::CandidateBuilder::config
protected

◆ option_allowSingleVetoClusters

bool ant::reconstruct::CandidateBuilder::option_allowSingleVetoClusters = false
protected

option_allowSingleVetoClusters: Make unmached Veto (PID/TAPSVeto) clusters into individual candidates. To detect partiles that get stuck in the plastic scintillator.

Todo:
Make this configurable via ant::expconfig.

◆ pid

const std::shared_ptr<const expconfig::detector::PID> ant::reconstruct::CandidateBuilder::pid
protected

◆ taps

const std::shared_ptr<const expconfig::detector::TAPS> ant::reconstruct::CandidateBuilder::taps
protected

◆ tapsveto

const std::shared_ptr<const expconfig::detector::TAPSVeto> ant::reconstruct::CandidateBuilder::tapsveto
protected

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