Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
tstfadcblk_main.cxx File Reference
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <cstdio>
#include "THaCodaFile.h"
#include "CodaDecoder.h"
#include "Fadc250Module.h"
#include "TString.h"
#include "TROOT.h"
#include "TFile.h"
#include "TH1.h"
Include dependency graph for tstfadcblk_main.cxx:

Go to the source code of this file.

Macros

#define DEBUG   1
 
#define MYCHAN   13
 
#define MYCRATE   5
 
#define MYSLOT   5
 
#define MYTYPE   0
 

Functions

void dump (UInt_t *data, ofstream *file)
 
int main (int, char **)
 
void process (UInt_t trignum, THaEvData *evdata, ofstream *file)
 

Variables

TH1Fhinteg
 
TH1Fhinteg2
 
vector< TH1F * > hsnaps
 
UInt_t nsnaps = 5
 
Bool_t use_module = false
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG   1

Definition at line 15 of file tstfadcblk_main.cxx.

◆ MYCHAN

#define MYCHAN   13

Definition at line 14 of file tstfadcblk_main.cxx.

◆ MYCRATE

#define MYCRATE   5

Definition at line 10 of file tstfadcblk_main.cxx.

◆ MYSLOT

#define MYSLOT   5

Definition at line 11 of file tstfadcblk_main.cxx.

◆ MYTYPE

#define MYTYPE   0

Definition at line 7 of file tstfadcblk_main.cxx.

Function Documentation

◆ dump()

void dump ( UInt_t data,
ofstream *  file 
)

Definition at line 158 of file tstfadcblk_main.cxx.

◆ main()

int main ( int  ,
char **   
)

Definition at line 41 of file tstfadcblk_main.cxx.

◆ process()

void process ( UInt_t  trignum,
THaEvData evdata,
ofstream *  file 
)

Definition at line 184 of file tstfadcblk_main.cxx.

Variable Documentation

◆ hinteg

TH1F* hinteg

Definition at line 33 of file tstfadcblk_main.cxx.

◆ hinteg2

TH1F * hinteg2

Definition at line 33 of file tstfadcblk_main.cxx.

◆ hsnaps

vector<TH1F * > hsnaps

Definition at line 32 of file tstfadcblk_main.cxx.

◆ nsnaps

UInt_t nsnaps = 5

Definition at line 36 of file tstfadcblk_main.cxx.

◆ use_module

Bool_t use_module = false

Definition at line 35 of file tstfadcblk_main.cxx.