Low-Energy Muon (LEM) Experiment  0.5.2
pileup_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 pileup_ana_module.cxx:

Go to the source code of this file.

Macros

#define N_PUHIST   4
 

Functions

 PILEUPANAMODULE_PARAM_STR (pileup_ana_param_str)
 
INT pileup_init (void)
 
INT pileup_ana (EVENT_HEADER *, void *)
 
INT pileup_bor (INT run_number)
 
INT pileup_eor (INT run_number)
 

Variables

RUNINFO runinfo
 /Runinfo ODB key, defined in from midas.h More...
 
PILEUPANAMODULE_PARAM pileup_ana_param
 
ANA_MODULE pileup_ana_module
 
static TH1F * hPUHist [N_PUHIST]
 
TFolder * gManaHistosFolder
 
TObjArray * gHistoFolderStack
 

Macro Definition Documentation

#define N_PUHIST   4

Definition at line 62 of file pileup_ana_module.cxx.

Referenced by pileup_bor(), and pileup_init().

Function Documentation

INT pileup_ana ( EVENT_HEADER *  pheader,
void *  pevent 
)

Function pileup_ana:

locates TDC0 bank, fills time histograms

Definition at line 119 of file pileup_ana_module.cxx.

References LEM_DATA::channel, LEM_DATA::data, DATA_N_HITS, hPUHist, MCP2F, N_TDC_CHANNELS, TD, and TDC_BIT_RANGE.

INT pileup_bor ( INT  run_number)
INT pileup_eor ( INT  run_number)

Definition at line 107 of file pileup_ana_module.cxx.

PILEUPANAMODULE_PARAM_STR ( pileup_ana_param_str  )

Variable Documentation

TObjArray* gHistoFolderStack
TFolder* gManaHistosFolder
TH1F* hPUHist[N_PUHIST]
static

Definition at line 64 of file pileup_ana_module.cxx.

Referenced by pileup_ana(), pileup_bor(), and pileup_init().

ANA_MODULE pileup_ana_module
Initial value:
= {
"PileUpAnaModule",
"Thomas Prokscha",
NULL,
sizeof(pileup_ana_param),
(const char **)pileup_ana_param_str,
}
INT pileup_ana(EVENT_HEADER *, void *)
INT pileup_eor(INT run_number)
PILEUPANAMODULE_PARAM pileup_ana_param
INT pileup_bor(INT run_number)
INT pileup_init(void)

Definition at line 48 of file pileup_ana_module.cxx.

PILEUPANAMODULE_PARAM pileup_ana_param

Definition at line 38 of file pileup_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.