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

Go to the source code of this file.

Macros

#define CRATE1   1
 
#define CRATE3   3
 
#define NTDCCHAN   128
 
#define NUMEVENTS   10
 
#define NUMRAWEVENTS   10
 
#define NUMSLOTS   21
 
#define SLOTMIN   3
 

Functions

void GeneratePlots (uint32_t islot, uint32_t chan)
 
int main (int, char **)
 

Variables

TDirectorychan_dir [NTDCCHAN]
 
TH1Ih_occupancy [NUMSLOTS]
 
TH1Ih_rawtdc [NUMSLOTS][NTDCCHAN]
 
TFilehfile
 
TDirectoryslot_dir [NUMSLOTS]
 

Macro Definition Documentation

◆ CRATE1

#define CRATE1   1

Definition at line 20 of file tst1190_main.cxx.

◆ CRATE3

#define CRATE3   3

Definition at line 21 of file tst1190_main.cxx.

◆ NTDCCHAN

#define NTDCCHAN   128

Definition at line 24 of file tst1190_main.cxx.

◆ NUMEVENTS

#define NUMEVENTS   10

Definition at line 25 of file tst1190_main.cxx.

◆ NUMRAWEVENTS

#define NUMRAWEVENTS   10

Definition at line 26 of file tst1190_main.cxx.

◆ NUMSLOTS

#define NUMSLOTS   21

Definition at line 23 of file tst1190_main.cxx.

◆ SLOTMIN

#define SLOTMIN   3

Definition at line 22 of file tst1190_main.cxx.

Function Documentation

◆ GeneratePlots()

void GeneratePlots ( uint32_t  islot,
uint32_t  chan 
)

Definition at line 35 of file tst1190_main.cxx.

◆ main()

int main ( int  ,
char **   
)

Definition at line 50 of file tst1190_main.cxx.

Variable Documentation

◆ chan_dir

TDirectory * chan_dir[NTDCCHAN]

Definition at line 32 of file tst1190_main.cxx.

◆ h_occupancy

TH1I * h_occupancy[NUMSLOTS]

Definition at line 33 of file tst1190_main.cxx.

◆ h_rawtdc

TH1I* h_rawtdc[NUMSLOTS][NTDCCHAN]

Definition at line 33 of file tst1190_main.cxx.

◆ hfile

TFile* hfile

Definition at line 31 of file tst1190_main.cxx.

◆ slot_dir

TDirectory* slot_dir[NUMSLOTS]

Definition at line 32 of file tst1190_main.cxx.