Table of Contents

Software compilation

FecSoftware

 source TriDAS/pixel/POSRelease/setenv.sh
 cd TriDAS/FecSoftwareV3_0
 make Generic
 make APIConsoleDebugger
 make install

pxlpilotfed

 source TriDAS/pixel/POSRelease/setenv.sh
 cd TriDAS/pixel/pxlpilotfed
 make 

BPixelTools

Requires installation of CAEN software.
CAEN libraries available at (see README for installation instructions): http://www.caen.it/jsp/Template2/CaenProd.jsp?parent=42&idmod=835

CAEN Utilities
 cd CAEN_PS_cpp
 make all   
FECSoftware

1) Replace the file TriDAS/FecSoftwareV3_0/generic/include/HashTable.h by this one: http://www.physik.uzh.ch/~leac/HashTable.h
Recompile the FECSoftware

2) In generic/src/common/FecRingDevice.cc: in FecRingDevice::fecScanRingBroadcast(): reset cculist before scanning:

uncomment:

for (ccuMapAccessedType::iterator p=ccuMapAccess_.begin();p!=ccuMapAccess_.end();p++)  
delete p->second ; // Remove all the accesses for the CCU device
ccuMapAccess_.clear() ;
BPixelTools
 cd TriDAS/pixel/BPixelTools
 source setup.bsh
 cd caen
 source setup.bsh
 make
 cd ../ccu
 source setup.bsh
 make 
 cd ../fed
 source setup.bsh
 make
 cd ../fedScope
 source setup.bsh
 make
 cd ../pxfec
 source setup.bsh
 make
 cd ../tools
 source setup.bsh
 make