Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions ConditionsConsumed/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,38 @@
### Get AlCa conditions from CMSSW at various steps
Run2:
* Run2 conditions: https://twiki.cern.ch/twiki/bin/view/CMS/AlCaDBHLT2019

Run3:
* Run3 2022 conditions: https://twiki.cern.ch/twiki/bin/view/CMS/AlCaDBHLT2022
* Run3 2023 conditions: https://twiki.cern.ch/twiki/bin/view/CMS/AlCaDBHLT2023
* Run3 2024 conditions: https://twiki.cern.ch/twiki/bin/view/CMS/AlCaDBHLT2024

### Minimal set of instructions
For detailed instructions, please refer to the year-specific twiki links reported above.

Install package:
```
cmsrel CMSSW_X_Y_Z
cd CMSSW_X_Y_Z/src
cmsenv
git clone https://github.com/cms-AlCaDB/AlCaTools.git
cd AlCaTools/ConditionsConsumed
```
Produce cmsDriver logs to be parsed for each step:
```
source runCMSDrivers_[data|mc][year].sh
```
Produce a twiki-like table with conditions consumed in each step:
```
python3 getAlCaCondInGT.py --year [YEAR] --isData [1|0]
```
Command line options:
- `--year`: year for which you are running, default: `2024`
- `--isData`: wheter you are parsing data (`1`) or MC (`0`) logs, default: `0`

### Older instructions:
<details>
<summary> Show old (deprecated) instructions for CMSSW <= 10_6_0 </summary>

## Setup CMSSW (old, see instructions for any given period in the links here above)
* ssh user@lxplus7.cern.ch
Expand All @@ -19,3 +50,4 @@ The final output will be stored in outputForTwiki.txt
Please note that the following command:
--customise_commands='process.GlobalTag.DumpStat = cms.untracked.bool(True)'
is used to dump the conditions consumed in the GT.
</details>
Loading