This repository has been archived by the owner on Nov 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from alicerobson/attempt2
Attempt2
- Loading branch information
Showing
27 changed files
with
25,929 additions
and
140 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Binary file not shown.
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/bash | ||
#This file runs a Clic example to produce a physics debug output file | ||
#The physics output is then compared against the required physics file | ||
#The required file will need to be updated when the physics changes | ||
FILE="compare.out" | ||
PHYSICS="physicsdd.txt" | ||
MATCHPHYSICS=$FCCPAPASCPP/data/required_clic_physics_dd.txt | ||
ROOTFILE=$FCCPAPASCPP/data/ee_Z_ddbar.root | ||
if [ -f $FILE ] | ||
then | ||
rm $FILE | ||
fi | ||
if [ -f $PHYSICS ] | ||
then | ||
rm $PHYSICS | ||
fi | ||
$FCCPAPASCPP/bin/example_pdebug $ROOTFILE CLIC $PHYSICS | ||
if ([ -f $PHYSICS ] && [ -f $MATCHPHYSICS ]) | ||
then | ||
#echo "difference files" | ||
diff $MATCHPHYSICS $PHYSICS > $FILE | ||
|
||
if [ -f $FILE ] | ||
then | ||
if [[ -s $FILE ]]; | ||
then | ||
echo "$FILE is different" | ||
else | ||
echo "$FILE matches" | ||
rm $FILE | ||
rm $PHYSICS | ||
fi | ||
else | ||
echo "$FILE not found." | ||
fi | ||
else | ||
echo "$PHYSICS not found." | ||
fi |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/bash | ||
#This file runs a CMS example to produce a physics debug output file | ||
#The physics output is then compared against the required physics file | ||
#The required file will need to be updated when the physics changes | ||
FILE="compare.out" | ||
PHYSICS="physics.txt" | ||
MATCHPHYSICS=$FCCPAPASCPP/data/required_cms_physics.txt | ||
ROOTFILE=$FCCPAPASCPP/data/ee_ZH_Zmumu_Hbb.root | ||
if [ -f $FILE ] | ||
then | ||
rm $FILE | ||
fi | ||
if [ -f $PHYSICS ] | ||
then | ||
rm $PHYSICS | ||
fi | ||
$FCCPAPASCPP/bin/example_pdebug $ROOTFILE CMS $PHYSICS | ||
if ([ -f $PHYSICS ] && [ -f $MATCHPHYSICS ]) | ||
then | ||
#echo "difference files" | ||
diff $MATCHPHYSICS $PHYSICS > $FILE | ||
|
||
if [ -f $FILE ] | ||
then | ||
if [[ -s $FILE ]]; | ||
then | ||
echo "$FILE is different" | ||
else | ||
echo "$FILE matches" | ||
rm $FILE | ||
rm $PHYSICS | ||
fi | ||
else | ||
echo "$FILE not found." | ||
fi | ||
else | ||
echo "$PHYSICS not found." | ||
fi |
Oops, something went wrong.