EmcDynamicData.C File Reference

#include <iostream>
#include <cstdlib>
#include "EmcDynamicData.h"
#include "emcGlobals.h"
#include "EmcIndexer.h"
#include <cstring>
#include <cassert>

Include dependency graph for EmcDynamicData.C:

Go to the source code of this file.

Defines

#define EMCcode   8001
#define FEMChannels   192
#define ASICs   6
#define FEM   0
#define CHAN   1
#define REF   2
#define DELAY   3
#define MAP   4
#define DATA   5
#define EMC_UNKNOWN   -1

Variables

const char * dev []
unsigned long SectorBases []
const char * sectors []
const char * FEMkeywords []
const char * DELAYkeywords []
long SectorFEM []
const char * REFkeywords []
const char * DATAkeywords []
const char * MAPkeywords []


Define Documentation

#define ASICs   6
 

Definition at line 67 of file EmcDynamicData.C.

#define CHAN   1
 

Definition at line 69 of file EmcDynamicData.C.

Referenced by EmcDynamicData::ParseConfigurationFile().

#define DATA   5
 

Definition at line 73 of file EmcDynamicData.C.

Referenced by EmcDynamicData::ParseConfigurationFile().

#define DELAY   3
 

Definition at line 71 of file EmcDynamicData.C.

Referenced by EmcDynamicData::ParseConfigurationFile().

#define EMC_UNKNOWN   -1
 

Definition at line 74 of file EmcDynamicData.C.

#define EMCcode   8001
 

Definition at line 65 of file EmcDynamicData.C.

Referenced by EmcDynamicData::ParseFEM().

#define FEM   0
 

Definition at line 68 of file EmcDynamicData.C.

Referenced by EmcIndexer::absFEMCHiPX(), and EmcDynamicData::ParseConfigurationFile().

#define FEMChannels   192
 

Definition at line 66 of file EmcDynamicData.C.

#define MAP   4
 

Definition at line 72 of file EmcDynamicData.C.

Referenced by hsave(), makeHistoMap(), and EmcDynamicData::ParseConfigurationFile().

#define REF   2
 

Definition at line 70 of file EmcDynamicData.C.

Referenced by EmcDynamicData::ParseConfigurationFile().


Variable Documentation

const char* DATAkeywords[]
 

Initial value:

{
  "TOW",
  "ALL"
}

Definition at line 147 of file EmcDynamicData.C.

Referenced by EmcDynamicData::ParseDATA().

const char* DELAYkeywords[]
 

Initial value:

{
  "TAC=",
  "POST="
}

Definition at line 120 of file EmcDynamicData.C.

Referenced by EmcDynamicData::ParseDELAY().

const char* dev[]
 

Initial value:

{
  "FEM:",
  "CHAN:",
  "REF:",
  "DELAY:",
  "MAP:",
  "DATA:"
}

Definition at line 77 of file EmcDynamicData.C.

Referenced by EmcDynamicData::MBControl().

const char* FEMkeywords[]
 

Initial value:

{
  "PIN=",
  "POS=",
  "SECTOR="
}

Definition at line 114 of file EmcDynamicData.C.

Referenced by EmcDynamicData::ParseFEM().

const char* MAPkeywords[]
 

Initial value:

{
  "EMC",
  "FEM"
}

Definition at line 153 of file EmcDynamicData.C.

Referenced by EmcDynamicData::ParseMAP().

const char* REFkeywords[]
 

Initial value:

{
  "TYPE=",              
  "POS=",       
  "SECTOR=",            
  "CHAN="               
}

Definition at line 139 of file EmcDynamicData.C.

Referenced by EmcDynamicData::ParseREF().

unsigned long SectorBases[]
 

Initial value:

{
  0,
  3456,
  6912,
  10368,
  13824,
  17280,
  20736,
  26880,
  33024

}

Definition at line 87 of file EmcDynamicData.C.

long SectorFEM[]
 

Initial value:

{
  0,
  18,
  36,
  54,
  72,
  90,
  108,
  140,
  172
}

Definition at line 126 of file EmcDynamicData.C.

Referenced by EmcDynamicData::ParseFEM(), and EmcDynamicData::ParseREF().

const char* sectors[]
 

Initial value:

{
  "W0",
  "W1",
  "W2",
  "W3",
  "E2",
  "E3",
  "E0",
  "E1",
  "NO"
}

Definition at line 101 of file EmcDynamicData.C.

Referenced by draw_BadNormt(), draw_GainEvolution(), and EmcDynamicData::FindSector().