Difference: SciFiTestBeamCode (1 vs. 6)

Revision 62014-11-05 - MaxNeuner

Line: 1 to 1
 
META TOPICPARENT name="SciFiTrackerTestBeam2014"

SciFi Tracker Test Beam Analysis Code

Line: 117 to 117
  For the cluster analysis, there is also the option to look at the adc values of all channels of one single event. Activate by setting option -d (for display events)!
Changed:
<
<
The ntuples themselves are all available along with the data on EOS. I have already run gainAnalysis on all led files for uplinks 33 and 34, so I will load these files on EOS, too.
>
>
The ntuples themselves are all available along with the data on EOS. I have already run gainAnalysis on all led files for uplinks 33 and 34 and uploaded them to
/afs/cern.ch/user/m/mneuner/public/testbeam/led_gain/
  -- MaxNeuner - 5 Nov 2014

Revision 52014-11-05 - MaxNeuner

Line: 1 to 1
 
META TOPICPARENT name="SciFiTrackerTestBeam2014"

SciFi Tracker Test Beam Analysis Code

Line: 96 to 96
 /afs/cern.ch/user/m/mneuner/public/testbeam/tools/

Deleted:
<
<
The ntuples themselves are all available along with the data on EOS. More comments will be added on Tuesday -- MaxNeuner - 2 Nov 2014
 \ No newline at end of file
Added:
>
>
To use the software, you need to install root v5.xx and qt4 as above and set the $ROOTSYS -folder. In the main-files, you have to specifiy the folder in which the data is stored: replace by your folder. Create an additional folder "led_gain" in the data folder for the gain files. The folder "convertToNtuple" should be placed at
scifibeamtest/tools/

compile:

qmake (Qt will produce a make file for us)
make

Run:

