Ejemplo n.º 1
0
        ),
        DEBUG = cms.untracked.PSet(
            limit = cms.untracked.int32(0)
        ),
        HCalGeom = cms.untracked.PSet(
            limit = cms.untracked.int32(-1)
        )
    )
)

process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32(10)
)

process.source = cms.Source("EmptySource")

process.Timing = cms.Service("Timing")

process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",
    oncePerEventMode = cms.untracked.bool(True),
    showMallocInfo = cms.untracked.bool(True),
    dump = cms.untracked.bool(True),
    ignoreTotal = cms.untracked.int32(1)
)

process.load("Geometry.HcalEventSetup.HcalDDDGeometry_cfi")

process.prod = cms.EDAnalyzer("HcalDDDGeometryAnalyzer")

process.p1 = cms.Path(process.prod)
Ejemplo n.º 2
0
import FWCore.ParameterSet.Config as cms

SUSY_HLT_InclusiveMET_NoiseCleaned = cms.EDAnalyzer(
    "SUSY_HLT_InclusiveHT",
    trigSummary=cms.InputTag("hltTriggerSummaryAOD"),
    pfMETCollection=cms.InputTag("pfMet"),
    pfJetCollection=cms.InputTag("ak4PFJetsCHS"),
    caloJetCollection=cms.InputTag("ak4CaloJets"),
    TriggerResults=cms.InputTag('TriggerResults', '', 'HLT'),
    TriggerPath=cms.string('HLT_PFMET170_NoiseCleaned_v'),
    TriggerPathAuxiliaryForHadronic=cms.string(
        'HLT_IsoMu24_eta2p1_IterTrk02_v'),
    TriggerFilter=cms.InputTag('hltPFMET170Filter', '',
                               'HLT'),  #the last filter in the path
    PtThrJet=cms.untracked.double(30.0),
    EtaThrJet=cms.untracked.double(3.0))

SUSY_HLT_InclusiveMET_Default = cms.EDAnalyzer(
    "SUSY_HLT_InclusiveHT",
    trigSummary=cms.InputTag("hltTriggerSummaryAOD"),
    pfMETCollection=cms.InputTag("pfMet"),
    pfJetCollection=cms.InputTag("ak4PFJetsCHS"),
    caloJetCollection=cms.InputTag("ak4CaloJets"),
    TriggerResults=cms.InputTag('TriggerResults', '', 'HLT'),
    TriggerPath=cms.string('HLT_PFMET170_v'),
    TriggerPathAuxiliaryForHadronic=cms.string(
        'HLT_IsoMu24_eta2p1_IterTrk02_v'),
    TriggerFilter=cms.InputTag('hltPFMET170Filter', '',
                               'HLT'),  #the last filter in the path
    PtThrJet=cms.untracked.double(30.0),
    EtaThrJet=cms.untracked.double(3.0))
Ejemplo n.º 3
0
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2017_realistic',
                              '')
##process.GlobalTag = GlobalTag(process.GlobalTag, '81X_upgrade2017_realistic_v25', '')

# Path and EndPath definitions
#process.digitisation_step = cms.Path(process.pdigi_valid)
#process.L1simulation_step = cms.Path(process.SimL1Emulator)
#process.digi2raw_step = cms.Path(process.DigiToRaw)
process.raw2digi_step = cms.Path(process.hcalDigis)
process.reconstruction_step = cms.Path(process.hcalLocalRecoSequence +
                                       process.hbheplan1)

process.endjob_step = cms.EndPath(process.endOfProcess)
#process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)

process.flat = cms.EDAnalyzer('TupleMaker')
#process.flat2 = cms.EDAnalyzer('PedestalCheck')
process.flat_step = cms.Path(process.flat)
#process.flat2_step = cms.Path(process.flat2)

process.TFileService = cms.Service("TFileService",
                                   fileName=cms.string("MC_noPU_SiPM.root"))

# Schedule definition
process.schedule = cms.Schedule(  #process.digitisation_step,process.L1simulation_step,process.digi2raw_step,#)
    process.reconstruction_step,
    process.flat_step,
    #process.m2_step, process.m3_step, process.mahi_step,
    process.endjob_step)
#process.schedule.extend([process.endjob_step,process.FEVTDEBUGHLToutput_step])
Ejemplo n.º 4
0
import FWCore.Framework.test.cmsExceptionsFatal_cff
process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options

process.load("FWCore.MessageService.test.Services_cff")

process.load("FWCore.MessageService.MessageLogger_cfi")

process.MessageLogger.destinations = ['warnings', 'infos']
process.MessageLogger.statistics = ['warnings', 'infos']
process.MessageLogger.fwkJobReports = ['job_report']
process.MessageLogger.default = cms.untracked.PSet(
    noTimeStamps=cms.untracked.bool(False),
    FwkJob=cms.untracked.PSet(limit=cms.untracked.int32(0)),
    limit=cms.untracked.int32(-1))
process.MessageLogger.warnings = cms.untracked.PSet(
    threshold=cms.untracked.string('WARNING'),
    default=cms.untracked.PSet(limit=cms.untracked.int32(3)),
    noTimeStamps=cms.untracked.bool(True))
process.MessageLogger.infos = cms.untracked.PSet(
    default=cms.untracked.PSet(limit=cms.untracked.int32(2)),
    noTimeStamps=cms.untracked.bool(True),
    FwkJob=cms.untracked.PSet(limit=cms.untracked.int32(0)))

process.maxEvents = cms.untracked.PSet(input=cms.untracked.int32(1))

process.source = cms.Source("EmptySource")

process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_G")

process.p = cms.Path(process.sendSomeMessages)
Ejemplo n.º 5
0
import FWCore.ParameterSet.Config as cms

# the clients
from DQM.TrackingMonitor.ClientTrackEfficiencySTACosmicMuons_cff import *
from DQM.TrackingMonitor.ClientTrackEfficiencyTkTracks_cff import *
from DQMOffline.Muon.trackResidualsTest_cfi import *
from DQMOffline.Muon.muonRecoTest_cfi import *
from DQMOffline.Muon.muonTestSummary_cfi import *
from DQMOffline.Muon.muonTestSummaryCosmics_cfi import *
from DQMOffline.Muon.EfficencyPlotter_cfi import *

muonSourcesQualityTests = cms.EDAnalyzer(
    "QualityTester",
    prescaleFactor=cms.untracked.int32(1),
    qtList=cms.untracked.FileInPath('DQMOffline/Muon/data/QualityTests1.xml'))
muonComp2RefQualityTests = cms.EDAnalyzer(
    "QualityTester",
    prescaleFactor=cms.untracked.int32(1),
    qtList=cms.untracked.FileInPath(
        'DQMOffline/Muon/data/Mu_Comp2RefChi2.xml'))

muonComp2RefKolmoQualityTests = cms.EDAnalyzer(
    "QualityTester",
    prescaleFactor=cms.untracked.int32(1),
    qtList=cms.untracked.FileInPath(
        'DQMOffline/Muon/data/Mu_Comp2RefKolmogorov.xml'))
muonClientsQualityTests = cms.EDAnalyzer(
    "QualityTester",
    prescaleFactor=cms.untracked.int32(1),
    qtList=cms.untracked.FileInPath('DQMOffline/Muon/data/QualityTests2.xml'))
