-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
miscellaneous updates to EoP testing macros
* avoid overriding variable from the two eop macros * do not run pion plotting in the same test as electron one
- Loading branch information
Showing
7 changed files
with
596 additions
and
561 deletions.
There are no files selected for viewing
1,101 changes: 558 additions & 543 deletions
1,101
Alignment/OfflineValidation/macros/momentumBiasValidation.C
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,9 +1,13 @@ | ||
#include <iostream> | ||
#include <sstream> | ||
#include <TSystem.h> | ||
#include "Alignment/OfflineValidation/macros/momentumBiasValidation.C" | ||
#include "Alignment/OfflineValidation/macros/momentumElectronBiasValidation.C" | ||
|
||
int main(int argc, char** argv) { | ||
momentumBiasValidation("eta", "./", "test_EopTree.root=TestPion", true); | ||
momentumElectronBiasValidation("eta", "./", "test_EopTreeElectron.root=TestEle", "gif", true); | ||
//std::cout << "\n==== Executing pion analysis plotting \n" << std::endl; | ||
//eop::momentumBiasValidation("eta", "./", "test_EopTree.root=TestPion"); | ||
|
||
std::cout << "\n==== Executing electron analysis plotting \n" << std::endl; | ||
momentumElectronBiasValidation("eta", "./", "test_EopTreeElectron.root=TestEle", "png", true); | ||
} |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#! /bin/bash | ||
function die { echo $1: status $2 ; exit $2; } | ||
|
||
echo "TESTING eopTreeWriter (Pion Analysis) ..." | ||
echo -e "\n\nTESTING eopTreeWriter (Pion Analysis) ..." | ||
cmsRun ${LOCAL_TEST_DIR}/eopTreeWriter_cfg.py unitTest=True maxEvents=100 || die "Failure running eopTreeWriter" $? | ||
|
||
echo "TESTING eopElecTreeWriter (Electron Analysis) ..." | ||
echo -e "\n\nTESTING eopElecTreeWriter (Electron Analysis) ..." | ||
cmsRun ${LOCAL_TEST_DIR}/eopElecTreeWriter_cfg.py maxEvents=100 || die "Failure running eopElecTreeWriter" $? |