./convertToNtuple <pedestal run number> <led ntuple run number> <beam dat file run number> --overview 31 32 33 34  (or --silent instead of overview if you don't want the overview to be popped up)
./gainAnalysis -l <led ntuple run number> -u <uplink number>
./cluster_analysis -p <pedestal run number> -g <run number of run you determined the gain> -f <beam dat file run number> -u <uplink number>

For the cluster analysis, there is also the option to look at the adc values of all channels of one single event. Activate by setting option -d (for display events)!

The ntuples themselves are all available along with the data on EOS. I have already run gainAnalysis on all led files for uplinks 33 and 34, so I will load these files on EOS, too.

-- MaxNeuner - 5 Nov 2014

Revision 42014-11-02 - MaxNeuner

Line: 1 to 1
 
META TOPICPARENT name="SciFiTrackerTestBeam2014"

SciFi Tracker Test Beam Analysis Code

Line: 88 to 88
 

-- MarkTobin - 21 Oct 2014 \ No newline at end of file

Added:
>
>

Ntuple Analysis Software

The analysis software that has been used during the second testbeam convertToNtuple, gainAnalysis and cluster_analysis are available at my public lxplus folder:

/afs/cern.ch/user/m/mneuner/public/testbeam/tools/

The ntuples themselves are all available along with the data on EOS. More comments will be added on Tuesday -- MaxNeuner - 2 Nov 2014
 \ No newline at end of file

Revision 32014-10-22 - MarkTobin

Line: 1 to 1
 
META TOPICPARENT name="SciFiTrackerTestBeam2014"

SciFi Tracker Test Beam Analysis Code

Line: 8 to 8
  Ask Roman for access to the git repository and download the two packages scifiusbboard and scifibeamtest.
Changed:
<
<
git clone git clone
>
>
git clone https://your_user_name@bitbucket.org/RomanGreim/scifiusbboard.git git clone https://your_user_name@bitbucket.org/RomanGreim/scifibeamtest.git
  To update to the latest versions, you should do the following:

Revision 22014-10-22 - MarkTobin

Line: 1 to 1
 
META TOPICPARENT name="SciFiTrackerTestBeam2014"

SciFi Tracker Test Beam Analysis Code

Line: 7 to 7
 

Software Installation

Ask Roman for access to the git repository and download the two packages scifiusbboard and scifibeamtest.

Deleted:
<
<
The code requires root v5.xx and qt4 to be installed. It also requires the libusb package. To update to the latest versions, you should do the following:
 
Changed:
<
<
cd scifiusbboard git pull cd scifibeamtest git pull
>
>
git clone git clone To update to the latest versions, you should do the following:
cd scifiusbboard; git pull
cd scifibeamtest; git pull
 
Added:
>
>
The code requires root v5.xx and qt4 to be installed. It also requires the libusb package.
 

MacOSX

Changed:
<
<
This method of installing the software assume that you are using macports (see their installation guide here).
>
>
This method of installing the software assumes that you are using macports (see their installation guide here).
 You need to install the a compatible root version before trying to compile the test beam code. The following installs the latest root 5 version with the required options. You will need to run the port commands as root (e.g. using sudo).
port install qt4-mac
Line: 45 to 47
 cd Builds export DYLD_LIBRARY_PATH=`pwd`:$DYLD_LIBRARY_PATH
Added:
>
>
During the qmake step, you will (should) be prompted to install the QuickUSB package.
  Then you need to compile the scifibeamtest code:
Line: 52 to 55
 qmake QMAKE_INCDIR+=`root-config --incdir` make
Deleted:
<
<
During the qmake step, you will (should) be prompted to install the QuickUSB package.
 

Linux

Changed:
<
<
The following example worked for the EPFL cluster where we have the LHCb software installed via the CernVM-FS (/cvmfs). It also required that libusb-devel was installed on all of the cluster nodes.
>
>
The following example worked for the EPFL cluster where we have the LHCb software installed via the CernVM (/cvmfs). It also required that libusb-devel was installed on all of the cluster nodes.
  To compile the scifiusbboard library:

Revision 12014-10-21 - MarkTobin

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="SciFiTrackerTestBeam2014"

SciFi Tracker Test Beam Analysis Code

Software Installation

Ask Roman for access to the git repository and download the two packages scifiusbboard and scifibeamtest. The code requires root v5.xx and qt4 to be installed. It also requires the libusb package. To update to the latest versions, you should do the following:

cd scifiusbboard
git pull
cd scifibeamtest
git pull

MacOSX

This method of installing the software assume that you are using macports (see their installation guide here). You need to install the a compatible root version before trying to compile the test beam code. The following installs the latest root 5 version with the required options. You will need to run the port commands as root (e.g. using sudo).

port install qt4-mac
port install python27
port select --set python python27
port install root5  +cocoa+fftw3+fitsio+gcc48+graphviz+gsl+http+minuit2+opengl+python27+qt_mac+roofit+soversion+sqlite3+ssl+tmva+xml+xrootd
port select --set root root5
You then need to install the development version of libusb.
port install libusb
port install libusb-compat
port install libusb-legacy
In principle, this should be enough to be able to compile the test beam code on a mac.

The first step is to compile the scifiusbboard library:

. /opt/local/bin/thisroot.sh
cd scifiusbboard
export USBBOARDPATH=`pwd`
qmake
make
cd Builds
export DYLD_LIBRARY_PATH=`pwd`:$DYLD_LIBRARY_PATH

Then you need to compile the scifibeamtest code:

cd scifibeamtest
qmake QMAKE_INCDIR+=`root-config --incdir`
make
During the qmake step, you will (should) be prompted to install the QuickUSB package.

Linux

The following example worked for the EPFL cluster where we have the LHCb software installed via the CernVM-FS (/cvmfs). It also required that libusb-devel was installed on all of the cluster nodes.

To compile the scifiusbboard library:

SetupProject LHCb v37r3
cd scifiusbboard
qmake
make
export USBBOARDPATH=`pwd`
export LD_LIBRARY_PATH=$USBBOARDPATH/Builds:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$USBBOARDPATH/support:$LD_LIBRARY_PATH

To compile the scifibeamtest software:

cd scifibeamtest
qmake
make

Quick Analysis

If everything has gone well, you should now be able to run the quickAnalysis.

cd scifibeamtest
./Builds/quickAnalysis <pedestalFile.root> <ledFile.root> <dataFile.root> --overview

-- MarkTobin - 21 Oct 2014

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback