Low-Energy Muon (LEM) Experiment  0.5.1
tof_ana_module.c 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.c:

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 69 of file tof_ana_module.c.

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

#define N_TOFHIST   17

Definition at line 68 of file tof_ana_module.c.

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

Function Documentation

INT tof_eor ( INT  run_number)

Definition at line 245 of file tof_ana_module.c.

TOFANAMODULE_PARAM_STR ( tof_ana_param_str  )

Variable Documentation

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

Definition at line 73 of file tof_ana_module.c.

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

TH1F* hProjHist[2 *2]
static

Definition at line 72 of file tof_ana_module.c.

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

TH1F* hTOFHist[2 *N_TOFHIST]
static

Definition at line 71 of file tof_ana_module.c.

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

INT masterChannel

Definition at line 46 of file tof_ana_module.c.

Referenced by check_positron(), check_tof_and_pileup(), and tof_bor().

float rotCos
static

Definition at line 80 of file tof_ana_module.c.

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

float rotSin
static

Definition at line 80 of file tof_ana_module.c.

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

RUNINFO runinfo

/Runinfo ODB key, defined in from midas.h

Not defined in experim.h:

/Runinfo ODB key, defined in from midas.h

Definition at line 193 of file vme_fe.c.

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

Definition at line 54 of file tof_ana_module.c.

TOFANAMODULE_PARAM tof_ana_param

Definition at line 43 of file tof_ana_module.c.

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 188 of file vme_fe.c.