Skip to content

Commit

Permalink
update configuration file and README
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Mar 10, 2021
1 parent fea156f commit 33842d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
8 changes: 3 additions & 5 deletions DQM/TrackerRemapper/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tracker Remapper Tool

The tool to either remap existing DQM histograms onto Strip Detector layout or to analyze event files and put eveents into the right detector parts.
The tool to either remap existing DQM histograms onto Strip Detector layout or to analyze event files and put events into the right detector parts.

## Running basics

Expand All @@ -23,10 +23,8 @@ Options can be either adjusted in the configuration file (`ConfFile_cfg.py`) or
2. `MODE_REMAP` - root file with events to process
4. `stripHistogram` - histogram name to look for when `opMode=MODE_REMAP` is set, default is `TkHMap_NumberValidHits`
5. `src` - automaticly set based on your settings, change at your own risk
6. `globalTag` - global tag (GT) to use, default is `92X_upgrade2017_realistic_v11`
6. `globalTag` - global tag (GT) to use, default is `auto:run2_data`

## The output

Your output will be saved by default as `outputStrip.root` in your current working directory. This can be tuned in the `ConfFile_cfg.py` file.


Your output will be saved by default as `outputStrip.root` in your current working directory. This can be tuned in the `ConfFile_cfg.py` file.
4 changes: 0 additions & 4 deletions DQM/TrackerRemapper/python/CfiFile_cfi.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

options.register ("inputRootFile",
"/store/express/Run2018D/StreamExpressAlignment/ALCARECO/TkAlMinBias-Express-v1/000/324/980/00000/00E8FB8F-D3AB-C442-BCC2-FEEAE63EA711.root",
#/store/express/Run2018E/ExpressPhysics/FEVT/Express-v1/000/325/465/00000/171E431B-4973-B743-8F72-8645AE49D27C.root",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"Source Data File - either for analyze or remap")
Expand Down Expand Up @@ -95,15 +94,13 @@
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
process.GlobalTag = GlobalTag(process.GlobalTag, options.globalTag, "")

process.load("CalibTracker.SiStripCommon.TkDetMapESProducer_cfi")
#process.load("DQM.SiStripCommon.TkHistoMap_cff")
#process.TkDetMap = cms.Service("TkDetMap")
process.load("CalibTracker.SiStripCommon.TkDetMapESProducer_cfi")
#process.SiStripDetInfoFileReader = cms.Service("SiStripDetInfoFileReader")
#process.TkDetMap = cms.Service("TkDetMap")

#### Add these lines to produce a tracker map
process.load("DQMServices.Core.DQMStore_cfg")
#process.TkDetMap = cms.Service("TkDetMap")

# Output root file name:
process.TFileService = cms.Service("TFileService", fileName = cms.string('outputStrip.root') )
Expand Down

0 comments on commit 33842d9

Please sign in to comment.