Ejemplo n.º 6
0
process.source = cms.Source(
    "PoolSource",
    fileNames=cms.untracked.vstring(
        '/store/express/HIRun2018A/HIExpressPhysics/FEVT/Express-v1/000/326/547/00000/3ABCBD47-2333-404B-AF7D-1050E8CF339B.root'
    ))
#process.source = cms.Source ("PoolSource",fileNames = cms.untracked.vstring('file:test_reco_py_RAW2DIGI_RECO.root'))
#Insert JSON file name below
JSONfile = 'json_DCSONLY_HI.txt'
#added line below this comment
process.source.lumisToProcess = LumiList.LumiList(
    filename=JSONfile).getVLuminosityBlockRange()
process.analyzer = cms.EDAnalyzer('newZDCAnalyzer',
                                  zdc=cms.InputTag("hcalDigis", "ZDC", "RECO"),
                                  tower=cms.InputTag("towerMaker"),
                                  track=cms.InputTag("generalTracks"),
                                  pixel=cms.InputTag("siPixelRecHits"),
                                  hltresults=cms.InputTag(
                                      "TriggerResults", "", "HLT"))

process.load(
    'Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
#process.GlobalTag.globaltag = '92X_upgrade2017_realistic_v10'
#process.GlobalTag.globaltag = '103X_dataRun2_Express_v2'
process.GlobalTag.globaltag = '103X_dataRun2_Prompt_v3'

#process.es_ascii = cms.ESSource(
#    'HcalTextCalibrations',
#    input = cms.VPSet(
#            cms.PSet(
#                object = cms.string('ElectronicsMap'),
Ejemplo n.º 7
0

# the analyzer configuration
def enum(*sequential, **named):
    enums = dict(zip(sequential, range(len(sequential))), **named)
    return type('Enum', (), enums)


Stations = enum('ALL', 'ME11', 'ME1a', 'ME1b', 'ME12', 'ME13', 'ME21', 'ME22',
                'ME31', 'ME32', 'ME41', 'ME42')

from GEMCode.GEMValidation.simTrackMatching_cfi import SimTrackMatching

process.GEMCSCAnalyzer = cms.EDAnalyzer(
    "GEMCSCAnalyzer",
    verbose=cms.untracked.int32(0),
    stationsToUse=cms.vint32(Stations.ME11, Stations.ME1a, Stations.ME1b,
                             Stations.ME21, Stations.ME31, Stations.ME41),
    simTrackMatching=SimTrackMatching)
matching = process.GEMCSCAnalyzer.simTrackMatching
matching.simTrack.minPt = 1.5
matching.gemRecHit.input = ""
"""
matching.cscTfTrack.input = ""
matching.tfCand.input = ""
matching.gmtCand.input = ""
matching.l1Extra.input = ""
"""
doGem = True
if doGem:
    matching.cscSimHit.minNHitsChamber = 3
    matching.cscStripDigi.minNHitsChamber = 3
Ejemplo n.º 8
0
    l1tResults=cms.InputTag("gtDigis"),
    throw=cms.bool(False))

#correct the jet used for the matching
hltBtagJetsbyRef.jets = cms.InputTag("ak4GenJetsNoNu")

#define HltVertexValidationVertices for the vertex DQM validation
HltVertexValidationVertices = cms.EDAnalyzer(
    "HLTVertexPerformanceAnalyzer",
    SimVertexCollection=cms.InputTag("g4SimHits"),
    TriggerResults=cms.InputTag('TriggerResults', '', "HLT"),
    HLTPathNames=cms.vstring('HLT_PFMET120_', 'HLT_PFMET120_', 'HLT_PFMET120_',
                             'HLT_CaloMHTNoPU90_PFMET90_PFMHT90_IDTight_',
                             'HLT_CaloMHTNoPU90_PFMET90_PFMHT90_IDTight_',
                             'HLT_CaloMHTNoPU90_PFMET90_PFMHT90_IDTight_',
                             'HLT_QuadPFJet_VBF', 'HLT_QuadPFJet_VBF',
                             'HLT_QuadPFJet_VBF', 'HLT_Ele32_eta2p1_',
                             'HLT_IsoMu24_eta2p1_'),
    Vertex=cms.VInputTag(
        cms.InputTag("hltVerticesL3"),
        cms.InputTag("hltFastPrimaryVertex"),
        cms.InputTag("hltFastPVPixelVertices"),
        cms.InputTag("hltVerticesPF"),
    ))

#define bTagValidation for the b-tag DQM validation (distribution plot)
hltbTagValidation = cms.EDAnalyzer(
    "HLTBTagPerformanceAnalyzer",
    TriggerResults=cms.InputTag('TriggerResults', '', 'HLT'),
    HLTPathNames=cms.vstring('HLT_PFMET120_',
                             'HLT_CaloMHTNoPU90_PFMET90_PFMHT90_IDTight_',
Ejemplo n.º 9
0
TreeMaker = cms.EDAnalyzer(
    'TreeMaker',

    # Name of the output tree
    TreeName=cms.string('RA2Tree'),

    # collection from which the tree variable "NumVtx" is determined
    VertexCollection=cms.InputTag('goodVertices'),

    # the value of HT. This is taken from the event and not computed by the TreeMaker.
    HT=cms.InputTag('htPF'),
    # jet collection that has been used to compute HT. The tree variables "NJets", "Jet?Pt", and "Jet?Eta" are taken from this collection.
    HTJets=cms.InputTag('patJetsAK5PFPt50Eta25'),

    # the MHT vector. This is taken from the event and not computed by the TreeMaker.
    MHT=cms.InputTag('mhtPF'),
    # jet collection that has been used to compute MHT. The tree variables "DeltaPhi?" are computed from this collection and from "MHT".
    MHTJets=cms.InputTag('patJetsAK5PFPt30'),
    PatJetCollInputTag=cms.InputTag(''),
    PatJetsMinPt=cms.double(0),
    PatJetsNameInTree=cms.string(''),

    # List of InputTags for edm::Candidate collections stored in the event. The kinematic
    # information of each candidate are stored in an array of Float_t variables in the tree.
    CandidateCollections=cms.VInputTag(),
    # Names given to the edm:Candidates in the tree. If this is not specified, the generic
    # names '<InputTag::label()>' are used.
    CandidateNamesInTree=cms.vstring(),
    CandidateCollectionsJetInfo=cms.VInputTag(),
    CandidateNamesInTreeJetInfo=cms.vstring(),

    # List of InputTags for double-precision variables (double) stored in
    # the event. (For space reason, they are stored as Float_t in the tree.)
    VarsDouble=cms.VInputTag(),
    # Names of the double-precision variables as stored in the tree. If
    # this vector is not specified, the generic names "<InputTag::label()>"
    # are used.
    VarsDoubleNamesInTree=cms.vstring(),
    METs=cms.VInputTag(),
    METNamesInTree=cms.vstring(),

    #JL
    VarsDoubleV=cms.VInputTag(),
    VarsDoubleNamesInTreeV=cms.vstring(),

    # list of filter decisions (bool) written from filters in tag mode
    # will be stored as "Filter_..."
    Filters=cms.VInputTag())
Ejemplo n.º 10
0
    return effSet


process.tnpFit = cms.EDAnalyzer(
    "TagProbeFitTreeAnalyzer",
    #InputFileNames = cms.vstring("rfio:/castor/cern.ch/user/j/jkim/TopAna/TnpTree/Fall11/DYJetsToLL_IsoMu24_relIsoTag/tagprob_MC_tightmu_relIsoTag_12files.root"),
    InputFileNames=cms.vstring(
        "rfio:/castor/cern.ch/user/j/jkim/TopAna/TnpTree/Fall11/DYJetsToLL_IsoMu24_relIsoTag_wmass/tagprob_MC_tightmu_relIsoTag_12files.root"
    ),
    #InputDirectoryName = cms.string("tnpId"),
    InputDirectoryName=cms.string("tnpTree"),
    InputTreeName=cms.string("fitter_tree"),
    OutputFileName=cms.string("result_Id_tightmu_all_%s.root" % mode),
    NumCPU=cms.uint32(1),
    SaveWorkspace=cms.bool(True),
    floatShapeParameters=cms.bool(True),
    WeightVariable=cms.string("weight"),
    Variables=cms.PSet(
        #mass = cms.vstring("Tag-Probe mass", "50.0", "130.0", "GeV/c^{2}"),
        mass=cms.vstring("Tag-Probe mass", "60.0", "140.0", "GeV/c^{2}"),
        pt=cms.vstring("Probe p_{T}", "0", "1000", "GeV/c"),
        abseta=cms.vstring("Probe |#eta|", "0", "2.4", ""),
        weight=cms.vstring("Weight", "0.0", "2.0", "")),
    Categories=cms.PSet(
        isTightMuon=cms.vstring("isTightMuon", "dummy[pass=1,fail=0]")),
    PDFs=basicPDFs,
    binnedFit=cms.bool(True),
    binsForFit=cms.uint32(50),
    Efficiencies=tnpEffPSet(["isTightMuon"]))

process.fit = cms.Path(process.tnpFit)
Ejemplo n.º 11
0
      'infos',
      'debugs',
      'cout',
      'cerr' ),
    threshold = cms.untracked.string( "INFO" ),
    suppressError = cms.untracked.vstring( 'hltOnlineBeamSpot',
      'hltL3MuonCandidates',
      'hltL3TkTracksFromL2OIState',
      'hltPFJetCtfWithMaterialTracks',
      'hltL3TkTracksFromL2IOHit',
      'hltL3TkTracksFromL2OIHit' )
)

