Difference: ReconstructionAndAnalysisForFE65p2Data (1 vs. 8)

Revision 82017-10-12 - JunkiSuzuki

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

Reconstruction & Analysis instruction for the data including FE65p2

Changed:
<
<
>
>

converter and pixgeo for FE65p2 Analysis

YARRConverterPlugin.cc [ YARRConverterPlugin.cc]

Path:Eutelescope/v1.0/external/eudaq/v1.5.1/main/lib/plugins/YARRConverterPlugin.cc

FE65p2.cc [ FE65p2.cc]

Path:Eutelescope/v1.0/pixgeo/src/FE65p2.cc

FE65p2.h [ FE65p2.h]

Path:Eutelescope/v1.0/pixgeo/include/FE65p2.h

 

Instruction : installation of normal EUTelescope

################################################################
# you can set any TBRECBASEDIR as you want.

Line: 75 to 79
 
emacs -nw $ILCSOFT/v01-17-05/Eutelescope/v1.0/src/EUTelMille.cc

### l.3072-3074
# const int NBin = 600;
# const double Min = -300.;
# const double Max = 300.;

Deleted:
<
<
 
emacs -nw $ILCSOFT/v01-17-05/Eutelescope/v1.0/src/EUTelPreAlignment.cc
Changed:
<
<
### l.129 133
>
>
### l.129 133
  # AIDA::IHistogram1D * histo1Da = AIDAProcessor::histogramFactory(this)->createHistogram1D( (basePath + tempHistoName).c_str(), 100 , -20., 20.);
# AIDA::IHistogram1D * histo1Db = AIDAProcessor::histogramFactory(this)->createHistogram1D( (basePath + tempHistoName).c_str(), 100 , -20., 20.);

## bit odd but this is necessary way to compile...
Deleted:
<
<
 
source compile.sh

## change your config_fe65p2.cfg files to have right BasePath

Line: 112 to 113
 /home/kojin/work/PPSTB/PPSdata/v17/cern_2016_nov_itk/tbtrack/tbtrack008174.root

-- Koji Nakamura - 2017-05-22 \ No newline at end of file

Added:
>
>
META FILEATTACHMENT attachment="YARRConverterPlugin.cc" attr="" comment="" date="1507837052" name="YARRConverterPlugin.cc" path="YARRConverterPlugin.cc" size="13443" user="JunkiSuzuki" version="1"
META FILEATTACHMENT attachment="FE65p2.cc" attr="" comment="" date="1507837052" name="FE65p2.cc" path="FE65p2.cc" size="3440" user="JunkiSuzuki" version="1"
META FILEATTACHMENT attachment="FE65p2.h" attr="" comment="" date="1507837052" name="FE65p2.h" path="FE65p2.h" size="912" user="JunkiSuzuki" version="1"

Revision 72017-08-25 - JunkiSuzuki

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

Reconstruction & Analysis instruction for the data including FE65p2

Line: 83 to 95
 ./run.sh -c config_fe65.cfg -t 11111 -r 8174

# -t option correspond to the step executing
# converter/clustering/hitmaker/align/fitter
#(e.g)
# 10000 : converter only
# 11000 : converter + clustering
#

Added:
>
>
new yarr converter plugin is here (LV1 and ToT+1)
/home/sjunki/samples/YARRConverterPlugin.cc

 

TBmon2 Analysis

You can find Ntuple.root in the working directory.

Revision 62017-06-04 - AtlasjSilicon

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

Reconstruction & Analysis instruction for the data including FE65p2

Line: 36 to 36
 
cat > $TBRECBASEDIR/setupITKTB.sh <<EOF
export TB_ANALYSIS=$TBRECBASEDIR/Reconstruction
Changed:
<
<
export TB_RECDIR=$TB_ANALYSIS/TBReconstruction/TBReconstruction-trunk
>
>
export TB_RECDIR=\$TB_ANALYSIS/TBReconstruction/TBReconstruction-trunk
 export ILCSOFT=$TBRECBASEDIR/ilcsoft20170515/ILCSOFT source /afs/cern.ch/sw/lcg/contrib/gcc/4.8/x86_64-slc6/setup.sh source \$ILCSOFT/v01-17-05/Eutelescope/v1.0/build_env.sh
Line: 65 to 65
 
