Reconstruction & Analysis instruction for the data including RD53A


Files for RD53A Analysis

For YARR

YarrConverterPlugin.cc[ YarrConverterPlugin.cc]->find at YarrEudaqProducer/YarrConverterPlugin.cc after "git clone https://gitlab.cern.ch/YARR/YarrEudaqProducer.git"

Path:Eutelescope/master/external/eudaq/v1.x-dev2/main/lib/plugins/YarrConverterPlugin.cc

RD53A.cc[ RD53A.cc]

Path:Eutelescope/master/geometries/src/RD53A.cc

RD53A.h[ RD53A.h]

Path:Eutelescope/master/geometries/include/RD53A.h

For bdaq53

RD53A_50x50_Single.cc[ RD53A_50x50_Single.cc]

Path:Eutelescope/master/geometries/src/RD53A_50x50_Single.cc

RD53A_50x50_Single.h[ RD53A_50x50_Single.h]

Path:Eutelescope/master/geometries/include/RD53A_50x50_Single.h

The steering files and config.cfg are here.

Instruction : installation of normal EUTelescope

No bdaq53

export LANG=C
export LC_ALL=C
export TBRECBASEDIR=/Path/To/Your/TBREC/DIR/
export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
alias setupATLAS='source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh'
setupATLAS --quiet
localSetupROOT
lsetup cmake
lsetup git
export ILCSOFT=/path/where/you/want/to/install
cd $ILCSOFT
git clone --branch dev-cpp14 https://github.com/terzo/iLCInstall.git
cd $ILCSOFT/iLCInstall
./ilcsoft-install -i examples/eutelescope/release-atlascvmfs-lxplus.cfg

include bdaq53

export LANG=C
export LC_ALL=C
export TBRECBASEDIR=/Path/To/Your/TBREC/DIR/
export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
alias setupATLAS='source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh'
setupATLAS --quiet
localSetupROOT
lsetup cmake
lsetup git
export ILCSOFT=/path/where/you/want/to/install
cd $ILCSOFT
git clone https://gitlab.cern.ch/kojin/iLCInstall.git
cd $ILCSOFT/iLCInstall
#to analysis bdaq53 data, modify "releases/v01-19/release-versions.py" to select v1.x-dev2 tag for EUDAQ: Eudaq_version = "tags/v1.x-dev2"
./ilcsoft-install -i examples/eutelescope/release-atlascvmfs-lxplus.cfg

※some problem has been remained for this way

export LANG=C
export LC_ALL=C
export TBRECBASEDIR=/Path/To/Your/TBREC/DIR/
export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
alias setupATLAS='source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh'
setupATLAS --quiet
localSetupROOT
lsetup "cmake 3.10.3"
lsetup python (optional/redundant)
export ILCSOFT=/path/where/you/want/to/install
cd $ILCSOFT
git clone -b dev-findpython https://github.com/eutelescope/ilcinstall $ILCSOFT/iLCInstall
cd $ILCSOFT/iLCInstall


#Change CMake_path in "examples/eutelescope/release-atlascvmfs-lxplus.cfg"


#CMake_path = "/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Cmake/3.10.0/Linux-x86_64/"


#3.10.0-> 3.10.3


#to analysis bdaq53 data, modify "releases/v01-19/release-versions.py" to select v1.x-dev tag for EUDAQ: Eudaq_version = "branch/v1.x-dev"

./ilcsoft-install -i examples/eutelescope/release-atlascvmfs-lxplus.cfg


#As expected the installation will fail for this reason. Modify $ILCSOFT/v01-19-02/Eutelescope/master/eutelescope/libraries/include/EUTELESCOPE.h by hand to add kRD53A = 109 to EUtelDetectorType.

If run into error during installation: Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)

Run:

export Protobuf_INCLUDE_DIR=/usr/lib/x86_64-redhat-linux5E


# take 20min
# when it successfully finished make script like below for the next login

cat > setupITKTB.sh <<EOF
export TB_ANALYSIS=$TBRECBASEDIR/Reconstruction
export TB_RECDIR=$TB_ANALYSIS/TBReconstruction/TBReconstruction-trunk
export ILCSOFT=/path/where/you/installed
export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
alias setupATLAS='source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh'
setupATLAS --quiet
localSetupROOT && lsetup cmake
source $ILCSOFT/v01-19-02/Eutelescope/master/build_env.sh
EOF

See HowToInstallEUTelescope#x5_B9F_Reconstruction for test run.(Japanese)

some analysis information

some analysis information is written below, you can modify your config.cfg, gear.xml, RD53A.cc ...etc. if needed!

Converter

2018 July

telescope ID : 1,2,3,4,5,6 (not 0 ~ 5)

SINTEF1(norway) ID : 21

SINTEF3(norway) ID : 22

RD53A(YARR) ID : 13

RD53A(bdaq53) ID : 30

KEK94(reference) ID : 20

2018 Oct

H6A

telescope : 0~5

RD53A(YARR) : 13

KEK RD53A(bdaq53) : 40

UK RD53A(bdaq53) : 50

KEK82(reference) : 21

H6B

telescope : 1~6

RD53A(YARR) : 13

RD53A(bdaq53) : 50

KEK142(FEI4 Flex) ID : 21

KEK132(FEI4 Flex) ID : 22

KEK82(reference) ID : 20

Clustering

centrerow ->Divide("rd53acentrepixel", 1, 400, 0, 1, 0, "N"); (in RD53A.cc)

more information about TGeoVolume::Divide is here.

Hitmaker

"siplanesID" in gear.xml should be the same as "geoID"


!!CAUTION!! This information may not be suitable for RD53A!(copy from FE65)

# change some hard coding histogram range :

emacs -nw $ILCSOFT/v01-19-02/EUTelescope/master/processors/src/EUTelMille.cc

### l.3204-3206
# const int NBin = 600;
# const double Min = -300.;
# const double Max = 300.;

emacs -nw $ILCSOFT/v01-19-02/EUTelescope/master/processors/src/EUTelPreAlignment.cc

### l.177 183

# 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.);


Pre-Alignment

If pre-align does not work, please check the ID of telescope.

If the ID is 1 to 5,Changing the reference plane of pre-Alignment.

emacs -nw /steering-templates/hitmaker-tmp.xml

# <parameter name = "FixedPlane" type = "int" value = "1" />

-- Atlasj Silicon - 2018-07-19

Comments


Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatcc RD53A.cc r2 r1 manage 2.5 K 2018-11-05 - 05:34 AtlasjSilicon  
Header fileh RD53A.h r1 manage 0.9 K 2018-07-20 - 14:02 AtlasjSilicon  
Unknown file formatcc RD53A_50x50_Single.cc r1 manage 2.3 K 2018-08-08 - 07:19 AtlasjSilicon  
Header fileh RD53A_50x50_Single.h r1 manage 0.9 K 2018-08-08 - 07:19 AtlasjSilicon  
Unknown file formatcc YarrConverterPlugin.cc r1 manage 9.5 K 2018-07-20 - 14:02 AtlasjSilicon  
Edit | Attach | Watch | Print version | History: r20 < r19 < r18 < r17 < r16 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r20 - 2018-11-05 - AtlasjSilicon
 
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