process.hltGetConditions = cms.EDAnalyzer( "EventSetupRecordDataGetter",
    toGet = cms.VPSet( 
    ),
    verbose = cms.untracked.bool( False )
)
process.hltGetRaw = cms.EDAnalyzer( "HLTGetRaw",
    RawDataCollection = cms.InputTag( "rawDataCollector" )
)
process.hltBoolFalse = cms.EDFilter( "HLTBool",
    result = cms.bool( False )
)
process.hltTriggerType = cms.EDFilter( "HLTTriggerTypeFilter",
    SelectedTriggerType = cms.int32( 1 )
)
process.hltGtDigis = cms.EDProducer( "L1GlobalTriggerRawToDigi",
    DaqGtFedId = cms.untracked.int32( 813 ),
    DaqGtInputTag = cms.InputTag( "rawDataCollector" ),
    ActiveBoardsMask = cms.uint32( 0xffff ),
                                 HLTPaths=cms.vstring('HLT_Physics_v*',
                                                      'HLT_ZeroBias_v*'),
                                 throw=cms.bool(False),
                                 TriggerResultsTag=cms.InputTag(
                                     "TriggerResults", "", "HLT"))

process.analysis = cms.EDAnalyzer(
    "SimHitRes",
    tracks=cms.InputTag("TrackRefitter"),
    trajectories=cms.InputTag("TrackRefitter"),
    associatePixel=cms.bool(False),
    associateStrip=cms.bool(False),
    associateRecoTracks=cms.bool(False),
    genTruth=cms.bool(False),
    pairsOnly=cms.bool(True),
    minMomentum=cms.double(10),
    ROUList=cms.vstring(
        'g4SimHitsTrackerHitsTIBLowTof', 'g4SimHitsTrackerHitsTIBHighTof',
        'g4SimHitsTrackerHitsTIDLowTof', 'g4SimHitsTrackerHitsTIDHighTof',
        'g4SimHitsTrackerHitsTOBLowTof', 'g4SimHitsTrackerHitsTOBHighTof',
        'g4SimHitsTrackerHitsTECLowTof', 'g4SimHitsTrackerHitsTECHighTof'
        'TrackerHitsTIBLowTof', 'TrackerHitsTIBHighTof',
        'TrackerHitsTIDLowTof', 'TrackerHitsTIDHighTof',
        'TrackerHitsTOBLowTof', 'TrackerHitsTOBHighTof',
        'TrackerHitsTECLowTof', 'TrackerHitsTECHighTof'),
    stripSimLinkSrc=cms.InputTag("simSiStripDigis"))

#process.p = cms.Path(process.hltFilter * process.primaryVertexFilter  * process.noscraping* process.TrackRefitter*process.analysis)

process.p = cms.Path(process.primaryVertexFilter + process.noscraping +
                     process.TrackRefitter + process.analysis)
Ejemplo n.º 13
0
#  \author Subir Sarkar
#  \author Rosamaria Venditti (INFN Bari, Bari University)
#  \author Konstantin Androsov (University of Siena, INFN Pisa)
#  \author Maria Teresa Grippo (University of Siena, INFN Pisa)
#
#  Copyright 2011-2013 Subir Sarkar, Rosamaria Venditti (INFN Bari, Bari University)
#  Copyright 2014 Konstantin Androsov <*****@*****.**>,
#                 Maria Teresa Grippo <*****@*****.**>
#
#  This file is part of X->HH->bbTauTau.
#
#  X->HH->bbTauTau is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 2 of the License, or
#  (at your option) any later version.
#
#  X->HH->bbTauTau is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with X->HH->bbTauTau.  If not, see <http://www.gnu.org/licenses/>.

import FWCore.ParameterSet.Config as cms

genEventBlock = cms.EDAnalyzer("GenEventBlock",
    genEventSrc = cms.InputTag('generator','minVisPtFilter','EmbeddedRECO'),
    lheProductSrc = cms.InputTag('source')
)
Ejemplo n.º 14
0
# Path and EndPath definitions
process.generation_step = cms.Path(process.pgen)
process.simulation_step = cms.Path(process.psim)
process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
process.digitisation_step = cms.Path(process.pdigi_valid)
process.L1simulation_step = cms.Path(process.SimL1Emulator)
process.digi2raw_step = cms.Path(process.DigiToRaw)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.FEVTDEBUGoutput_step = cms.EndPath(process.FEVTDEBUGoutput)

process.load('L1Trigger.L1THGCal.hgcalTriggerPrimitives_cff')
# Eventually modify default geometry parameters
from L1Trigger.L1THGCal.customTriggerGeometry import custom_geometry_V9
process = custom_geometry_V9(process, 2)

process.hgcaltriggergeomtester = cms.EDAnalyzer("HGCalTriggerGeomTesterV9Imp2")
process.test_step = cms.Path(process.hgcaltriggergeomtester)

# Schedule definition
process.schedule = cms.Schedule(
    process.generation_step, process.genfiltersummary_step,
    process.simulation_step, process.digitisation_step,
    process.L1simulation_step, process.digi2raw_step, process.test_step,
    process.endjob_step, process.FEVTDEBUGoutput_step)
#process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.digitisation_step,process.L1simulation_step,process.digi2raw_step,process.endjob_step,process.FEVTDEBUGoutput_step)
# filter all path with the production filter sequence
for path in process.paths:
    getattr(process,
            path)._seq = process.generator * getattr(process, path)._seq

# Add early deletion of temporary data products to reduce peak memory need
#    )),
#    connect = cms.string('sqlite_file:test.db')
#)
# To use a test DB instead of the official pixel object DB tag: 
#process.customDead = cms.ESSource("PoolDBESSource", process.CondDBSetup, connect = cms.string('sqlite_file:/afs/cern.ch/user/v/vesna/Digitizer/dead_20100901.db'), toGet = cms.VPSet(cms.PSet(record = cms.string('SiPixelQualityRcd'), tag = cms.string('dead_20100901'))))
#process.es_prefer_customDead = cms.ESPrefer("PoolDBESSource","customDead")


process.o1 = cms.OutputModule("PoolOutputModule",
                              outputCommands = cms.untracked.vstring('drop *','keep *_*_*_RecHitTest'),
            fileName = cms.untracked.string('file:rechits.root')
#            fileName = cms.untracked.string('file:/afs/cern.ch/work/d/dkotlins/public/MC/mu/pt100_71_pre7/rechits/rechits2_mc71.root')
)

# My 
# modify clusterie parameters (just an example)
#process.siPixelClusters.ClusterThreshold = 4000.0

# read rechits
process.analysis = cms.EDAnalyzer("PixRecHitTest",
    Verbosity = cms.untracked.bool(True),
    src = cms.InputTag("siPixelRecHits"),
)

# only rechits
#process.p1 = cms.Path(process.siPixelRecHits)
process.p1 = cms.Path(process.siPixelRecHits*process.analysis)

# save output 
#process.outpath = cms.EndPath(process.o1)
Ejemplo n.º 16
0
import FWCore.ParameterSet.Config as cms

# the uGMT DQM module
from DQM.L1TMonitor.L1TStage2uGMT_cfi import *

# the uGMT intermediate muon DQM modules
l1tStage2uGMTIntermediateBMTF = cms.EDAnalyzer(
    "L1TStage2uGMTMuon",
    muonProducer=cms.InputTag("gmtStage2Digis", "imdMuonsBMTF"),
    monitorDir=cms.untracked.string(
        "L1T/L1TStage2uGMT/intermediate_muons/BMTF"),
    titlePrefix=cms.untracked.string("uGMT intermediate muon from BMTF "),
    verbose=cms.untracked.bool(False),
)

l1tStage2uGMTIntermediateOMTFNeg = cms.EDAnalyzer(
    "L1TStage2uGMTMuon",
    muonProducer=cms.InputTag("gmtStage2Digis", "imdMuonsOMTFNeg"),
    monitorDir=cms.untracked.string(
        "L1T/L1TStage2uGMT/intermediate_muons/OMTF_neg"),
    titlePrefix=cms.untracked.string("uGMT intermediate muon from OMTF neg. "),
    verbose=cms.untracked.bool(False),
)

l1tStage2uGMTIntermediateOMTFPos = cms.EDAnalyzer(
    "L1TStage2uGMTMuon",
    muonProducer=cms.InputTag("gmtStage2Digis", "imdMuonsOMTFPos"),
    monitorDir=cms.untracked.string(
        "L1T/L1TStage2uGMT/intermediate_muons/OMTF_pos"),
    titlePrefix=cms.untracked.string("uGMT intermediate muon from OMTF pos. "),
    verbose=cms.untracked.bool(False),
Ejemplo n.º 17
0
import FWCore.ParameterSet.Config as cms

#import HLTrigger.HLTfilters.hltHighLevel_cfi
#hltHM = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
#hltHM.HLTPaths = [
#                'HLT_PAPixelTracks_Multiplicity100_v*',
#                'HLT_PAPixelTracks_Multiplicity130_v*',
#                'HLT_PAPixelTracks_Multiplicity160_v*'
#                #'HLT_PAPixelTracks_Multiplicity190_v',
#                #'HLT_PAPixelTracks_Multiplicity220_v'
#            ]

xiMassPt = cms.EDAnalyzer('XiMassPt',
        trkSrc = cms.InputTag('generalTracks'),
        xiCollection   = cms.InputTag('selectV0CandidatesLowXi:Xi'),
        laCollection = cms.InputTag('selectV0CandidatesNewlambdatight:Lambda')
        ksCollection = cms.InputTag('selectV0CandidatesNewkshort:Kshort')
        vertexCollName = cms.InputTag('offlinePrimaryVertices'),
        zVtxHigh       = cms.double(15.0),
        zVtxLow        = cms.double(-15.0),
        multHigh       = cms.double(220),
        multLow        = cms.double(185)
        xi = cms.untracked.bool(True);
        ks = cms.untracked.bool(True);
        la = cms.untracked.bool(True);

)
Ejemplo n.º 18
0
### Set Bfinder option
process.demo = cms.EDAnalyzer(
    'Bfinder',
    Bchannel=cms.vint32(
        1,  #RECONSTRUCTION: J/psi + K
        1,  #RECONSTRUCTION: J/psi + Pi
        1,  #RECONSTRUCTION: J/psi + Ks 
        1,  #RECONSTRUCTION: J/psi + K* (K+, Pi-)
        1,  #RECONSTRUCTION: J/psi + K* (K-, Pi+)
        1,  #RECONSTRUCTION: J/psi + phi
        1,
    ),  #RECONSTRUCTION: J/psi + pi pi <= psi', X(3872), Bs->J/psi f0
    #    MuonTriggerMatchingPath = cms.vstring("HLT_PAMu3_v1"),
    MuonTriggerMatchingPath=cms.vstring("HLT_PAMu3_v*"),
    #    MuonTriggerMatchingPath = cms.vstring("HLT_PAMu3_v*", "HLT_PAMu7_v*", "HLT_PAMu12_v*"),
    HLTLabel=cms.InputTag('TriggerResults::HLT'),
    GenLabel=cms.InputTag('genParticles'),
    MuonLabel=cms.InputTag('selectedPatMuons'),  #selectedPatMuons
    TrackLabel=cms.InputTag('selectedPatTrackCands'),  #selectedPat
    PUInfoLabel=cms.InputTag("addPileupInfo"),
    BSLabel=cms.InputTag("offlineBeamSpot"),
    PVLabel=cms.InputTag("offlinePrimaryVerticesWithBS"),
    tkPtCut=cms.double(0.4),
    jpsiPtCut=cms.double(0.0),
    bPtCut=cms.double(0.0),
    RunOnMC=cms.bool(False),
    doTkPreCut=cms.bool(True),
    doMuPreCut=cms.bool(True))
if HIFormat:
    process.demo.GenLabel = cms.InputTag('hiGenParticles')
  toGet = cms.VPSet(
    cms.PSet(
      record = cms.string('EcalTPGLinearizationConstRcd'),
      tag = cms.string('EcalTPGLinearizationConst_weekly_hlt')
    )
  )
 )