emacs -nw $ILCSOFT/v01-17-05/Eutelescope/v1.0/src/EUTelMille.cc

### l.3072-3074
# const int NBin = 600;
# const double Min = -300.;
# const double Max = 300.;

Added:
>
>
emacs -nw $ILCSOFT/v01-17-05/Eutelescope/v1.0/src/EUTelPreAlignment.cc
 
Changed:
<
<
emacs -nw $ILCSOFT/v01-17-05/Eutelescope/v1.0/src/EUTelPreAlignment.cc
>
>
### l.129 133
 
Changed:
<
<
### l.129 133
# AIDA::IHistogram1D * histo1Da = AIDAProcessor::histogramFactory(this)->createHistogram1D( (basePath + tempHistoName).c_str(), 100 , -20., 20.);
# AIDA::IHistogram1D * histo1Db = AIDAProcessor::histogramFactory(this)->createHistogram1D( (basePath + tempHistoName).c_str(), 100 , -20., 20.);

## bit odd but this is necessary way to compile...
>
>
# AIDA::IHistogram1D * histo1Da = AIDAProcessor::histogramFactory(this)->createHistogram1D( (basePath + tempHistoName).c_str(), 100 , -20., 20.);
# AIDA::IHistogram1D * histo1Db = AIDAProcessor::histogramFactory(this)->createHistogram1D( (basePath + tempHistoName).c_str(), 100 , -20., 20.);

## bit odd but this is necessary way to compile...
 
source compile.sh

## change your config_fe65p2.cfg files to have right BasePath

Changed:
<
<
BasePath = $TBRECBASEDIR/work/run_%(TestBeamDate)s
## note $TBRECBASEDIR env have to be extracted since it doesn't work in the config file
>
>
BasePath = $TBRECBASEDIR/work/run_%(TestBeamDate)s

## note $TBRECBASEDIR env have to be extracted since it doesn't work in the config file

  ## run converter as the first try

Revision 52017-06-04 - KojiNakamura

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

Reconstruction & Analysis instruction for the data including FE65p2

Line: 6 to 6
 

Instruction : installation of normal EUTelescope

################################################################
# you can set any TBRECBASEDIR as you want.

Changed:
<
<
export TBRECBASEDIR=/Path/To/Your/TBREC/DIR/
>
>
export LANG=C
export LC_ALL=C
export TBRECBASEDIR=/Path/To/Your/TBREC/DIR/
  ################################################################
Deleted:
<
<
 
export INSTALLDIR=$TBRECBASEDIR/ilcsoft20170515
mkdir -p $INSTALLDIR
Line: 20 to 20
 cd $ILCSOFT svn co https://svnsrv.desy.de/public/ilctools/ilcinstall/branches/eutel-git ilcinstall_eutel-git
Deleted:
<
<
# modify following file to newer Eudaq and Eutelescope_version :
 
Added:
>
>
# modify following file to newer Eudaq and Eutelescope_version :
 
emacs -nw $ILCSOFT/ilcinstall_eutel-git/releases/v01-17-05/release-versions.py

# Eutelescope_version = "tags/v1.0"
# Eudaq_version = "tags/v1.5.1"

# fix root repository path

Revision 42017-05-26 - KojiNakamura

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

Reconstruction & Analysis instruction for the data including FE65p2

Line: 15 to 17
 cd $INSTALLDIR/ export ILCSOFT=$PWD/ILCSOFT mkdir -p $ILCSOFT
Changed:
<
<
cd $ILCSOFT
>
>
cd $ILCSOFT svn co https://svnsrv.desy.de/public/ilctools/ilcinstall/branches/eutel-git ilcinstall_eutel-git # modify following file to newer Eudaq and Eutelescope_version :
 
Deleted:
<
<
svn co https://svnsrv.desy.de/public/ilctools/ilcinstall/branches/eutel-git ilcinstall_eutel-git
# modify following file to newer Eudaq and Eutelescope_version :
 
emacs -nw $ILCSOFT/ilcinstall_eutel-git/releases/v01-17-05/release-versions.py

# Eutelescope_version = "tags/v1.0"
# Eudaq_version = "tags/v1.5.1"

# fix root repository path

Revision 32017-05-24 - KojiNakamura

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

Reconstruction & Analysis instruction for the data including FE65p2

Instruction : installation of normal EUTelescope

