Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Physics_Val_TF/data/getFiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ do
do
startEvent=$(($i*$nEvents))

echo "${nEvents} ${DST} ${directory} ${startEvent}" >> ${outFile}
#echo "${nEvents} ${DST} ${startEvent}" >> ${outFile}
#echo "${nEvents} ${DST} ${directory} ${startEvent}" >> ${outFile}
echo "${nEvents} ${DST} ${startEvent}" >> ${outFile}

done

Expand Down
6 changes: 0 additions & 6 deletions Physics_Val_TF/data/macro/Fun4All_HF.C
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#include <trackingqa/VertexQA.h>
#include <trackreco/PHActsTrackProjection.h>

#include <caloreco/CaloGeomMapping.h>
#include <caloreco/RawClusterBuilderTemplate.h>

#include <kfparticle_sphenix/KFParticle_sPHENIX.h>
Expand Down Expand Up @@ -470,11 +469,6 @@ void Fun4All_HF(const int nEvents = 500,
}
se->registerSubsystem(projection);

CaloGeomMapping *cgm = new CaloGeomMapping();
cgm->set_detector_name("CEMC");
cgm->set_UseDetailedGeometry(true);
se->registerSubsystem(cgm);

//////////////////
// Clusters
std::cout << "Building clusters" << std::endl;
Expand Down
10 changes: 5 additions & 5 deletions Physics_Val_TF/data/macro/HF_selections.C
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ namespace HeavyFlavorReco
//Used
float lf_cuts_setMinDIRA{0.99};
float lf_cuts_setDecayLengthRange_min{0.05};
float lf_cuts_setMinimumTrackIP_XY{0.05};
float lf_cuts_setMinimumTrackPV_DCA_XY{0.05};
float lf_cuts_setMinMVTXhits{1};
float lf_cuts_setMinINTThits{1};
float lf_cuts_setMinTPChits{20};
float lf_cuts_setMaximumVertexchi2nDOF{20};
float lf_cuts_setMaximumDaughterDCA{0.5};

//Unused
float lf_cuts_setMotherIPchi2{FLT_MAX};
float lf_cuts_setMotherPV_DCA_StdDev{FLT_MAX};
float lf_cuts_setFlightDistancechi2{-1.};
float lf_cuts_setMinDIRA_XY{-1.1};
float lf_cuts_setDecayLengthRange_max{FLT_MAX};
Expand All @@ -101,9 +101,9 @@ namespace HeavyFlavorReco
float lf_cuts_setMinDecayLengthSignificance{-1e5};
float lf_cuts_setMinDecayLengthSignificance_XY{-1e5};
float lf_cuts_setMinimumTrackPT{0.0};
float lf_cuts_setMinimumTrackIPchi2{-1.};
float lf_cuts_setMinimumTrackIPchi2_XY{-1.};
float lf_cuts_setMinimumTrackIP{-1.};
float lf_cuts_setMinimumTrackPV_DCA{-1.};
float lf_cuts_setMinimumTrackPV_DCA_StdDev{-1.};
float lf_cuts_setMinimumTrackPV_DCA_StdDev_XY{-1.};
float lf_cuts_setMaximumTrackchi2nDOF{300.};
float lf_cuts_setMaximumDaughterDCA_XY{1};
float lf_cuts_setMotherPT{0};
Expand Down
20 changes: 10 additions & 10 deletions Physics_Val_TF/data/macro/runHFreco.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ export LOGNAME=${USER}
export HOME=/sphenix/u/${LOGNAME}

# uncomment for local development
export SPHENIX=${HOME}/sPHENIX
export MYINSTALL=$SPHENIX/install
export LD_LIBRARY_PATH=$MYINSTALL/lib:$LD_LIBRARY_PATH
export ROOT_INCLUDE_PATH=$MYINSTALL/include:$ROOT_INCLUDE_PATH
export PATH="$HOME/.local/bin:$PATH"
#export SPHENIX=${HOME}/sPHENIX
#export MYINSTALL=$SPHENIX/install
#export LD_LIBRARY_PATH=$MYINSTALL/lib:$LD_LIBRARY_PATH
#export ROOT_INCLUDE_PATH=$MYINSTALL/include:$ROOT_INCLUDE_PATH
#export PATH="$HOME/.local/bin:$PATH"

source /opt/sphenix/core/bin/setup_local.sh $MYINSTALL
#source /opt/sphenix/core/bin/setup_local.sh $MYINSTALL

useScratch=false

if ${useScratch}=true; then
if [[ "${useScratch}" == true ]]; then
this_script=$BASH_SOURCE
this_script=`readlink -f $this_script`
this_dir=`dirname $this_script`
Expand All @@ -36,10 +36,10 @@ fi

nEvents=$1
inDst=$2
inDir=$3
outDir=$3
nSkip=$4

if ${useScratch}=true; then
if [[ "${useScratch}" == true ]]; then
if [[ "${inDst}" == *.root ]]; then
getinputfiles.pl $inDst
elif [[ "${inDst}" == *.list ]]; then
Expand All @@ -51,5 +51,5 @@ fi
#printenv

echo running: runHFreco.sh $*
root.exe -q -b Fun4All_HF.C\(${nEvents},\"${inDst}\",\"${inDir}\",${nSkip}\)
root.exe -q -b Fun4All_HF.C\(${nEvents},\"${inDst}\",\"${outDir}\",${nSkip}\)
echo Script done