changing from PXBDetId/PXFDetId to TrackerTopology in CondTools

Replacement of #5646 based on CMSSW_7_3_X_2014-10-09-1400

I have tried this:

#old style, to be removed soon
#process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
#process.GlobalTag.globaltag = 'MC_72_V2::All'

#use GTs without ::All with the next line
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff")
from Configuration.AlCa.autoCond import autoCond
process.GlobalTag.globaltag = autoCond['run2_design']
#process.GlobalTag.globaltag = 'PRE_DES72_V8'


It builds but does not run:

<lxplus0211> cmsRun SiPixelFedCablingMapWriter_cfg.py
# Conditions read from  CMS_CONDITIONS  via FrontierProd 
----- Begin Fatal Exception 11-Oct-2014 16:14:01 CEST-----------------------
An exception of category 'ConditionDatabase' occurred while
    [0] Constructing the EventProcessor
    [1] Constructing ESSource: class=PoolDBESSource label='GlobalTag'
Exception Message:
Global Tag "PRE_DES72_V8::All" has not been found in the database. from GTProxy::load 
----- End Fatal Exception -------------------------------------------------

Pal


On Sat, 11 Oct 2014, Andreas Pfeiffer wrote:

> 
> In CondTools/SiPixel/test/SiPixelLorentzAngleReader_cfg.py:
> 
> > @@ -28,7 +28,8 @@
> > 
> >  process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
> >  #process.GlobalTag.globaltag = "GR_R_70_V1::All"
> > -process.GlobalTag.globaltag = 'FT_R_53_V21::All'
> > +#process.GlobalTag.globaltag = 'FT_R_53_V21::All'
> > +process.GlobalTag.globaltag = 'PRE_DES72_V6::All'
> 
> see my comment above for the move to condDBv2
> 
> ?
> Reply to this email directly or view it onGitHub.[4940954__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyODYzMDIxNCwiZGF0YSI6eyJpZCI6NDU0NTI4NjB9fQ==--e1582c250fb9a
> c0992994e652740c8dc7e10f8b3.gif]
> 
> 
>