Newer
Older
TestStandRepository / Software / Tools / Par.C
//************************************************
// Author: Federica Lionetto
// Created on: 07/21/2014
//************************************************

/*
List of useful variables.
*/

// Header guard.
#ifndef __PAR_C_INCLUDED__
#define __PAR_C_INCLUDED__

// Number of Beetle channels.
const int N = 256;

// Number of Beetle channels per chip.
const int NBeetle = 128;

// Type of sensor under test.
// string sensor = "Hans410";
string sensor = "Hans320";
// string sensor = "ATLAS";

// Number of Beetle channels to skip to find the next connected Beetle channel + 1. If Beetle channel 0 and Beeetle channel 4 are connected, NSkip = 4.  
// The Hans410 and Hans320 sensors have NSkip = 4.
const int NSkip = 4;
// The ATLAS sensor has NSkip = 1.
// const int NSkip = 1;

// Left and right strings.
string l = "left";
string r = "right"; 

#endif