process.PoolDBOutputService = cms.Service("PoolDBOutputService",
  process.CondDBCommon,
  logconnect = cms.untracked.string('sqlite_file:DBLog.db'),
  timetype = cms.untracked.string('runnumber'),
  toPut = cms.VPSet(
    cms.PSet(
      record = cms.string('EcalTPGLinearizationConstRcd'),
      tag = cms.string('EcalTPGLinearizationConst_weekly_hlt')
    )
  )
)

process.Test1 = cms.EDAnalyzer("ExTestEcalLaser_weekly_Linearization_Analyzer",
  record = cms.string('EcalTPGLinearizationConstRcd'),
  Source = cms.PSet(
    debug = cms.bool(True),
  )
)

process.p = cms.Path(process.Test1)


    title="Track Residuals X",
    range_min=-0.15,
    range_max=0.15,
    range_nbins=150,
    xlabel="(x_rec - x_pred) [cm]",
    dimensions=1,
    specs=VPSet(StandardSpecification2DProfile, StandardSpecifications1D))

SiPixelPhase1TrackResidualsResidualsY = SiPixelPhase1TrackResidualsResidualsX.clone(
    name="residual_y",
    title="Track Residuals Y",
    xlabel="(y_rec - y_pred) [cm]",
)

SiPixelPhase1TrackResidualsConf = cms.VPSet(
    SiPixelPhase1TrackResidualsResidualsX,
    SiPixelPhase1TrackResidualsResidualsY)

SiPixelPhase1TrackResidualsAnalyzer = cms.EDAnalyzer(
    "SiPixelPhase1TrackResiduals",
    trajectoryInput=cms.string("generalTracks"),
    Tracks=cms.InputTag("generalTracks"),
    VertexCut=cms.bool(True),  # Will not apply the vertex cuts on cosmics
    histograms=SiPixelPhase1TrackResidualsConf,
    geometry=SiPixelPhase1Geometry)

SiPixelPhase1TrackResidualsHarvester = DQMEDHarvester(
    "SiPixelPhase1Harvester",
    histograms=SiPixelPhase1TrackResidualsConf,
    geometry=SiPixelPhase1Geometry)
Ejemplo n.º 21
0
	'root://cmsxrootd-site.fnal.gov//store/mc/Phys14DR/TTJets_MSDecaysCKM_central_Tune4C_13TeV-madgraph-tauola/MINIAODSIM/PU20bx25_PHYS14_25_V1-v1/00000/80003E1C-0675-E411-BD36-003048D4399E.root'


  )
)

###############################################
# ANA
process.demo = cms.EDAnalyzer("AnalyzeMiniPlusSubstructure",
    vertices = cms.InputTag("offlineSlimmedPrimaryVertices"),
    muons = cms.InputTag("slimmedMuons"),
    electrons = cms.InputTag("slimmedElectrons"),
    taus = cms.InputTag("slimmedTaus"),
    photons = cms.InputTag("slimmedPhotons"),
    jets = cms.InputTag("slimmedJets"),
    fatjets = cms.InputTag("slimmedJetsAK8"),
    mets = cms.InputTag("slimmedMETs"),
    pfCands = cms.InputTag("packedPFCandidates"),
    packed = cms.InputTag("packedGenParticles"),
    pruned = cms.InputTag("prunedGenParticles"),
    bits = cms.InputTag("TriggerResults","","HLT"),
    prescales = cms.InputTag("patTrigger")
)

process.TFileService = cms.Service("TFileService",
      fileName = cms.string("ttbar141.root"),
      closeFileFast = cms.untracked.bool(True)
  )

###############################################
# RECO AND GEN SETUP
Ejemplo n.º 22
0
SUSY_HLT_Ele_HT_SingleLepton = cms.EDAnalyzer(
    'SUSY_HLT_SingleLepton',
    electronCollection=cms.InputTag('gedGsfElectrons'),
    muonCollection=cms.InputTag(''),
    pfMetCollection=cms.InputTag('pfMet'),
    pfJetCollection=cms.InputTag('ak4PFJets'),
    jetTagCollection=cms.InputTag(''),
    vertexCollection=cms.InputTag('offlinePrimaryVertices'),
    conversionCollection=cms.InputTag('conversions'),
    beamSpot=cms.InputTag('offlineBeamSpot'),
    leptonFilter=cms.InputTag('hltEle15VVVLGsfTrackIsoFilter', '', 'HLT'),
    hltHt=cms.InputTag('hltPFHT', '', 'HLT'),
    hltMet=cms.InputTag(''),
    hltJets=cms.InputTag(''),
    hltJetTags=cms.InputTag(''),
    triggerResults=cms.InputTag('TriggerResults', '', 'HLT'),
    trigSummary=cms.InputTag('hltTriggerSummaryAOD', '', 'HLT'),
    hltProcess=cms.string('HLT'),
    triggerPath=cms.string('HLT_Ele15_IsoVVVL_PFHT600'),
    triggerPathAuxiliary=cms.string('HLT_Ele35_eta2p1_WP85_Gsf_v'),
    triggerPathLeptonAuxiliary=cms.string(
        'HLT_PFHT350_PFMET120_NoiseCleaned_v'),
    csvlCut=cms.untracked.double(0.244),
    csvmCut=cms.untracked.double(0.679),
    csvtCut=cms.untracked.double(0.898),
    jetPtCut=cms.untracked.double(40.0),
    jetEtaCut=cms.untracked.double(3.0),
    metCut=cms.untracked.double(250.0),
    htCut=cms.untracked.double(450.0),
    leptonPtThreshold=cms.untracked.double(25.0),
    htThreshold=cms.untracked.double(750.0),
    metThreshold=cms.untracked.double(-1.0),
    csvThreshold=cms.untracked.double(-1.0))
Ejemplo n.º 23
0
process.vlsbinfo = cms.EDProducer("VLSBInformationProducer",
                                  minSample=cms.untracked.uint32(0),
                                  maxSample=cms.untracked.uint32(31),
                                  baselineSamples=cms.untracked.uint32(3),
                                  useMotherBoard0=cms.untracked.bool(True),
                                  useMotherBoard1=cms.untracked.bool(False),
                                  useMotherBoard2=cms.untracked.bool(False),
                                  useMotherBoard3=cms.untracked.bool(False))

process.adc = cms.EDProducer("FillAdcDistributionAnalyzer",
                             output=cms.untracked.string("Adc_300.root"),
                             baselineSubtraction=cms.untracked.bool(True),
                             invert=cms.untracked.bool(True),
                             hidef=cms.untracked.bool(True),
                             divideMIP=cms.untracked.bool(False))

process.ABCcut = cms.EDFilter("SingleTowerParticleFilter")

process.eventdisplay = cms.EDAnalyzer(
    "FillEventDisplayAnalyzer",
    output=cms.untracked.string("EventDisplay_108278.root"),
    maxEvent=cms.untracked.int32(100))

process.MessageLogger = cms.Service(
    "MessageLogger",
    default=cms.untracked.PSet(reportEvery=cms.untracked.int32(100)))

process.p = cms.Path(process.tbunpack * process.ABCcut * process.vlsbinfo *
                     process.adc * process.eventdisplay)
