ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HiggsAnalysis/EarlyDataStudy/scripts/extractSkim.php
Revision: 1.1
Committed: Thu May 6 15:14:20 2010 UTC (14 years, 11 months ago) by mangano
Branch: MAIN
CVS Tags: V00-02-00, V00-01-03, V00-01-02, V00-01-01, V00-01-00, V00-00-01, V00-00-00, HEAD
Error occurred while calculating annotation data.
Log Message:
first commit

File Contents

# Content
1 <html>
2 <body>
3 <pre>
4 import FWCore.ParameterSet.Config as cms
5 process = cms.Process('cmsExtractSkim')
6
7 process.load("FWCore.MessageLogger.MessageLogger_cfi")
8 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
9
10 process.source = cms.Source("PoolSource",
11 fileNames = cms.untracked.vstring(),
12 inputCommands = cms.untracked.vstring(
13 'keep *',
14 )
15 )
16
17
18 process.source.fileNames = cms.untracked.vstring(
19 '<?php print $_GET["input"] ?>'
20 )
21
22 from HLTrigger.HLTfilters.hltHighLevelDev_cfi import hltHighLevelDev
23 process.skim = hltHighLevelDev.clone(
24 TriggerResultsTag = cms.InputTag('TriggerResults','','Skim'),
25 throw = False,
26 HLTPaths = ['<?php print $_GET["skimName"] ?>'], HLTPathsPrescales = [1],
27 )
28
29 process.p = cms.Path(process.skim)
30
31 process.out = cms.OutputModule(
32 "PoolOutputModule",
33 fileName = cms.untracked.string('<?php print $_GET["skimName"] ?>.root'),
34 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('p'))
35 )
36
37 process.end = cms.EndPath(process.out)
38 </pre>
39 </body>
40 </html>