Changed:
<
<
################################################################
# you can set any TBRECBASEDIR as you want.
export TBRECBASEDIR=/Path/To/Your/TBREC/DIR/
################################################################
export INSTALLDIR=$TBRECBASEDIR/ilcsoft20170515
mkdir -p $INSTALLDIR
cd $INSTALLDIR/
export ILCSOFT=$PWD/ILCSOFT
mkdir -p $ILCSOFT
cd $ILCSOFT
svn co https://svnsrv.desy.de/public/ilctools/ilcinstall/branches/eutel-git ilcinstall_eutel-git

# modify following file to newer Eudaq and Eutelescope_version :
emacs -nw $ILCSOFT/ilcinstall_eutel-git/releases/v01-17-05/release-versions.py
# Eutelescope_version = "tags/v1.0"
# Eudaq_version = "tags/v1.5.1"

# fix root repository path
emacs -nw $ILCSOFT/ilcinstall_eutel-git/ilcsoft/root.py
# self.download.url = 'https://root.cern.ch/download/root_v%s.source.tar.gz' % self.version

source /afs/cern.ch/sw/lcg/contrib/gcc/4.8/x86_64-slc6/setup.sh
cd $ILCSOFT/ilcinstall_eutel-git
./ilcsoft-install -i examples/eutelescope/release-standalone.cfg

# take 1hr
# when it successfully finished make script for the next login
cat > $TBRECBASEDIR/setupITKTB.sh <<EOF
export TB_ANALYSIS=$TBRECBASEDIR/Reconstruction
export TB_RECDIR=$TB_ANALYSIS/TBReconstruction/TBReconstruction-trunk
export ILCSOFT=$TBRECBASEDIR/ilcsoft20170515/ILCSOFT
source /afs/cern.ch/sw/lcg/contrib/gcc/4.8/x86_64-slc6/setup.sh
source \$ILCSOFT/v01-17-05/Eutelescope/v1.0/build_env.sh
EOF

##
## better to exit once and lonin again
##

source $TBRECBASEDIR/setupITKTB.sh
export WORKDIR=$TBRECBASEDIR/work/run_cern_2016_nov_itk
mkdir -p $WORKDIR
>
>
################################################################
# you can set any TBRECBASEDIR as you want.
export TBRECBASEDIR=/Path/To/Your/TBREC/DIR/

################################################################

export INSTALLDIR=$TBRECBASEDIR/ilcsoft20170515
mkdir -p $INSTALLDIR
cd $INSTALLDIR/
export ILCSOFT=$PWD/ILCSOFT
mkdir -p $ILCSOFT
cd $ILCSOFT

svn co https://svnsrv.desy.de/public/ilctools/ilcinstall/branches/eutel-git ilcinstall_eutel-git
# modify following file to newer Eudaq and Eutelescope_version :

emacs -nw $ILCSOFT/ilcinstall_eutel-git/releases/v01-17-05/release-versions.py

# Eutelescope_version = "tags/v1.0"
# Eudaq_version = "tags/v1.5.1"

# fix root repository path

emacs -nw $ILCSOFT/ilcinstall_eutel-git/ilcsoft/root.py 

# self.download.url = 'https://root.cern.ch/download/root_v%s.source.tar.gz' % self.version

source /afs/cern.ch/sw/lcg/contrib/gcc/4.8/x86_64-slc6/setup.sh
cd $ILCSOFT/ilcinstall_eutel-git
./ilcsoft-install -i examples/eutelescope/release-standalone.cfg

# take 1hr
# when it successfully finished make script for the next login

cat > $TBRECBASEDIR/setupITKTB.sh <<EOF
export TB_ANALYSIS=$TBRECBASEDIR/Reconstruction
export TB_RECDIR=$TB_ANALYSIS/TBReconstruction/TBReconstruction-trunk
export ILCSOFT=$TBRECBASEDIR/ilcsoft20170515/ILCSOFT
source /afs/cern.ch/sw/lcg/contrib/gcc/4.8/x86_64-slc6/setup.sh
source \$ILCSOFT/v01-17-05/Eutelescope/v1.0/build_env.sh
EOF


##
## better to exit once and lonin again
## (in case you loged out once : do export TBRECBASEDIR=/Path/To/Your/TBREC/DIR/ again)

