Last active
August 29, 2015 14:08
-
-
Save mazurov/b5480eeebe6c609488f0 to your computer and use it in GitHub Desktop.
TriggerTower dumper based on C++ algorithm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget -nv -O- https://gist.githubusercontent.com/mazurov/b5480eeebe6c609488f0/raw/setup.sh | source /dev/stdin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TARGET_ATHENA=19.2.0 | |
| TARGET_DIR=${TARGET_ATHENA}-ttdump | |
| RED='\e[0;31m' | |
| GREEN='\e[0;32m' | |
| NC='\e[0m' # No Color | |
| echo -e "${GREEN}Create and change working directory to ${TARGET_DIR}${NC}" | |
| mkdir $TARGET_DIR | |
| cd $TARGET_DIR | |
| echo -e "${GREEN}Setup Athena ${TARGET_ATHENA}${NC}" | |
| asetup ${TARGET_ATHENA},here | |
| # Get new packages | |
| echo -e "${GREEN}Get development source of PhysicsAnalysis/AnalysisCam/AnalysisCamEvent${NC}" | |
| cmt co PhysicsAnalysis/AnalysisCam/AnalysisCamEvent | |
| echo -e "${GREEN}Get source of TriggerTowerDumper${NC}" | |
| export OLD_SVNROOT=$SVNROOT | |
| export SVNROOT=svn+ssh://svn.cern.ch/reps/atlas-will/RawReader | |
| cmt co TriggerTowerDumper | |
| export SVNROOT=$OLD_SVNROOT | |
| echo -e "${GREEN}Setup WorkArea${NC}" | |
| setupWorkArea.py | |
| echo -e "Build packages" | |
| cd WorkArea/cmt | |
| cmt br cmt make | |
| cd $TestArea | |
| mkdir run | |
| cp TriggerTowerDumper/share/dumperJobOptions.py run/ | |
| cd run | |
| echo -e "${GREEN}Now you can (1) change folder to $TestArea/run, (2) change input files and run the (3) job options in dumperJobOptions.py${NC}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment