From cf53c6c00249b229b44d20e06083130923247da0 Mon Sep 17 00:00:00 2001 From: Andreas Loeschcke Centeno Date: Thu, 26 May 2022 12:19:06 +0100 Subject: [PATCH] Fixing small problem in install_standalone.sh --- analyzer/GMC/geant4MC-IDEA-fit.xml_init | 2 +- analyzer/GMC/geant4MC-IDEA.xml | 603 ++++++++++++++++++++++++ analyzer/GMC/geant4MC-IDEA.xml_init | 2 +- analyzer/envGMC.sh | 8 +- install_standalone.sh | 2 +- simulation/env.sh | 6 +- 6 files changed, 613 insertions(+), 10 deletions(-) diff --git a/analyzer/GMC/geant4MC-IDEA-fit.xml_init b/analyzer/GMC/geant4MC-IDEA-fit.xml_init index bd40a7b..fac54bf 100755 --- a/analyzer/GMC/geant4MC-IDEA-fit.xml_init +++ b/analyzer/GMC/geant4MC-IDEA-fit.xml_init @@ -191,7 +191,7 @@ GSrvAddFold - /its/home/iv41/workarea/FullIDEASim_superdev/DriftChamberPLUSVertex/simulation/g4GMC/config + path_to_simulation diff --git a/analyzer/GMC/geant4MC-IDEA.xml b/analyzer/GMC/geant4MC-IDEA.xml index e69de29..fcb7ae6 100755 --- a/analyzer/GMC/geant4MC-IDEA.xml +++ b/analyzer/GMC/geant4MC-IDEA.xml @@ -0,0 +1,603 @@ + + + + + + + + 0 + + + + + offline + rome + + + + + + 1 + + + + + + + Analyzer + SYSTEM + false + + + + ./ + ./ + RECREATE + false + + + + + normal + 20 + + warning + 2048 + 1 + false + false + false + false + + + + false + false + false + false + false + + + + false + 9090 + + + + + + false + 100000000 + + MCData + true + false + false + 1 + ZLIB + 300000000 + -30000000 + -1 + 0 + MCData#.root + + false + + MCTracks + true + true + + + MCDCStep + true + true + + + MCSVXStep + true + true + + + MCPSHWStep + true + true + + + MCPHCVStep + true + true + + + MCPHCVRadStep + true + true + + + + + MCHits + false + true + true + 1 + ZLIB + 300000000 + -30000000 + -1 + 0 + MCHits#.root + + false + + MCTracks + true + true + + + DCHits + true + true + + + SVXHits + true + true + + + PSHWHits + true + true + + + PHCVHits + true + true + + + + + RecoData + false + false + false + 1 + ZLIB + 300000000 + -30000000 + -1 + 0 + + + false + + RecoTracks + true + true + + + + + + + + GeomSrvType + CDCH + + + + GSrvAddFile + geom_IDEA.txt + + + + GSrvAddFold + /its/home/al723/ideafullsim/DriftChamberPLUSVertex/simulation/g4GMC/config + + + + GeomGDMLfile + g4-IDEA_reco.gdml + + + + Bz + 2 + + + + GasMixture + 90:10 + + + + tube_radius + 5 + + + + tube_lenght + 250 + + + + lambda + 0.46 + + + + xBeam + 0 + + + + yBeamSpot + 10 + + + + zBeam + -60 + + + + beamSpread + 0.02 + + + + central_tube + 5 + + + + CablingFile + cabling.dat + + + + TimeOffsetsFile + time_offsets.dat + + + + AlignmentFile + alignment.dat + + + + + + + false + + + + + + + true + + + false + false + 0 + + 0 + + + + + + + + + + + + GMCMain + true + + + WriteODBXML + true + + + + EventSelectionText + + + InputFileName + + + + + + + ReadMCData + false + + + + ReadMCDataCDCH + true + + + SimulateClusters + false + + + + HitEnergyCut + 0 + + + + + ReadMCDataSVX + true + + + NLayers + 1 + + + + RODeadTime + 0 + + + + HitEnergyCut + 0 + + + + + ReadMCDataPSHW + true + + + NLayers + 1 + + + + RODeadTime + 0 + + + + HitEnergyCut + 0 + + + + + ReadMCDataPHCV + false + + + NShells + 1 + + + + PHELPerkeV + 0 + + + + SpaceResolX + 0 + + + + SpaceResolY + 0 + + + + SpaceResolZ + 0 + + + + HitEnergyCut + 0 + + + + + GenerateWaveforms + false + + + ResistRR + 50 + + + + mobility + 10.4 + + + + tauRumpUp + 0.87 + + + + tauRumpDown + 0.56 + + + + tauRumpDown2 + 6.96 + + + + FractionMixSign + 0.45 + + + + BinTimeWidth + 0.4 + + + + TimeWindow + 1000 + + + + HVTube + 1500 + + + + GasGain + 1e+06 + + + + NoiseOn + true + + + + SignalNoiseRatio + 7 + + + + DigitizationOn + true + + + + ADCResolution + 12 + + + + ADCFullRange + 1 + + + + FrontEndGain + 10 + + + + + WaveformAnalysis + false + + + + TrackFit + false + + + + TrackFitCDCH + false + + + SigmaVtx + -0.0005 + + + + SigmaPxlVtx + 0.0005 + + + + SigmaPxlPreshower + 0.002 + + + + SigmaRPhi + 0.01 + + + + DebugLevel + 2 + + + + + PhotonConvStudy + false + + + HitEnergyCut + 0 + + + + DebugLevel + 0 + + + + FitPairs + false + + + + FitOnlyFst + false + + + + ExtrapolToDVrt + false + + + + SigmaRPhi + 0.01 + + + + sigmaVtime + 0.5 + + + + sigmaDVertX + 0.03 + + + + sigmaDVertY + 0.03 + + + + sigmaDVertZ + 1 + + + + + + + + localhost + 0 + + + + diff --git a/analyzer/GMC/geant4MC-IDEA.xml_init b/analyzer/GMC/geant4MC-IDEA.xml_init index a1ac1a6..f5e37ce 100755 --- a/analyzer/GMC/geant4MC-IDEA.xml_init +++ b/analyzer/GMC/geant4MC-IDEA.xml_init @@ -191,7 +191,7 @@ GSrvAddFold - /its/home/iv41/workarea/FullIDEASim_superdev/DriftChamberPLUSVertex/simulation/g4GMC/config + path_to_simulation diff --git a/analyzer/envGMC.sh b/analyzer/envGMC.sh index d1539ef..27a6df5 100755 --- a/analyzer/envGMC.sh +++ b/analyzer/envGMC.sh @@ -7,11 +7,11 @@ # modified for porting to FCCSW/Key4Hep by lavezzi (2020) -export PRJBASE="/its/home/iv41/workarea/FullIDEASim_superdev/DriftChamberPLUSVertex" +export PRJBASE="/its/home/al723/ideafullsim/DriftChamberPLUSVertex" export PATH=$PRJBASE/analyzer/GMC:$PATH # genfit2 -export GENFIT2SYS=/cvmfs/sw.hsf.org/spackages/linux-centos7-x86_64/gcc-8.3.0/genfit-02-00-00-ymoc6wcmzk2lyf637vkxylbyunhwcsfo +export GENFIT2SYS=/cvmfs/sw.hsf.org/spackages4/genfit/02-00-00/x86_64-centos7-gcc8.3.0-opt/l7zbfli export LD_LIBRARY_PATH=${GENFIT2SYS}/lib64:${LD_LIBRARY_PATH} export ROOT_INCLUDE_PATH=${ROOT_INCLUDE_PATH}:${GENFIT2SYS}/include echo "GENFIT2SYS is set to "${GENFIT2SYS} @@ -20,7 +20,7 @@ echo "GENFIT2SYS is set to "${GENFIT2SYS} # rome -export ROMESYS=/its/home/iv41/workarea/FullIDEASim_superdev/LOCAL/ROME/rome +export ROMESYS=/its/home/al723/ideafullsim/LOCAL/ROME/rome export PATH=$ROMESYS/bin:${PATH} export LIBROME=yes echo "ROME is set to "${ROMESYS} @@ -31,7 +31,7 @@ export LD_LIBRARY_PATH=${GMCDIR}/obj:${LD_LIBRARY_PATH} echo "GMCDIR is set to "${GMCDIR} #root -export ROOTSYS=/cvmfs/sw.hsf.org/spackages/linux-centos7-x86_64/gcc-8.3.0/root-6.24.00-u7xb6dwwdgx7v3xbdg37tsfvdufauaef +export ROOTSYS=/cvmfs/sw.hsf.org/spackages4/root/6.24.06/x86_64-centos7-gcc8.3.0-opt/wgcjycj export ROT #zlib diff --git a/install_standalone.sh b/install_standalone.sh index 5fa8354..b3db9a9 100644 --- a/install_standalone.sh +++ b/install_standalone.sh @@ -114,7 +114,7 @@ cp /afs/cern.ch/work/l/llavezzi/public/geometry/* . string1="path_to_simulation" string2="$STANDALONE_INSTALL_DIR/DriftChamberPLUSVertex/simulation/g4GMC/config" sed "s|$string1|$string2|g" ./geant4MC-IDEA.xml_init > geant4MC-IDEA.xml -sed "s|$string1|$string2|g" ./geant4MC-IDEA-fit.xml_ini > geant4MC-IDEA-fit.xml +sed "s|$string1|$string2|g" ./geant4MC-IDEA-fit.xml_init > geant4MC-IDEA-fit.xml cd $STANDALONE_INSTALL_DIR echo "finished installation in $STANDALONE_INSTALL_DIR" diff --git a/simulation/env.sh b/simulation/env.sh index 2987a5e..dc86b22 100755 --- a/simulation/env.sh +++ b/simulation/env.sh @@ -2,9 +2,9 @@ # echo "sourcing the latext key4hep stack" -# -export PRJBASE="/afs/cern.ch/work/w/welmeten/public/IDEA_calo_Key4HEP/DriftChamberPLUSVertex" +# +export PRJBASE="/its/home/al723/ideafullsim/DriftChamberPLUSVertex" echo "PRJBASE set $PRJBASE" source ${PRJBASE}/key4hep_setup.sh @@ -13,7 +13,7 @@ source ${PRJBASE}/key4hep_setup.sh for path in ${CMAKE_PREFIX_PATH//:/ }; do # GEANT4 -------------------------------------- - if grep -q '/geant4-10.7.1' <<< "$path" ; then + if grep -q '/geant4/[0-9]' <<< "$path" ; then echo "$path" export G4BASE=$path export G4INSTALL=$G4BASE/share/Geant4-10.7.1/geant4make