Adding correct GTs for all early Run 3 data #61
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds some new variables to manually set the correct global tags for all distinct cases of Run 3 data processing. The GTs are extracted from here for 2022 and here for 2023.
dataYear
: valid for both, collected data and MC;dataEra
: is the regular era for data, e.g., E, F or G, and the campaign name for MC, e.g., preEE or postEE;runWithData
: switch to use collected data GTs or MC GTs.The default values are set to run with the 2022F data GT.
Lines https://github.com/OSU-CMS/DisappTrks/blob/update_CMSSW_13/StandardAnalysis/python/protoConfig_cfg.py#L114-L121 were commented out, because even when adding an
or runWithData
in the data case, things insideOSUT3Analysis.DBTools.osusub_cfg
would not be defined and the code doesn't run.Checked the different cases and the script is picking up the correct GTs.
Please, while we don't find an automatic solution for GT setting with CRAB, remember to manually set the correct values for the new variables, even when running with osusub. The GT picking is manual for now.
Also commented out the secondary input files when running with CMSSW 12_4_X or 13_0_X.