Low-Energy Muon (LEM) Experiment  0.5.2
tof_ana_module.cxx File Reference
#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>
Include dependency graph for tof_ana_module.cxx:

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
 

Macro Definition Documentation

#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().

Function Documentation

INT tof_eor ( INT  run_number)

Definition at line 248 of file tof_ana_module.cxx.

TOFANAMODULE_PARAM_STR ( tof_ana_param_str  )

Variable Documentation

TObjArray* gHistoFolderStack
TFolder* gManaHistosFolder
TH2F* hPosHist[2 *N_POSHIST]
static

Definition at line 76 of file tof_ana_module.cxx.

Referenced by tof_ana(), tof_bor(), and tof_init().

TH1F* hProjHist[2 *2]
static

Definition at line 75 of file tof_ana_module.cxx.

Referenced by tof_ana(), tof_bor(), and tof_init().

TH1F* hTOFHist[2 *N_TOFHIST]
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().

float rotCos
static

Definition at line 83 of file tof_ana_module.cxx.

Referenced by tof_ana(), tof_bor(), and tof_init().

float rotSin
static

Definition at line 83 of file tof_ana_module.cxx.

Referenced by tof_ana(), tof_bor(), and tof_init().

ANA_MODULE tof_ana_module
Initial value:
= {
"TOFAnaModule",
"Thomas Prokscha",
NULL,
sizeof(tof_ana_param),
(const char **)tof_ana_param_str,
}
INT tof_ana(EVENT_HEADER *, void *)
INT tof_init(void)
INT tof_eor(INT run_number)
INT tof_bor(INT run_number)
TOFANAMODULE_PARAM tof_ana_param

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.