1 |
<html>
|
2 |
<body>
|
3 |
<pre>
|
4 |
import FWCore.ParameterSet.Config as cms
|
5 |
process = cms.Process('cmsExtract')
|
6 |
|
7 |
process.load("FWCore.MessageLogger.MessageLogger_cfi")
|
8 |
process.MessageLogger.cerr.FwkReport.reportEvery = 1
|
9 |
|
10 |
process.source = cms.Source(
|
11 |
"PoolSource",
|
12 |
fileNames = cms.untracked.vstring(),
|
13 |
skipBadFiles = cms.untracked.bool(True),
|
14 |
inputCommands = cms.untracked.vstring(
|
15 |
'keep *'
|
16 |
),
|
17 |
eventsToProcess = cms.untracked.VEventRange('<?php print $_GET["run"] ?>:<?php print $_GET["evt"] ?>'),
|
18 |
lumisToProcess = cms.untracked.VLuminosityBlockRange(
|
19 |
'<?php print $_GET["run"] ?>:<?php print $_GET["ls"] ?>',
|
20 |
)
|
21 |
|
22 |
)
|
23 |
|
24 |
process.source.fileNames = cms.untracked.vstring(
|
25 |
'<?php print $_GET["input"] ?>'
|
26 |
)
|
27 |
|
28 |
|
29 |
process.out = cms.OutputModule(
|
30 |
"PoolOutputModule",
|
31 |
fileName = cms.untracked.string('<?php print $_GET["run"] ?>.<?php print $_GET["ls"] ?>.<?php print $_GET["evt"] ?>.root'),
|
32 |
)
|
33 |
process.end = cms.EndPath(process.out)
|
34 |
</pre>
|
35 |
</body>
|
36 |
</html>
|