process TEST = { source = PoolSource { untracked vstring fileNames = { "file:./mtcc.root" } } untracked PSet maxEvents = {untracked int32 input = 100000} # Specify the output file for the reconstructed events. module out = PoolOutputModule { untracked string fileName ="eventsOutput.root" } # These are some useful utilities. service = Timing { } service = SimpleMemoryCheck { } # specify the data unpacker, which makes the digis module cscunpacker = CSCDCCUnpacker { untracked bool Debug = false untracked bool PrintEventNumber = true FileInPath theMappingFile = "CondFormats/CSCObjects/data/csc_slice_test_map.txt" untracked bool UseExaminer = true untracked uint32 ErrorMask = 0xDFCFEFFF untracked uint32 ExaminerMask = 0x7FB7BF6 InputTag InputObjects = source untracked bool UnpackStatusDigis = false untracked bool isMTCCData = false } # These are some geometry modules needed for recHits and segments # (I'm not sure what to do about the magnetic field.) include "Geometry/MuonCommonData/data/muonIdealGeometryXML.cfi" include "Geometry/CSCGeometry/data/cscGeometry.cfi" # include "MagneticField/Engine/data/volumeBasedMagneticField.cfi" es_module = MuonNumberingInitialization { } # Specify the recHit reconstruction routine. # The first file sets default paramters. include "RecoLocalMuon/CSCRecHit/data/csc2DRecHits.cfi" # Specify the segment reconstruction routine. include "RecoLocalMuon/CSCSegment/data/CSCSegmentAlgorithmSK.cfi" include "RecoLocalMuon/CSCSegment/data/CSCSegmentAlgorithmTC.cfi" module segmentproducer = CSCSegmentProducer { InputTag inputObjects = csc2DRecHits # Name of RecHitProducer producer module(s)... string CSCRecHit2DProducer = "csc2DRecHits" # Choice of the building algo: 1 SK, 2 TC... int32 algo_type = 1 VPSet algo_psets = { {using CSCSegAlgoSK}, {using CSCSegAlgoTC} } } # Finally, specify my user analysis package ! module mine = myRoutines{ untracked bool writeAsciiFiles = false untracked string rootFileName = 'monHists.root' } # Here is the path of modules for the analysis of a single event: path p = {cscunpacker, csc2DRecHits, segmentproducer, mine} # Specify the output: # endpath e = {out} }