source $TBRECBASEDIR/setupITKTB.sh
export WORKDIR=$TBRECBASEDIR/work/run_cern_2016_nov_itk
mkdir -p $WORKDIR
  See http://atlaspc5.kek.jp/do/view/Main/HowToInstallEUTelescope#x5_B9F_Reconstruction for test run.

YARR Converter and necessary geo files for FE65p2 Reconstruction

Changed:
<
<

# copy files for source files
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/external/eudaq/v1.5.1/main/lib/plugins/YARRConverterPlugin.cc $ILCSOFT/v01-17-05/Eutelescope/v1.0/external/eudaq/v1.5.1/main/lib/plugins/
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/include/FE65p2.h $ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/include/
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/src/FE65p2.cc $ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/src
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/include/FEI4FourChipKEKTypeB.h $ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/include/
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/src/FEI4FourChipKEKTypeB.cc $ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/src

# copy config files
cd $WORKDIR
tar -zxvf /afs/cern.ch/work/k/kojin/public/ITKTB/work/run_cern_2016_nov_itk/config.tar.gz

# change some hard coding histogram range :
emacs -nw $ILCSOFT/v01-17-05/Eutelescope/v1.0/src/EUTelMille.cc
### l.3072-3074
# const int NBin = 600;
# const double Min = -300.;
# const double Max = 300.;

emacs -nw $ILCSOFT/v01-17-05/Eutelescope/v1.0/src/EUTelPreAlignment.cc
### l.129 133
# AIDA::IHistogram1D * histo1Da = AIDAProcessor::histogramFactory(this)->createHistogram1D( (basePath + tempHistoName).c_str(), 100 , -20., 20.);
# AIDA::IHistogram1D * histo1Db = AIDAProcessor::histogramFactory(this)->createHistogram1D( (basePath + tempHistoName).c_str(), 100 , -20., 20.);

## bit odd but this is necessary way to compile...
source compile.sh
>
>

# copy files for source files
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/external/eudaq/v1.5.1/main/lib/plugins/YARRConverterPlugin.cc $ILCSOFT/v01-17-05/Eutelescope/v1.0/external/eudaq/v1.5.1/main/lib/plugins/
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/include/FE65p2.h $ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/include/
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/src/FE65p2.cc $ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/src
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/include/FEI4FourChipKEKTypeB.h $ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/include/
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/src/FEI4FourChipKEKTypeB.cc   $ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/src


# copy config files

cd $WORKDIR
tar -zxvf /afs/cern.ch/work/k/kojin/public/ITKTB/work/run_cern_2016_nov_itk/config.tar.gz

# change some hard coding histogram range :

emacs -nw $ILCSOFT/v01-17-05/Eutelescope/v1.0/src/EUTelMille.cc

### l.3072-3074
# const int NBin = 600;
# const double Min = -300.;
# const double Max = 300.;

emacs -nw $ILCSOFT/v01-17-05/Eutelescope/v1.0/src/EUTelPreAlignment.cc

### l.129 133
# AIDA::IHistogram1D * histo1Da = AIDAProcessor::histogramFactory(this)->createHistogram1D( (basePath + tempHistoName).c_str(), 100 , -20., 20.);
# AIDA::IHistogram1D * histo1Db = AIDAProcessor::histogramFactory(this)->createHistogram1D( (basePath + tempHistoName).c_str(), 100 , -20., 20.);

## bit odd but this is necessary way to compile...

source compile.sh
  ## change your config_fe65p2.cfg files to have right BasePath

BasePath = $TBRECBASEDIR/work/run_%(TestBeamDate)s
## note $TBRECBASEDIR env have to be extracted since it doesn't work in the config file

Changed:
<
<
## run converter as the first try
./run.sh -c config_fe65.cfg -t 10000 -r 8174

# -t option correspond to the step executing
# converter/clustering/hitmaker/align/fitter
#(e.g)
# 10000 : converter only
# 11000 : converter + clustering
#
>
>
## run converter as the first try
./run.sh -c config_fe65.cfg -t 11111 -r 8174 
 
Changed:
<
<


TBmon2 Analysis

>
>
# -t option correspond to the step executing
# converter/clustering/hitmaker/align/fitter
#(e.g)
# 10000 : converter only
# 11000 : converter + clustering
#

TBmon2 Analysis

  You can find Ntuple.root in the working directory.

This correspond to the tbtrack file (Ntuple of TBmon2 input)

