Falaise  4.0.1
SuperNEMO Software Toolkit
Public Member Functions | List of all members
TrackerPreClustering::event_generator Class Reference

Generator of mock events (collections of Geiger hits) More...

#include <falaise/TrackerPreClustering/event_generator.h>

Public Member Functions

void set_seed (long)
 Set seed. More...
 
void set_cell_size (double cell_size_)
 Set the cell size. More...
 
void set_nb_layers (unsigned int nb_layers_)
 Set the number of layers. More...
 
void set_nb_rows (unsigned int nb_rows_)
 Set the number of rows. More...
 
 event_generator ()
 Default constructor. More...
 
 event_generator (long seed_)
 Constructor. More...
 
bool is_initialized ()
 Check initialization status. More...
 
void initialize ()
 Initialization. More...
 
void reset ()
 Reset. More...
 
void generate_prompt_gg_hits (std::vector< const gg_hit * > &hits_)
 Generate the mock prompt Geiger hits. More...
 
void generate_delayed_gg_hits (std::vector< const gg_hit * > &hits_)
 Generate the mock delayed Geiger hits. More...
 
void shoot_event (std::vector< const gg_hit * > &hits_)
 Generate an event with many Geiger hits. More...
 
int build_gid (int side_, int layer_, int row_) const
 Build a unique geometry Id (GID) from cell Ids. More...
 
void register_gid (int gid_, bool delayed_=false)
 Register a given geometry Id (GID) as prompt or delayed. More...
 
bool has_gid (int gid_) const
 Check if some geometry Id (GID) is registered. More...
 

Detailed Description

Generator of mock events (collections of Geiger hits)

Constructor & Destructor Documentation

◆ event_generator() [1/2]

TrackerPreClustering::event_generator::event_generator ( )

Default constructor.

◆ event_generator() [2/2]

TrackerPreClustering::event_generator::event_generator ( long  seed_)

Constructor.

Member Function Documentation

◆ build_gid()

int TrackerPreClustering::event_generator::build_gid ( int  side_,
int  layer_,
int  row_ 
) const

Build a unique geometry Id (GID) from cell Ids.

◆ generate_delayed_gg_hits()

void TrackerPreClustering::event_generator::generate_delayed_gg_hits ( std::vector< const gg_hit * > &  hits_)

Generate the mock delayed Geiger hits.

◆ generate_prompt_gg_hits()

void TrackerPreClustering::event_generator::generate_prompt_gg_hits ( std::vector< const gg_hit * > &  hits_)

Generate the mock prompt Geiger hits.

◆ has_gid()

bool TrackerPreClustering::event_generator::has_gid ( int  gid_) const

Check if some geometry Id (GID) is registered.

◆ initialize()

void TrackerPreClustering::event_generator::initialize ( )

Initialization.

◆ is_initialized()

bool TrackerPreClustering::event_generator::is_initialized ( )

Check initialization status.

◆ register_gid()

void TrackerPreClustering::event_generator::register_gid ( int  gid_,
bool  delayed_ = false 
)

Register a given geometry Id (GID) as prompt or delayed.

◆ reset()

void TrackerPreClustering::event_generator::reset ( )

Reset.

◆ set_cell_size()

void TrackerPreClustering::event_generator::set_cell_size ( double  cell_size_)

Set the cell size.

◆ set_nb_layers()

void TrackerPreClustering::event_generator::set_nb_layers ( unsigned int  nb_layers_)

Set the number of layers.

◆ set_nb_rows()

void TrackerPreClustering::event_generator::set_nb_rows ( unsigned int  nb_rows_)

Set the number of rows.

◆ set_seed()

void TrackerPreClustering::event_generator::set_seed ( long  )

Set seed.

◆ shoot_event()

void TrackerPreClustering::event_generator::shoot_event ( std::vector< const gg_hit * > &  hits_)

Generate an event with many Geiger hits.


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