|
Low-Energy Muon (LEM) Experiment
0.5.2
|
#include <stdio.h>#include <time.h>#include <string.h>#include <math.h>#include "midas.h"#include "rmidas.h"#include "v1190.h"#include "experim.h"#include "nemu_experim.h"#include <TH1F.h>#include <TH2F.h>#include <TTree.h>
Go to the source code of this file.
Macros | |
| #define | N_TOFHIST 17 |
| #define | N_POSHIST 8 |
Functions | |
| TOFANAMODULE_PARAM_STR (tof_ana_param_str) | |
| INT | tof_init (void) |
| INT | tof_ana (EVENT_HEADER *, void *) |
| INT | tof_bor (INT run_number) |
| INT | tof_eor (INT run_number) |
Variables | |
| RUNINFO | runinfo |
| /Runinfo ODB key, defined in from midas.h More... | |
| TRIGGER_SETTINGS | trigger_settings |
| /Equipment/Trigger/Settings More... | |
| TOFANAMODULE_PARAM | tof_ana_param |
| INT | masterChannel |
| ANA_MODULE | tof_ana_module |
| static TH1F * | hTOFHist [2 *N_TOFHIST] |
| static TH1F * | hProjHist [2 *2] |
| static TH2F * | hPosHist [2 *N_POSHIST] |
| TFolder * | gManaHistosFolder |
| TObjArray * | gHistoFolderStack |
| static float | rotCos |
| static float | rotSin |
| #define N_POSHIST 8 |
Definition at line 72 of file tof_ana_module.cxx.
Referenced by tof_ana(), tof_bor(), and tof_init().
| #define N_TOFHIST 17 |
Definition at line 71 of file tof_ana_module.cxx.
Referenced by tof_ana(), tof_bor(), and tof_init().
| INT tof_ana | ( | EVENT_HEADER * | pheader, |
| void * | pevent | ||
| ) |
Function tof_ana:
locates TDC0 bank, fills time histograms
Definition at line 261 of file tof_ana_module.cxx.
References BCL1, BCL2, BCL3, BCL4, BCR1, BCR2, BCR3, BCR4, LEM_DATA::channel, LEM_DATA::data, DATA_N_HITS, EVENT_0_TYPE, EXTOFF1_FLAG, EXTON1_FLAG, hPosHist, hProjHist, hTOFHist, MCP2F, MCP2R, MCP2X1, MCP2X2, MCP2Y1, MCP2Y2, N_POSHIST, N_TDC_CHANNELS, N_TOFHIST, NEW_EVENT_MASK, rotCos, rotSin, TOFANAMODULE_PARAM::scalefactor, TD, TOFANAMODULE_PARAM::timemax, TOFANAMODULE_PARAM::timemin, TOFANAMODULE_PARAM::timesummax, TOFANAMODULE_PARAM::timesummin, TOFANAMODULE_PARAM::tofm2fmax, TOFANAMODULE_PARAM::tofm2fmin, POSI_BANK::x, TOFANAMODULE_PARAM::xoffset_mm_, POSI_BANK::y, and TOFANAMODULE_PARAM::yoffset_mm_.
| INT tof_bor | ( | INT | run_number | ) |
Definition at line 171 of file tof_ana_module.cxx.
References TRIGGER_SETTINGS::event_1_settings, TOFANAMODULE_PARAM::histotitles, hPosHist, hProjHist, hTOFHist, masterChannel, MCP2F, N_POSHIST, N_TOFHIST, TOFANAMODULE_PARAM::positiontitles, TOFANAMODULE_PARAM::projtitles, TOFANAMODULE_PARAM::rotationangle, rotCos, rotSin, runinfo, runname, TD, TRIGGER_SETTINGS::td_master, TOFANAMODULE_PARAM::tofm2fmax, TOFANAMODULE_PARAM::tofm2fmin, and TOFANAMODULE_PARAM::toftitles.
| INT tof_eor | ( | INT | run_number | ) |
Definition at line 248 of file tof_ana_module.cxx.
| INT tof_init | ( | void | ) |
Definition at line 86 of file tof_ana_module.cxx.
References hDB, TOFANAMODULE_PARAM::histobinning, TOFANAMODULE_PARAM::histotitles, hPosHist, hProjHist, hTOFHist, N_OFFSET_ONOFF_HISTOGRAMS, N_POSHIST, N_TOFHIST, POSI_BANK_STR(), TOFANAMODULE_PARAM::positionbin, TOFANAMODULE_PARAM::positiontitles, TOFANAMODULE_PARAM::projbin, TOFANAMODULE_PARAM::projtitles, rotCos, rotSin, runinfo, runname, TOFANAMODULE_PARAM::tofbin, and TOFANAMODULE_PARAM::toftitles.
| TOFANAMODULE_PARAM_STR | ( | tof_ana_param_str | ) |
| TObjArray* gHistoFolderStack |
| TFolder* gManaHistosFolder |
|
static |
Definition at line 76 of file tof_ana_module.cxx.
Referenced by tof_ana(), tof_bor(), and tof_init().
|
static |
Definition at line 75 of file tof_ana_module.cxx.
Referenced by tof_ana(), tof_bor(), and tof_init().
|
static |
Definition at line 74 of file tof_ana_module.cxx.
Referenced by tof_ana(), tof_bor(), and tof_init().
| INT masterChannel |
Definition at line 49 of file tof_ana_module.cxx.
Referenced by check_positron(), check_tof_and_pileup(), and tof_bor().
|
static |
Definition at line 83 of file tof_ana_module.cxx.
Referenced by tof_ana(), tof_bor(), and tof_init().
|
static |
Definition at line 83 of file tof_ana_module.cxx.
Referenced by tof_ana(), tof_bor(), and tof_init().
| RUNINFO runinfo |
/Runinfo ODB key, defined in from midas.h
Not defined in experim.h:
Definition at line 83 of file analyzer.cxx.
Referenced by ana_begin_of_run(), ana_end_of_run(), ana_pause_run(), ana_resume_run(), analyzer_init(), analyzer_loop(), decay_bor(), decay_init(), disp_scaler(), frontend_init(), frontend_loop(), get_sum_filename(), mcp1_init(), pileup_init(), sc_eor(), scaler_sum(), tof_bor(), tof_init(), update_run_header(), and write_histogram_file().
| ANA_MODULE tof_ana_module |
Definition at line 57 of file tof_ana_module.cxx.
| TOFANAMODULE_PARAM tof_ana_param |
Definition at line 46 of file tof_ana_module.cxx.
| TRIGGER_SETTINGS trigger_settings |
/Equipment/Trigger/Settings
The following structures are defined in experim.h that is created by entering 'make' in ODBedit.
ODB record values can be easily accessed by db_open_record which creates a hot-link to the structure; structure_name.keyvalue
Definition at line 93 of file analyzer.cxx.