AlcapDAQ
1
|
#include <stdio.h>
#include <stdlib.h>
#include "midas.h"
#include "../../compress/mucap_compress.h"
#include "TH1.h"
#include "TH2.h"
#include "TCanvas.h"
Go to the source code of this file.
Macros | |
#define | _FILE_OFFSET_BITS 64 |
Functions | |
void | process_file (char *input_filename, int addr, int fadc) |
int | process_event (void *pevent, int addr, int fadc) |
bool | get_input_event (FILE *fp, char *pevent, int event_number) |
double | findPulse (int nsamples, int *samples) |
int | processIsland (int t0, int nsamples, int *samples, int channel) |
Variables | |
TCanvas * | c = 0 |
TH2 * | hSamples |
TH1 * | hChannelNSample |
TH1 * | hChannelNIsland |
TH2 * | hMinSample |
TH2 * | hMaxSample |
TH2 * | hPulseEnergy |
TH2 * | hPed0 |
#define _FILE_OFFSET_BITS 64 |
Definition at line 1 of file res_analysis.cxx.
double findPulse | ( | int | nsamples, |
int * | samples | ||
) |
Definition at line 116 of file res_analysis.cxx.
References i, nsamples, and pedestalsigma.
Referenced by processIsland().
bool get_input_event | ( | FILE * | fp, |
char * | pevent, | ||
int | event_number | ||
) |
int process_event | ( | void * | pevent, |
int | addr, | ||
int | fadc | ||
) |
Definition at line 266 of file res_analysis.cxx.
References i, printf(), processIsland(), and sprintf().
Referenced by main(), and process_file().
void process_file | ( | char * | input_filename, |
int | addr, | ||
int | fadc | ||
) |
Definition at line 67 of file res_analysis.cxx.
References cm_get_environment(), compress_load_all(), event_number, exp_name, expand_event(), get_input_event(), hChannelNIsland, hChannelNSample, hDB, hMaxSample, hMinSample, host_name, hPed0, hPulseEnergy, hSamples, process_event(), and SUCCESS.
Referenced by rsp(), rsp_ndet0(), and rsp_res_ana().
int processIsland | ( | int | t0, |
int | nsamples, | ||
int * | samples, | ||
int | channel | ||
) |
Definition at line 230 of file res_analysis.cxx.
References findPulse(), hChannelNIsland, hChannelNSample, hMaxSample, hMinSample, hPed0, hPulseEnergy, hSamples, i, and nsamples.
Referenced by process_event().
TCanvas* c = 0 |
Definition at line 24 of file res_analysis.cxx.
TH1* hChannelNIsland |
Definition at line 61 of file res_analysis.cxx.
Referenced by process_file(), and processIsland().
TH1* hChannelNSample |
Definition at line 60 of file res_analysis.cxx.
Referenced by process_file(), and processIsland().
TH2* hMaxSample |
Definition at line 63 of file res_analysis.cxx.
Referenced by process_file(), and processIsland().
TH2* hMinSample |
Definition at line 62 of file res_analysis.cxx.
Referenced by process_file(), and processIsland().
TH2* hPed0 |
Definition at line 65 of file res_analysis.cxx.
Referenced by process_file(), and processIsland().
TH2* hPulseEnergy |
Definition at line 64 of file res_analysis.cxx.
Referenced by process_file(), and processIsland().
TH2* hSamples |
Definition at line 59 of file res_analysis.cxx.
Referenced by process_file(), and processIsland().