Changed:
<
<
In case you skipped Reconstruction please use following file.
>
>
In case you skipped Reconstruction please use following file instead.
  /home/kojin/work/PPSTB/PPSdata/v17/cern_2016_nov_itk/tbtrack/tbtrack008174.root

Revision 22017-05-23 - KojiNakamura

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

Reconstruction & Analysis instruction for the data including FE65p2

Added:
>
>
 

Instruction : installation of normal EUTelescope

################################################################
# you can set any TBRECBASEDIR as you want.
export TBRECBASEDIR=/Path/To/Your/TBREC/DIR/
################################################################
export INSTALLDIR=$TBRECBASEDIR/ilcsoft20170515
mkdir -p $INSTALLDIR
cd $INSTALLDIR/
export ILCSOFT=$PWD/ILCSOFT
mkdir -p $ILCSOFT
cd $ILCSOFT
svn co https://svnsrv.desy.de/public/ilctools/ilcinstall/branches/eutel-git ilcinstall_eutel-git

# modify following file to newer Eudaq and Eutelescope_version :
emacs -nw $ILCSOFT/ilcinstall_eutel-git/releases/v01-17-05/release-versions.py
# Eutelescope_version = "tags/v1.0"
# Eudaq_version = "tags/v1.5.1"

# fix root repository path
emacs -nw $ILCSOFT/ilcinstall_eutel-git/ilcsoft/root.py
# self.download.url = 'https://root.cern.ch/download/root_v%s.source.tar.gz' % self.version

source /afs/cern.ch/sw/lcg/contrib/gcc/4.8/x86_64-slc6/setup.sh
cd $ILCSOFT/ilcinstall_eutel-git
./ilcsoft-install -i examples/eutelescope/release-standalone.cfg

# take 1hr
# when it successfully finished make script for the next login
cat > $TBRECBASEDIR/setupITKTB.sh <<EOF
export TB_ANALYSIS=$TBRECBASEDIR/Reconstruction
export TB_RECDIR=$TB_ANALYSIS/TBReconstruction/TBReconstruction-trunk
export ILCSOFT=$TBRECBASEDIR/ilcsoft20170515/ILCSOFT
source /afs/cern.ch/sw/lcg/contrib/gcc/4.8/x86_64-slc6/setup.sh
source \$ILCSOFT/v01-17-05/Eutelescope/v1.0/build_env.sh
EOF

##
## better to exit once and lonin again
##

source $TBRECBASEDIR/setupITKTB.sh
export WORKDIR=$TBRECBASEDIR/work/run_cern_2016_nov_itk
mkdir -p $WORKDIR

Line: 15 to 16
  BasePath = $TBRECBASEDIR/work/run_%(TestBeamDate)s
## note $TBRECBASEDIR env have to be extracted since it doesn't work in the config file
Changed:
<
<
## run converter as the first try
./run.sh -c config_fe65.cfg -t 10000 -r 8174

# -t option correspond to the step executing
# converter/clustering/hitmaker/align/fitter
#(e.g)
# 10000 : converter only
# 11000 : converter + clustering
#


>
>
## run converter as the first try
./run.sh -c config_fe65.cfg -t 10000 -r 8174

# -t option correspond to the step executing
# converter/clustering/hitmaker/align/fitter
#(e.g)
# 10000 : converter only
# 11000 : converter + clustering
#
 
Changed:
<
<
-- Koji Nakamura - 2017-05-22
>
>


TBmon2 Analysis

You can find Ntuple.root in the working directory.

This correspond to the tbtrack file (Ntuple of TBmon2 input)

 
Changed:
<
<

Comments

>
>
In case you skipped Reconstruction please use following file.
 
Changed:
<
<
<--/commentPlugin-->
>
>
/home/kojin/work/PPSTB/PPSdata/v17/cern_2016_nov_itk/tbtrack/tbtrack008174.root

-- Koji Nakamura - 2017-05-22

Revision 12017-05-22 - KojiNakamura

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

Reconstruction & Analysis instruction for the data including FE65p2

Instruction : installation of normal EUTelescope

