https://github.com/ctdax/spikedrhadronanalysis
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.8%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: ctdax
- Language: C++
- Default Branch: main
- Size: 2.64 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
Setup
Once you are in the cmslpc cluster or lxplus, run the following.
export SCRAM_ARCH=el9_amd64_gcc12
cmsrel CMSSW_14_0_9
cd CMSSW_14_0_9/src
cmsenv
For the following step you should have a ssh key associated to your GitHub account. For more information, see connecting-to-github-with-ssh-key.
git clone git@github.com:ctdax/SpikedRHadronAnalysis.git SUSYBSMAnalysis/SpikedRHadronAnalysis
cd SUSYBSMAnalysis/SpikedRHadronAnalysis
scram b -j 8
plugins/SpikedRHadronAnalyzer.cc
SpikedRHadronAnalyzer.cc analyzes AOD level ROOT files containing two R-Hadrons per event. The gluino AOD ROOT file that it is run on could not be tracked on Git due to it's size, it can be downloaded from cernBox and should be downloaded into the data directory inside of SpikedRHadronAnalysis.
Additionally, I recommend that you add the path of this directory to your $CMSSWSEARCHPATH by using the following command inside of the SpikedRHadronAnalysis directory (making sure to change {PWD}):
echo "export CMSSW_SEARCH_PATH={PWD}/:$CMSSW_SEARCH_PATH" > ~/.bashrc
source ~/.bashrc
Now this path will be added automatically whenever you login to the server.
Now you can use this command to run SpikedRHadronAnalyzer.cc
cmsRun python/SpikedRHadronAnalyzer_cfg.py
R-Hadron Gun
test/RHadronGuncfg.py takes a custom input file for the available R-Hadron processes and outputs an AOD root file with 10 events. It can be run with the following command
```
cmsRun test/RHadronGuncfg.py inputFiles=
Alternatively, plugins/runRHadronGun.sh was built to run the RHadronGun over all process files in data/IndividualRHadronProcesses. If you would like to do this, use the command
./plugins/runRHadronGun.sh
```
Information I found helpful when learning CMSSW
CMSSW Directory Format
If this is your first time using or seeing a CMSSW directory I highly recommend you checkout this brief presentation and also this twiki, particularly section 4.1.2 'Writing your own EDAnalyzer' of the twiki. Ultimately you should be able to run the analyzer smoothly inside of either directory via the command
cmsRun python/config_cfg.py
AOD Contents
The SimCaloHitAnalyzer currently analyzes an AOD gluino root file which is present in config_cfg.py. The contents of the AOD file can either be observed in a TBrowser
root -l data/EXO-RunIISummer20UL18GENSIM-00010-v3.root
TBrowser b("Events")
or by using edmDump
edmDumpEventContent data/EXO-RunIISummer20UL18GENSIM-00010-v3.root
Owner
- Name: Colby Thompson
- Login: ctdax
- Kind: user
- Company: University of Virginia
- Repositories: 2
- Profile: https://github.com/ctdax
Undergraduate at the University of Virginia researching experimental high energy physics