##   ____      __       __    ___                 ___    _ 
##  / ___|___ / _|      \ \  |_ _|___  ___       |_ _|__| |
## | |  _/ __| |_   _____\ \  | |/ __|/ _ \       | |/ _` |
## | |_| \__ \  _| |_____/ /  | |\__ \ (_) |  _   | | (_| |
##  \____|___/_|        /_/  |___|___/\___/  ( ) |___\__,_|
##                                           |/            
##  gsf electron --> isolation, electron id  etc.
process.GsfElectronToIdMediumIDonly = cms.EDAnalyzer("TagProbeFitTreeProducer",
#    CommonStuffForSuperClusterProbe, mcTruthCommonStuff,
    mcTruthCommonStuff, CommonStuffForGsfElectronProbe,
    tagProbePairs = cms.InputTag("tagTightGsf"),
    arbitration   = cms.string("None"),
    flags = cms.PSet(
#        probe_isWP95 = cms.InputTag("WP95MatchedSuperClusterCandsClean"),
        probe_isWPMedium = cms.InputTag("PassingWPMedium"),
        probe_isWPMediumIDonly = cms.InputTag("PassingWPMediumIDonly"),
        probe_isWPMediumISOonly = cms.InputTag("PassingWPMediumISOonly")
    ),
    probeMatches  = cms.InputTag("McMatchGsf"),
#    allProbes     = cms.InputTag("PassingEle8Mass50HLTGsf")
    allProbes     = cms.InputTag("goodElectrons")
)

process.IdToWPMedium= process.GsfElectronToIdMediumIDonly.clone()
process.IdToWPMedium.tagProbePairs = cms.InputTag("tagWPMediumIDonly")
process.IdToWPMedium.flags = cms.PSet(probe_isWPMedium = cms.InputTag("PassingWPMedium"))
process.IdToWPMedium.allProbes = cms.InputTag("PassingWPMediumIDonly")

##Proposed by Anil (for method 3)
process.IsoToWPMedium= process.GsfElectronToIdMediumIDonly.clone()
Ejemplo n.º 25
0
hltSMPValidator = cms.EDAnalyzer("HLTHiggsValidator",
		
    hltProcessName = cms.string("HLT"),
    histDirectory  = cms.string("HLT/SMP"),
    analyses       = cms.vstring("SinglePhoton","SingleEle"),
    
    # -- The instance name of the reco::GenParticles collection
    genParticleLabel = cms.string("genParticles"),

    # -- The instance name of the reco::GenJets collection
    # (not used but required to be set)
    genJetLabel = cms.string("ak5GenJets"),

    # -- The nomber of interactions in the event
    pileUpInfoLabel  = cms.string("addPileupInfo"),

    # -- The binning of the Pt efficiency plots
    parametersTurnOn = cms.vdouble(0,
                                   1, 8, 9, 10,
                                   11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
                                   22, 24, 26, 28, 30, 32, 34, 36, 38, 40,
                                   45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 
                                   110, 120, 130, 140, 150, 160, 170, 180, 190, 200,
                                   220, 250, 300, 400, 500
                                   ),

    # -- (NBins, minVal, maxValue) for the Eta,Phi and nInterations efficiency plots
    parametersEta      = cms.vdouble(48, -2.400, 2.400),
    parametersPhi      = cms.vdouble(50, -3.142, 3.142),
    parametersPu       = cms.vdouble(10, 0, 20),

    # TO BE DEPRECATED --------------------------------------------
    cutsDr = cms.vdouble(0.4, 0.4, 0.015), # TO BE DEPRECATED
    # parameters for attempting an L1 match using a propagator
    maxDeltaPhi = cms.double(0.4),  # TO BE DEPRECATED
    maxDeltaR   = cms.double(0.4),  # TO BE DEPRECATED
    # TO BE DEPRECATED --------------------------------------------

    # Definition of generic cuts on generated and reconstructed objects (note that
    # these cuts can be overloaded inside a particular analysis)
    # Objects recognized: Mu Ele Photon PFTau MET
    # Syntax in the strings: valid syntax of the StringCutObjectSelector class
    # --- Muons
    Mu_genCut     = cms.string("pt > 10 && abs(eta) < 2.4 && abs(pdgId) == 13 && status == 1"),
    Mu_recCut     = cms.string("pt > 10 && abs(eta) < 2.4 && isGlobalMuon"),
    Mu_cutMinPt   = cms.double(10),  # TO BE DEPRECATED
    Mu_cutMaxEta  = cms.double(2.4), # TO BE DEPRECATED
    
    # --- Electrons
    Ele_genCut      = cms.string("pt > 10 && abs(eta) < 2.5 && abs(pdgId) == 11 && status == 1"),
    Ele_recCut      = cms.string("pt > 10 && abs(eta) < 2.5 && hadronicOverEm < 0.05 && eSuperClusterOverP > 0.5 && eSuperClusterOverP < 2.5"),
    Ele_cutMinPt    = cms.double(10),  # TO BE DEPRECATED
    Ele_cutMaxEta   = cms.double(2.5), # TO BE DEPRECATED

    # --- Photons
    Photon_genCut     = cms.string("abs(pdgId) == 22 && status == 1"),
    Photon_recCut     = cms.string("pt > 20 && abs(eta) < 2.4 && hadronicOverEm < 0.1 && ("+\
        "   abs(eta) < 1.479 && sigmaIetaIeta < 0.010  || "+\
        "   abs(eta) > 1.479 && sigmaIetaIeta < 0.027 ) && "+\
        " ecalRecHitSumEtConeDR03 < (5.0+0.012*et) && hcalTowerSumEtConeDR03 < (5.0+0.0005*et )  && trkSumPtSolidConeDR03 < (5.0 + 0.0002*et)" ),
    Photon_cutMinPt   = cms.double(20), # TO BE DEPRECATED
    Photon_cutMaxEta  = cms.double(2.4),# TO BE DEPRECATED

    # The specific parameters per analysis: the name of the parameter set has to be 
    # the same as the defined ones in the 'analysis' datamember. Each analysis is a PSet
    # with the mandatory attributes:
    #    - hltPathsToCheck (cms.vstring) : a list of all the trigger pats to be checked 
    #                 in this analysis. Up to the version number _v, but not including 
    #                 the number in order to avoid this version dependence. Example: HLT_Mu18_v
    #    - recVarLabel (cms.string): where Var can be Muon, Elec, Photon, CaloMET, PFTau. This 
    #                 attribute is the name of the INSTANCE LABEL for each RECO collection to 
    #                 be considered in the analysis. Note that the trigger paths rely on some 
    #                 objects which need to be defined here, otherwise the code will complain. 
    #    - minCandidates (cms.uint32): the minimum number of GEN/RECO objects in the event
    # Besides the mandatory attributes, you can redefine the generation and reconstruction cuts
    # for any object you want.
    #    * Var_genCut, Var_recCut (cms.string): where Var=Mu, Ele, Photon, MET, PFTau (see above)

    SinglePhoton = cms.PSet( 
      hltPathsToCheck = cms.vstring(
        "HLT_Photon33_v",
        "HLT_Photon50_v",
        "HLT_Photon75_v",
        "HLT_Photon90_v",
        "HLT_Photon120_v",
        "HLT_Photon165_HE10_v",
        "HLT_Photon33_R9Id90_HE10_IsoM_v",
        "HLT_Photon50_R9Id90_HE10_IsoM_v",
        "HLT_Photon75_R9Id90_HE10_IsoM_v",
        "HLT_Photon90_R9Id90_HE10_IsoM_v",
        "HLT_Photon120_R9Id90_HE10_IsoM_v",
        "HLT_Photon165_R9Id90_HE10_IsoM_v",
        ),
      recPhotonLabel  = cms.string("photons"),
      # -- Analysis specific cuts
      minCandidates = cms.uint32(1), 
      ),
    SingleEle = cms.PSet( 
      hltPathsToCheck = cms.vstring(
        "HLT_Ele35_WPTight_Gsf_v",
        "HLT_Ele38_WPTight_Gsf_v",
        "HLT_Ele40_WPTight_Gsf_v",
        "HLT_Ele35_WPTight_Gsf_L1EGMT_v",
        ),
      recElecLabel  = cms.string("gedGsfElectrons"),
      # -- Analysis specific cuts
      minCandidates = cms.uint32(1), 
      ),
)
Ejemplo n.º 26
0
process.MyProcess = cms.EDAnalyzer(
    "MyPixAnalyzer",

    #####################
    # Global parameters #
    #####################
    PrintMsg=cms.bool(False),
    IsMC=cms.bool(False),
    IsTrkPart=cms.bool(False),
    AnalysisType=cms.string(
        "Track"),  # "Track" OR "Vertex" OR "TrackANDVertex"
    MinTkTracks=cms.uint32(10),
    MaxTkTracks=cms.uint32(100),
    MinHitsMatch=cms.uint32(3),
    TkXYVxErrCorr=cms.double(0.89),
    TkZVxErrCorr=cms.double(0.87),

    ####################
    # Track parameters #
    ####################
    MaxEtaTkTrk=cms.double(2.3),
    MaxChi2PxTrk=cms.double(15.0),
    MaxChi2TkTrk=cms.double(5.0),
    RangePt=cms.double(8.0),  # Must be an integer number of PtStep
    PtStep=cms.double(0.25),
    RangeEta=cms.double(2.3),  # Must be an integer number of EtaStep
    EtaStep=cms.double(0.1),
    RangePhi=cms.double(180.0),
    PhiStep=cms.double(6.0),
    RangeChi2=cms.double(30.0),
    Chi2Step=cms.double(3.0),
    TrBound=cms.double(0.1),  # With respec to to Beam Spot or parent vertex
    TzBound=cms.double(1.0),  # With respec to to Beam Spot or parent vertex
    MinValidHitsPx=cms.uint32(3),
    MinValidHitsTk=cms.uint32(8),
    MinTrkVxDoF=cms.double(40.0),
    MinTrkVxWgt=cms.double(0.85),
    MinPtTk=cms.double(1.0),

    #####################
    # Vertex parameters #
    #####################
    VxInputTag=cms.InputTag("pixelVertices"),
    MaxEtaVxTrk=cms.double(2.3),
    MaxChi2VxTrk=cms.double(30.0),
    VrBound=cms.double(0.1),  # With respecto to Beam Spot
    VzBound=cms.double(10.0),  # With respecto to Beam Spot
    MinVxDoF=cms.double(2.0),
    MinVxTrkMatch=cms.uint32(2),
    PxVxErrCorr=cms.double(1.5),
    MinPtVx=cms.double(0.9),
    TrackAssociatorByHitsPSet=cms.PSet(
        ROUList=cms.vstring(
            "g4SimHitsTrackerHitsTIBLowTof", "g4SimHitsTrackerHitsTIBHighTof",
            "g4SimHitsTrackerHitsTIDLowTof", "g4SimHitsTrackerHitsTIDHighTof",
            "g4SimHitsTrackerHitsTOBLowTof", "g4SimHitsTrackerHitsTOBHighTof",
            "g4SimHitsTrackerHitsTECLowTof", "g4SimHitsTrackerHitsTECHighTof",
            "g4SimHitsTrackerHitsPixelBarrelLowTof",
            "g4SimHitsTrackerHitsPixelBarrelHighTof",
            "g4SimHitsTrackerHitsPixelEndcapLowTof",
            "g4SimHitsTrackerHitsPixelEndcapHighTof"),
        UseGrouped=cms.bool(True),
        UseSplitting=cms.bool(True),
        UsePixels=cms.bool(True),  # It will consider also pixel hits
        ThreeHitTracksAreSpecial=cms.bool(
            True
        ),  # If the track has only three hits, then all of them must be matched
        AbsoluteNumberOfHits=cms.bool(False),
        associatePixel=cms.bool(True),
        associateStrip=cms.bool(True),
        associateRecoTracks=cms.bool(True),
        Cut_RecoToSim=cms.double(0.75),
        Quality_SimToReco=cms.double(
            0.5),  # Used only if SimToRecoDenominator = "sim"
        Purity_SimToReco=cms.double(0.75),
        SimToRecoDenominator=cms.string("reco")))
process.bhana = cms.EDAnalyzer('BHAnalyzerTLBSM',
  beamSpot = cms.InputTag('offlineBeamSpot'),
  electronTag = cms.InputTag("slimmedElectrons"),
  muonTag = cms.untracked.InputTag("slimmedMuons"),
  jetTag = cms.untracked.InputTag("slimmedJets"),
  tauTag = cms.untracked.InputTag("slimmedTaus"),
  metTag = cms.untracked.InputTag("slimmedMETs"),
  photonTag = cms.InputTag("slimmedPhotons"),
  rho_lable    = cms.untracked.InputTag("fixedGridRhoFastjetAll"),
  ebRecHitTag = cms.untracked.InputTag("reducedEgamma", "reducedEBRecHits"),
  eeRecHitTag = cms.untracked.InputTag("reducedEgamma", "reducedEERecHits"),
  primaryVertex = cms.untracked.InputTag("offlineSlimmedPrimaryVertices"),
  triggerTag = cms.untracked.InputTag("TriggerResults","","HLT"),
  filterTag = cms.untracked.InputTag("TriggerResults","","RECO"),
  prescales = cms.InputTag("patTrigger"), 
  verticesMiniAOD     = cms.InputTag("offlineSlimmedPrimaryVertices"),
  conversionsMiniAOD  = cms.InputTag('reducedEgamma:reducedConversions'),

  eleVetoIdMap = cms.InputTag("egmGsfElectronIDs:cutBasedElectronID-Summer16-80X-V1-veto"),
  eleLooseIdMap = cms.InputTag("egmGsfElectronIDs:cutBasedElectronID-Summer16-80X-V1-loose"),
  eleMediumIdMap = cms.InputTag("egmGsfElectronIDs:cutBasedElectronID-Summer16-80X-V1-medium"),
  eleTightIdMap = cms.InputTag("egmGsfElectronIDs:cutBasedElectronID-Summer16-80X-V1-tight"),
 
 # TODO: These need to be updated when Run2 25ns cut-based photonID comes available
  phoLooseIdMap = cms.InputTag("egmPhotonIDs:cutBasedPhotonID-Spring15-25ns-V1-standalone-loose"),
  phoMediumIdMap = cms.InputTag("egmPhotonIDs:cutBasedPhotonID-Spring15-25ns-V1-standalone-medium"),
  phoTightIdMap = cms.InputTag("egmPhotonIDs:cutBasedPhotonID-Spring15-25ns-V1-standalone-tight"),
 
  MCLabel = cms.untracked.bool(False),                               
  DEBUG = cms.untracked.bool(False)                               
)
process.demo = cms.EDAnalyzer("MakeZprimeMiniAodTreeHEEPData",
    outputFile = cms.string('Data.root'),
    eleTrkPtIsoLabel = cms.InputTag("heepIDVarValueMaps","eleTrkPtIso"),
    scProducer = cms.InputTag("reducedEgamma:reducedSuperClusters"),
    vertices   = cms.InputTag("offlineSlimmedPrimaryVertices"),
    muons      = cms.InputTag("slimmedMuons"),
    electrons  = cms.InputTag("slimmedElectrons"),
    eles       = cms.InputTag("slimmedElectrons"),
    taus       = cms.InputTag("slimmedTaus"),
    photons    = cms.InputTag("slimmedPhotons"),
    #jets       = cms.InputTag("slimmedJetsCMSTopTagCHSPacked:SubJets"),
    jets       = cms.InputTag("slimmedJets"),
    #jets        = cms.InputTag("slimmedJetsPuppi"),
    mets       = cms.InputTag("slimmedMETs"),
    #mets       = cms.InputTag("slimmedMETsNoHF"),
    packed     = cms.InputTag("packedGenParticles"),
    pruned     = cms.InputTag("prunedGenParticles"),
    pfCands    = cms.InputTag("packedPFCandidates"),
    rhoIsoInputTag          = cms.InputTag("fixedGridRhoFastjetCentralChargedPileUp"),
    EBrecHitCollectionLabel = cms.InputTag("reducedEgamma","reducedEBRecHits"),
    EErecHitCollectionLabel = cms.InputTag("reducedEgamma","reducedEERecHits"),
    ecalRechitEB            = cms.InputTag("reducedEgamma","reducedEBRecHits"),
    ecalRechitEE            = cms.InputTag("reducedEgamma","reducedEERecHits"),
    JetSource               = cms.InputTag('slimmedGenJets'),
    PileupSrc               = cms.InputTag("slimmedAddPileupInfo"),
    #METSignificance        = cms.InputTag("METSignificance","METSignificance"),
    #generalTracksLabel      = cms.InputTag("generalTracks"),
    bits           = cms.InputTag("TriggerResults","","HLT"),
    prescales      = cms.InputTag("patTrigger"),
    objects        = cms.InputTag("selectedPatTrigger"),
    GenBosonID     = cms.int32(1000000),
    ParticleID1    = cms.int32(13),
    ParticleID2    = cms.int32(11),
    ParticleID3    = cms.int32(15),
    ParticleStatus = cms.int32(25),
    maxAbsZ  = cms.double(24),
    maxd0    = cms.double(2),
    minndof  = cms.int32(4),
    NbGoodPv = cms.int32(1),
    bDiscriminators = cms.vstring(      # list of b-tag discriminators to access
        #'pfTrackCountingHighEffBJetTags',
        #'pfTtrackCountingHighPurBJetTags',
        #'pfJetProbabilityBJetTags',
        #'pfJetBProbabilityBJetTags',
        #'pfSimpleSecondaryVertexHighEffBJetTags',
        #'pfSimpleSecondaryVertexHighPurBJetTags',
        #'pfCombinedSecondaryVertexV2BJetTags',
        'pfCombinedInclusiveSecondaryVertexV2BJetTags'
        #'pfCombinedMVABJetTags'
    ),

    #Analysis = cms.string('ZprimeToEE')
    Analysis = cms.string('ZprimeToMuMu')
)
Ejemplo n.º 29
0
    "PoolSource",
    fileNames = cms.untracked.vstring(),
    eventsToProcess = cms.untracked.VEventRange(),
    secondaryFileNames = cms.untracked.vstring(),
    noEventSort = cms.untracked.bool(True),
    duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
)

