Classes | |
struct | cut_struct |
Public Member Functions | |
void | Close () |
void | SetDebug (bool debug_) |
void | SetWrite (bool write_) |
void | SetBufferSize (int buffer_size_) |
void | SetPR (bool PR_) |
void | SetStat (bool stat_) |
void | SetSimulated (string list_file_, double activity_, int run_type_=nemo3::RunType::BETABETA) |
void | SetFalsifiedRunNb (int rn_) |
void | SetSequential (bool sequen_) |
void | SetNbEvt (unsigned int nb_) |
bool | WaitForIt (pthread_t &thread_, pthread_mutex_t &to_mutex_, pthread_cond_t &to_cond_, long start_) |
void | Lock (std::string) |
void | Unlock (std::string) |
void | SetAcceptOnlyGoodRunStatus (bool) |
void | SetApplyReal (bool) |
void | SetDegradPMTs (bool) |
void | SetDeleteOffPMTs (bool) |
void | SetDeleteHotPMTs (bool) |
void | SetDegradGGs (bool) |
void | SetDeleteOffGGs (bool) |
void | SetDeleteHotGGs (bool) |
void | SetRunType (int rt_) |
void | SetReal () |
void | SetFileIn (string file_in_) |
void | SetFileOut (string file_out_) |
void | SetRoutine (void *(*routine_)(void *)) |
bool | Process (string file_in_="", string file_out_="", int NbThread_=-1, void *(*routine_)(void *)=NULL) |
bool | SelectEvent (nemo3::ana_event *event_, string cut_file_, string cut_name_) |
void | KillEvt (evt_coll the_coll, list< nemo3::ana_event * >::iterator evt_it) |
Static Public Member Functions | |
static thread_mgr * | GetThread_mgr (string file_in_="", string file_out_="", int NbThread_=-1, void *(*routine_)(void *)=NULL) |
Private Member Functions | |
bool | InitArc4se (long seed_) |
void | __Lock (std::string) |
void | __Unlock (std::string) |
void | __CleanOutLock () |
void | __CleanIt (list< list< nemo3::ana_event * > > &event_buffer) |
thread_mgr (string file_in_="", string file_out_="", int NbThread_=1, void *(*routine_)(void *)=NULL) | |
thread_mgr & | operator= (const thread_mgr &) |
Static Private Member Functions | |
static void * | writer_routine (void *data_) |
static void * | convert_routine (void *data_) |
static void * | reader_routine (void *data_) |
Private Attributes | |
bool | __select |
bool | __sequen |
bool | __stat |
bool | __DegradPMTs |
bool | __DeleteOffPMTs |
bool | __DeleteHotPMTs |
bool | __DegradGGs |
bool | __DeleteOffGGs |
bool | __DeleteHotGGs |
bool | __AcceptOnlyGood |
int | __run_type |
double | __activity |
string | __file_in |
string | __file_out |
string | __list_file |
string | __cut_file |
string | __cut_name |
void *(* | __routine )(void *) |
struct timeval | __now |
struct timespec | __wait |
long | __waiting [3] |
std::map< std::string, pthread_mutex_t > | __mutex_lst |
pthread_mutex_t | __map_mutex |
Static Private Attributes | |
static thread_mgr * | Instance |
static bool | __debug |
static bool | __write |
static bool | __PR |
static short | __format |
static int | __buffer_size |
static int | __NbThread |
static int | __counter |
static int | __falsify_run_nb |
static unsigned int | __evt_max |
static nemo3::Arc4seMgr * | __arcase_mgr |
static nemo3::StdCalibMgr * | __calib_mgr |
static nemo3::LALTracker * | __tracker_mgr |
static nemo3::cut_factory * | __cut_factory |
static nemocuts::cut_manager * | __cut_manager |
static nemocuts::ICut * | __selector |
static std::map< string, cut_struct > | __the_cutter |
static nemo3::io::store_mgr * | __writer |
static void * | __reader |
static vector< nemocuts::ICut > | __selectors |
static bool | __simulated |