Skip to content

Hit Classification for trackless

Roman Kusters requested to merge rkusters/athena:addingHitVars into main

adding code needed to run classification for HitClassification
aim: label hits as used/not used in track reconstruction and also ElementLink to track

  1. go from reconstructed tracks to hits
  2. save hit identifier in map
  3. loop over all hits in Pixel/SCTCluster and compare id with id in map
  4. label hit as used/not used
  5. for hits used: save vector(ElementLink) to reconstructed track

size w/o new variables size with new variables % change
16598814 16708045 0.6%

comparison was done on 100 Events with a ttbar sample mc16_13TeV


process to run the code

cmake -DATLAS_PACKAGE_FILTER_FILE=../package_filters.txt ../athena/Projects/WorkDir<br>
make -j <br>
source x86_64-centos7-gcc11-opt/setup.sh   <br>
cmake -DATLAS_PACKAGE_FILTER_FILE=../package_filters.txt ../athena/Projects/WorkDir<br>
make -j <br>
source x86_64-centos7-gcc11-opt/setup.sh   <br>
Reco_tf.py \
--inputHITSFile="/eos/home-r/rkusters/FTAG/HITS_rucio/user.rkusters.mc16_13TeV.410470.PhPy8EG_A14_ttbar_hdamp258p75_nonallhad.simul.HITS.e6337_s3681_tid25836557_00_der1691592709/HITS.25836557._001964.pool.root.1" \
--asetup "RDOtoRDOTrigger:Athena,21.0.20.12" \
--maxEvents="100" \
--multithreaded="True" \
--postInclude "default:PyJobTransforms/UseFrontier.py" \
--preExec "all:ConfigFlags.BTagging.Trackless = True;ConfigFlags.BTagging.Trackless_JetPtMin = 20" \
--preInclude "all:Campaigns/MC20a.py" \
--skipEvents="2000" \
--autoConfiguration="everything" \
--conditionsTag "default:OFLCOND-MC16-SDR-RUN2-09" "RDOtoRDOTrigger:OFLCOND-MC16-SDR-RUN2-08-02a" \
--geometryVersion="default:ATLAS-R2-2016-01-00-01" \
--runNumber="410470" \
--digiSeedOffset1="5" \
--digiSeedOffset2="5" \
--inputRDO_BKGFile="/eos/home-r/rkusters/FTAG/RDO_rucio/mc20_13TeV/RDO.26811885._000029.pool.root.1,/eos/home-r/rkusters/FTAG/RDO_rucio/mc20_13TeV/RDO.26811885._000030.pool.root.1,/eos/home-r/rkusters/FTAG/RDO_rucio/mc20_13TeV/RDO.26811885._000033.pool.root.1,/eos/home-r/rkusters/FTAG/RDO_rucio/mc20_13TeV/RDO.26811885._000032.pool.root.1,/eos/home-r/rkusters/FTAG/RDO_rucio/mc20_13TeV/RDO.26811885._000028.pool.root.1" \
--AMITag="r14671" \
--CA "all:True" \
--outputAODFile="AOD.33438629._000015.pool.root.1" \
--jobNumber="5" \
--triggerConfig="RDOtoRDOTrigger=MCRECO:DBF:TRIGGERDBMC:2283,35,327" \

Is a safety link needed for hits that have no ElementLink or is the default enough?

Edited by Roman Kusters

Merge request reports

Loading