Low-Energy Muon (LEM) Experiment  0.5.2
decay_ana_module.cxx File Reference
#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 <TFolder.h>
#include <TH1F.h>
#include <TH2F.h>
#include <TTree.h>
Include dependency graph for decay_ana_module.cxx:

Go to the source code of this file.

Macros

#define POS_FLAG_LD   (1<<0)
 
#define POS_FLAG_TD   (1<<1)
 
#define POS_FLAG_RD   (1<<2)
 
#define POS_FLAG_BD   (1<<3)
 
#define POS_FLAG_LU   (1<<4)
 
#define POS_FLAG_TU   (1<<5)
 
#define POS_FLAG_RU   (1<<6)
 
#define POS_FLAG_BU   (1<<7)
 

Functions

 DECAYANAMODULE_PARAM_STR (decay_ana_param_str)
 
INT decay_init (void)
 
INT decay_ana (EVENT_HEADER *, void *)
 
INT decay_bor (INT run_number)
 
INT decay_eor (INT run_number)
 

Variables

RUNINFO runinfo
 /Runinfo ODB key, defined in from midas.h More...
 
TRIGGER_SETTINGS trigger_settings
 /Equipment/Trigger/Settings More...
 
T0SHIFT_PARAM t0shift_param
 
DECAYANAMODULE_PARAM decay_ana_param
 
ANA_MODULE decay_ana_module
 
static TH1F * hDecHist [4 *N_DECAY_HISTS]
 
TFolder * gManaHistosFolder
 
TObjArray * gHistoFolderStack
 
static DWORD dataWindowMuonDecay
 

Macro Definition Documentation

#define POS_FLAG_BD   (1<<3)

Definition at line 77 of file decay_ana_module.cxx.

Referenced by decay_ana().

#define POS_FLAG_BU   (1<<7)

Definition at line 81 of file decay_ana_module.cxx.

Referenced by decay_ana().

#define POS_FLAG_LD   (1<<0)

Definition at line 74 of file decay_ana_module.cxx.

Referenced by decay_ana().

#define POS_FLAG_LU   (1<<4)

Definition at line 78 of file decay_ana_module.cxx.

Referenced by decay_ana().

#define POS_FLAG_RD   (1<<2)

Definition at line 76 of file decay_ana_module.cxx.

Referenced by decay_ana().

#define POS_FLAG_RU   (1<<6)

Definition at line 80 of file decay_ana_module.cxx.

Referenced by decay_ana().

#define POS_FLAG_TD   (1<<1)

Definition at line 75 of file decay_ana_module.cxx.

Referenced by decay_ana().

#define POS_FLAG_TU   (1<<5)

Definition at line 79 of file decay_ana_module.cxx.

Referenced by decay_ana().

Function Documentation

INT decay_ana ( EVENT_HEADER *  pheader,
void *  pevent 
)
INT decay_eor ( INT  run_number)

Definition at line 171 of file decay_ana_module.cxx.

INT decay_init ( void  )
DECAYANAMODULE_PARAM_STR ( decay_ana_param_str  )

Variable Documentation

DWORD dataWindowMuonDecay
static

Definition at line 83 of file decay_ana_module.cxx.

Referenced by decay_ana(), decay_bor(), and decay_init().

ANA_MODULE decay_ana_module
Initial value:
= {
"DecayAnaModule",
"Thomas Prokscha",
NULL,
sizeof(decay_ana_param),
(const char **)decay_ana_param_str,
}
DECAYANAMODULE_PARAM decay_ana_param
INT decay_eor(INT run_number)
INT decay_bor(INT run_number)
INT decay_ana(EVENT_HEADER *, void *)
INT decay_init(void)

Define analyser modules which are from external source code. ana_module tof_ana_module = tof_ana_module.c ana_module scaler_rate_sum = scaler_rate_sum.c

Definition at line 53 of file decay_ana_module.cxx.

DECAYANAMODULE_PARAM decay_ana_param

Definition at line 44 of file decay_ana_module.cxx.

TObjArray* gHistoFolderStack

Referenced by sc_eor().

TFolder* gManaHistosFolder
TH1F* hDecHist[4 *N_DECAY_HISTS]
static

Definition at line 68 of file decay_ana_module.cxx.

Referenced by decay_ana(), decay_bor(), and decay_init().

RUNINFO runinfo

/Runinfo ODB key, defined in from midas.h

Not defined in experim.h:

Definition at line 83 of file analyzer.cxx.

T0SHIFT_PARAM t0shift_param

Definition at line 99 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.