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 #30527 from mmusich/integrate0TWF
integrate 0T workflows for Cosmics and Collisions
- Loading branch information
Showing
6 changed files
with
58 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## | ||
## Append for 0T conditions | ||
## | ||
import six | ||
from Configuration.StandardSequences.CondDBESSource_cff import GlobalTag as essource | ||
connectionString = essource.connect.value() | ||
|
||
# method called in autoCond | ||
def autoCond0T(autoCond): | ||
|
||
ConditionsFor0T = ','.join( ['RunInfo_0T_v1_mc', "RunInfoRcd", connectionString, "", "2020-07-01 12:00:00.000"] ) | ||
GlobalTags0T = {} | ||
for key,val in six.iteritems(autoCond): | ||
if "phase" in key: # restric to phase1 upgrade GTs | ||
GlobalTags0T[key+"_0T"] = (autoCond[key], ConditionsFor0T) | ||
|
||
autoCond.update(GlobalTags0T) | ||
return autoCond |
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