-
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.
Merge pull request #40182 from mmusich/fixEoPPlottingMacro
[TkAl] Fix EoP Validation plotting macros
- Loading branch information
Showing
10 changed files
with
696 additions
and
586 deletions.
There are no files selected for viewing
1,145 changes: 621 additions & 524 deletions
1,145
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
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,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) { | ||
//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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#! /bin/bash | ||
function die { echo $1: status $2 ; exit $2; } | ||
|
||
echo -e "\n\nTESTING eopTreeWriter (Pion Analysis) ..." | ||
cmsRun ${LOCAL_TEST_DIR}/eopTreeWriter_cfg.py unitTest=True maxEvents=100 || die "Failure running eopTreeWriter" $? | ||
|
||
echo -e "\n\nTESTING eopElecTreeWriter (Electron Analysis) ..." | ||
cmsRun ${LOCAL_TEST_DIR}/eopElecTreeWriter_cfg.py maxEvents=100 || die "Failure running eopElecTreeWriter" $? |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.