Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
import FWCore.ParameterSet.Config as cms

from CalibTracker.SiStripCommon.ShallowEventDataProducer_cfi import *
from CalibTracker.SiStripCommon.ShallowClustersProducer_cfi import *
from CalibTracker.SiStripCommon.ShallowTrackClustersProducer_cfi import *
from CalibTracker.SiStripCommon.ShallowRechitClustersProducer_cfi import *
from CalibTracker.SiStripCommon.ShallowSimhitClustersProducer_cfi import *
from CalibTracker.SiStripCommon.ShallowTracksProducer_cfi import *
from CalibTracker.SiStripCommon.ShallowSimTracksProducer_cfi import *

shallowTree = cms.EDAnalyzer("ShallowTree",
                             outputCommands = cms.untracked.vstring(
    'drop *',
    'keep *_shallowEventRun_*_*',
    'keep *_shallowClusters_*_*',
    'keep *_shallowRechitClusters_*_*',
    'keep *_shallowTracks_*_*',
    'keep *_shallowTrackClusters_*_*',
    'keep *_shallowSimhitClusters_*_*',
    'keep *_shallowSimTracks_*_*'
    ))

theBigNtuple = cms.Sequence( (shallowEventRun +
                              shallowClusters +
                              shallowRechitClusters +
                              shallowSimhitClusters +
                              shallowTrackClusters +
                              shallowTracks +
                              shallowSimTracks) *
                             shallowTree
                             )