################################################################
# you can set any TBRECBASEDIR as you want.
export TBRECBASEDIR=/Path/To/Your/TBREC/DIR/
################################################################
export INSTALLDIR=$TBRECBASEDIR/ilcsoft20170515
mkdir -p $INSTALLDIR
cd $INSTALLDIR/
export ILCSOFT=$PWD/ILCSOFT
mkdir -p $ILCSOFT
cd $ILCSOFT
svn co https://svnsrv.desy.de/public/ilctools/ilcinstall/branches/eutel-git ilcinstall_eutel-git

# modify following file to newer Eudaq and Eutelescope_version :
emacs -nw $ILCSOFT/ilcinstall_eutel-git/releases/v01-17-05/release-versions.py
# Eutelescope_version = "tags/v1.0"
# Eudaq_version = "tags/v1.5.1"

# fix root repository path
emacs -nw $ILCSOFT/ilcinstall_eutel-git/ilcsoft/root.py
# self.download.url = 'https://root.cern.ch/download/root_v%s.source.tar.gz' % self.version

source /afs/cern.ch/sw/lcg/contrib/gcc/4.8/x86_64-slc6/setup.sh
cd $ILCSOFT/ilcinstall_eutel-git
./ilcsoft-install -i examples/eutelescope/release-standalone.cfg

# take 1hr
# when it successfully finished make script for the next login
cat > $TBRECBASEDIR/setupITKTB.sh <<EOF
export TB_ANALYSIS=$TBRECBASEDIR/Reconstruction
export TB_RECDIR=$TB_ANALYSIS/TBReconstruction/TBReconstruction-trunk
export ILCSOFT=$TBRECBASEDIR/ilcsoft20170515/ILCSOFT
source /afs/cern.ch/sw/lcg/contrib/gcc/4.8/x86_64-slc6/setup.sh
source \$ILCSOFT/v01-17-05/Eutelescope/v1.0/build_env.sh
EOF

##
## better to exit once and lonin again
##

source $TBRECBASEDIR/setupITKTB.sh
export WORKDIR=$TBRECBASEDIR/work/run_cern_2016_nov_itk
mkdir -p $WORKDIR

See http://atlaspc5.kek.jp/do/view/Main/HowToInstallEUTelescope#x5_B9F_Reconstruction for test run.

YARR Converter and necessary geo files for FE65p2 Reconstruction


# copy files for source files
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/external/eudaq/v1.5.1/main/lib/plugins/YARRConverterPlugin.cc $ILCSOFT/v01-17-05/Eutelescope/v1.0/external/eudaq/v1.5.1/main/lib/plugins/
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/include/FE65p2.h $ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/include/
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/src/FE65p2.cc $ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/src
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/include/FEI4FourChipKEKTypeB.h $ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/include/
cp /afs/cern.ch/work/k/kojin/public/ITKTB/ilcsoft20170515/ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/src/FEI4FourChipKEKTypeB.cc $ILCSOFT/v01-17-05/Eutelescope/v1.0/pixgeo/src

# copy config files
cd $WORKDIR
tar -zxvf /afs/cern.ch/work/k/kojin/public/ITKTB/work/run_cern_2016_nov_itk/config.tar.gz

# change some hard coding histogram range :
emacs -nw $ILCSOFT/v01-17-05/Eutelescope/v1.0/src/EUTelMille.cc
### l.3072-3074
# const int NBin = 600;
# const double Min = -300.;
# const double Max = 300.;

emacs -nw $ILCSOFT/v01-17-05/Eutelescope/v1.0/src/EUTelPreAlignment.cc
### l.129 133
# AIDA::IHistogram1D * histo1Da = AIDAProcessor::histogramFactory(this)->createHistogram1D( (basePath + tempHistoName).c_str(), 100 , -20., 20.);
# AIDA::IHistogram1D * histo1Db = AIDAProcessor::histogramFactory(this)->createHistogram1D( (basePath + tempHistoName).c_str(), 100 , -20., 20.);

## bit odd but this is necessary way to compile...
source compile.sh

## change your config_fe65p2.cfg files to have right BasePath

BasePath = $TBRECBASEDIR/work/run_%(TestBeamDate)s
## note $TBRECBASEDIR env have to be extracted since it doesn't work in the config file

## run converter as the first try
./run.sh -c config_fe65.cfg -t 10000 -r 8174

# -t option correspond to the step executing
# converter/clustering/hitmaker/align/fitter
#(e.g)
# 10000 : converter only
# 11000 : converter + clustering
#


-- Koji Nakamura - 2017-05-22

Comments

<--/commentPlugin-->
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback