Skip to content

Commit bcadd42

Browse files
committed
Renamed plugin
1 parent 814e615 commit bcadd42

15 files changed

+839
-101
lines changed
File renamed without changes.
-11.5 KB
Binary file not shown.

Demo/DemoAnalyzer/demoanalyzer_cfg.py

Lines changed: 0 additions & 101 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

demoanalyzer_cfg.py

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
import FWCore.ParameterSet.Config as cms
2+
from RecoMuon.TrackingTools.MuonServiceProxy_cff import *
3+
import PhysicsTools.PythonAnalysis.LumiList as LumiList
4+
import FWCore.ParameterSet.Types as CfgTypes
5+
#import FWCore.PythonUtilities.LumiList as LumiList
6+
process = cms.Process("Validation")
7+
8+
# intialize MessageLogger and output report
9+
process.load("FWCore.MessageLogger.MessageLogger_cfi")
10+
process.MessageLogger.cerr.threshold = 'INFO'
11+
process.MessageLogger.categories.append('Validation')
12+
process.MessageLogger.cerr.INFO = cms.untracked.PSet(limit = cms.untracked.int32(-1))
13+
process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
14+
# **********************************************************************
15+
# set the maximum number of events to be processed *
16+
# this number (argument of int32) is to be modified by the user *
17+
# according to need and wish *
18+
# default is preset to 10000 events *
19+
# **********************************************************************
20+
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(20000000) )
21+
22+
# ****************************************************************************
23+
# define the input data set here by inserting the appropriate .txt file list *
24+
# ****************************************************************************
25+
import FWCore.Utilities.FileUtils as FileUtils
26+
#
27+
# ****************************************************************
28+
# exactly one of the following 'files2010data =' statements *
29+
# should be uncommented. *
30+
# For MUO-10-004, the default is the Mu data set. *
31+
# To run over all sets, replace '0000' by '0001' etc. *
32+
# consecutively (make sure you save the output before rerunning) *
33+
# and add up the histograms using root tools. *
34+
# ****************************************************************
35+
36+
# *** Commissioning data set ***
37+
files2010data = FileUtils.loadListFromFile ('/home/cms-opendata/CMSSW_4_2_8/src/Validation/Commissioning/datasets/CMS_Run2010B_Commissioning_AOD_Apr21ReReco-v1_0000_file_index.txt')
38+
process.source = cms.Source("PoolSource",fileNames = cms.untracked.vstring(*files2010data))
39+
40+
# *************************************************
41+
# number of events to be skipped (0 by default) *
42+
# *************************************************
43+
process.source.skipEvents = cms.untracked.uint32(0)
44+
process.demo = cms.EDAnalyzer('Commissioning')
45+
# ***********************************************************
46+
# output file name *
47+
# change this according to input file, or according to wish *
48+
# ***********************************************************
49+
process.TFileService = cms.Service("TFileService",fileName = cms.string('Commissioning00val.root'))
50+
process.p = cms.Path(process.demo)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)