Low-Energy Muon (LEM) Experiment
0.5.2
|
#include <stdio.h>
#include <stdlib.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_MCP1HIST 3 |
Functions | |
MCP1ANAMODULE_PARAM_STR (mcp1_ana_param_str) | |
INT | mcp1_init (void) |
INT | mcp1_ana (EVENT_HEADER *, void *) |
INT | mcp1_bor (INT run_number) |
INT | mcp1_eor (INT run_number) |
Variables | |
RUNINFO | runinfo |
/Runinfo ODB key, defined in from midas.h More... | |
TRIGGER_SETTINGS | trigger_settings |
/Equipment/Trigger/Settings More... | |
MCP1ANAMODULE_PARAM | mcp1_ana_param |
ANA_MODULE | mcp1_ana_module |
static TH1F * | hMCP1Hist [N_MCP1HIST] |
TFolder * | gManaHistosFolder |
TObjArray * | gHistoFolderStack |
static DWORD | dataWindowMuonDecay |
#define N_MCP1HIST 3 |
Definition at line 63 of file mcp1_ana_module.cxx.
Referenced by mcp1_bor(), and mcp1_init().
INT mcp1_ana | ( | EVENT_HEADER * | pheader, |
void * | pevent | ||
) |
Function mcp1_ana:
locates TDC0 bank, fills time histograms
Definition at line 127 of file mcp1_ana_module.cxx.
References BCL1, BCL2, BCL3, BCL4, BCR1, BCR2, BCR3, BCR4, LEM_DATA::channel, LEM_DATA::data, DATA_N_HITS, dataWindowMuonDecay, EVENT_0_TYPE, hMCP1Hist, MCP1, N_TDC_CHANNELS, NEW_EVENT_MASK, POSMCP1I, POSMCP1O, and TRIGGER_SETTINGS::tof_bc_window.
INT mcp1_bor | ( | INT | run_number | ) |
Definition at line 98 of file mcp1_ana_module.cxx.
References TRIGGER_SETTINGS::data_window, dataWindowMuonDecay, TRIGGER_SETTINGS::event_0_settings, MCP1ANAMODULE_PARAM::histotitles, hMCP1Hist, N_MCP1HIST, runname, and MCP1ANAMODULE_PARAM::toftitles.
INT mcp1_eor | ( | INT | run_number | ) |
Definition at line 115 of file mcp1_ana_module.cxx.
INT mcp1_init | ( | void | ) |
Definition at line 74 of file mcp1_ana_module.cxx.
References dataWindowMuonDecay, hDB, MCP1ANAMODULE_PARAM::histobinning, MCP1ANAMODULE_PARAM::histonbin, MCP1ANAMODULE_PARAM::histotitles, MCP1ANAMODULE_PARAM::histoxlow, MCP1ANAMODULE_PARAM::histoxup, hMCP1Hist, N_MCP1HIST, runinfo, runname, and MCP1ANAMODULE_PARAM::toftitles.
MCP1ANAMODULE_PARAM_STR | ( | mcp1_ana_param_str | ) |
|
static |
Definition at line 71 of file mcp1_ana_module.cxx.
Referenced by mcp1_ana(), mcp1_bor(), and mcp1_init().
TObjArray* gHistoFolderStack |
TFolder* gManaHistosFolder |
|
static |
Definition at line 65 of file mcp1_ana_module.cxx.
Referenced by mcp1_ana(), mcp1_bor(), and mcp1_init().
ANA_MODULE mcp1_ana_module |
Definition at line 49 of file mcp1_ana_module.cxx.
MCP1ANAMODULE_PARAM mcp1_ana_param |
Definition at line 40 of file mcp1_ana_module.cxx.
RUNINFO runinfo |
/Runinfo ODB key, defined in from midas.h
Not defined in experim.h:
Definition at line 83 of file analyzer.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.