29 #ifndef FALAISE_TRACKERPRECLUSTERING_EVENT_GENERATOR_H 30 #define FALAISE_TRACKERPRECLUSTERING_EVENT_GENERATOR_H 1 43 #pragma clang diagnostic push 44 #pragma clang diagnostic ignored "-Wshadow" 45 #pragma clang diagnostic ignored "-Wunused-local-typedef" 47 #include <boost/random/mersenne_twister.hpp> 49 #pragma clang diagnostic pop 52 #include <boost/scoped_ptr.hpp> 53 #include <boost/shared_ptr.hpp> 96 void shoot_event(std::vector<const gg_hit *> &hits_);
99 int build_gid(
int side_,
int layer_,
int row_)
const;
108 unsigned int _nb_layers_;
109 unsigned int _nb_rows_;
112 boost::scoped_ptr<boost::random::mt19937> _generator_;
113 std::vector<boost::shared_ptr<gg_hit> > _hits_gc_;
114 std::map<int, bool> _gids_;
119 #endif // FALAISE_TRACKERPRECLUSTERING_EVENT_GENERATOR_H void set_nb_rows(unsigned int nb_rows_)
Set the number of rows.
Generator of mock events (collections of Geiger hits)
Definition: event_generator.h:60
bool is_initialized()
Check initialization status.
void register_gid(int gid_, bool delayed_=false)
Register a given geometry Id (GID) as prompt or delayed.
void set_nb_layers(unsigned int nb_layers_)
Set the number of layers.
event_generator()
Default constructor.
void set_cell_size(double cell_size_)
Set the cell size.
int build_gid(int side_, int layer_, int row_) const
Build a unique geometry Id (GID) from cell Ids.
void generate_delayed_gg_hits(std::vector< const gg_hit * > &hits_)
Generate the mock delayed Geiger hits.
bool has_gid(int gid_) const
Check if some geometry Id (GID) is registered.
Definition: event_display.h:40
void initialize()
Initialization.
void shoot_event(std::vector< const gg_hit * > &hits_)
Generate an event with many Geiger hits.
void generate_prompt_gg_hits(std::vector< const gg_hit * > &hits_)
Generate the mock prompt Geiger hits.
void set_seed(long)
Set seed.