from RecoParticleFlow.Configuration.reco_QCDForPF_cff import fileNames
process.source.fileNames = [ '/store/relval/CMSSW_5_0_0/RelValQCD_FlatPt_15_3000/GEN-SIM-RECO/START50_V8-v2/0073/324BAB7B-C328-E111-B624-00261894389E.root',
                             '/store/relval/CMSSW_5_0_0/RelValQCD_FlatPt_15_3000/GEN-SIM-RECO/START50_V8-v2/0073/72BA0554-C328-E111-B2A6-002618943972.root',
                             '/store/relval/CMSSW_5_0_0/RelValQCD_FlatPt_15_3000/GEN-SIM-RECO/START50_V8-v2/0073/B44EAD5D-C328-E111-8057-0018F3D096BC.root',
                             '/store/relval/CMSSW_5_0_0/RelValQCD_FlatPt_15_3000/GEN-SIM-RECO/START50_V8-v2/0073/EE7D4C4A-0529-E111-84F5-002618943900.root'
    ]
    
process.dump = cms.EDAnalyzer("EventContentAnalyzer")


process.load("RecoParticleFlow.Configuration.ReDisplay_EventContent_NoTracking_cff")
process.display = cms.OutputModule("PoolOutputModule",
                                   process.DisplayEventContent,
    fileName = cms.untracked.string('display.root')
)

# modify reconstruction sequence
process.pfTrack.MuColl = cms.InputTag('muons')
process.particleFlowTmp.muons = cms.InputTag('muons')
process.particleFlow.FillMuonRefs = False
#process.particleFlowTmp.useHO = True

Ejemplo n.º 30
0
#          tag = cms.string('SiPixelTemplateDBObject0Tv2_express')
#          tag = cms.string('SiPixelTemplateDBObject_0T_v3_offline')
        )),
        timetype = cms.string('runnumber'),
#     connect = cms.string('sqlite_file:../../../../../DB/310815/SiPixelTemplateDBObject_38T_2015_v3.db')
#     connect = cms.string('sqlite_file:../../../../../DB/310815/SiPixelTemplateDBObject_0T_2015_v3.db')
#     connect = cms.string('sqlite_file:../../../../../DB/phase1/SiPixelTemplateDBObject_phase1_38T_mc_v1.db')
     connect = cms.string('sqlite_file:SiPixelTemplateDBObject_phase1_38T_mc_v1.db')
#     connect = cms.string('frontier://FrontierPrep/CMS_CONDITIONS')
#     connect = cms.string('frontier://FrontierProd/CMS_CONDITIONS')
    )
    #process.PoolDBESSource.DBParameters.authenticationPath='.'
    #process.PoolDBESSource.DBParameters.messageLevel=0
  process.es_prefer_DBReader = cms.ESPrefer("PoolDBESSource","DBReader")
# end if

process.reader = cms.EDAnalyzer("SiPixelTemplateDBReader",
                    siPixelTemplateCalibrationLocation = cms.string(""),
                    wantDetailedTemplateDBErrorOutput = cms.bool(True),
                    wantFullTemplateDBOutput = cms.bool(True),
                    useBFieldFromGlobalTag = cms.bool(False)
                   )

process.p = cms.Path(process.reader)