ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/IPHCalignment2/scripts/testTwoBodyDecayConstraints.py
(Generate patch)

Comparing UserCode/IPHCalignment2/scripts/testTwoBodyDecayConstraints.py (file contents):
Revision 1.4 by jandrea, Wed Nov 30 23:53:16 2011 UTC vs.
Revision 1.6 by cgoetzma, Wed Dec 7 18:44:38 2011 UTC

# Line 5 | Line 5 | import FWCore.ParameterSet.Config as cms
5   # 2 -> IDEAL
6   # 3 -> SAGITTA
7   # 4 -> TWIST
8 < IPHC_GEOM=2
8 > IPHC_GEOM=4
9  
10   process = cms.Process("Demo")
11
11   process.load("FWCore.MessageService.MessageLogger_cfi")
12   process.MessageLogger.cerr.FwkReport.reportEvery = 50
13  
14   #name of the output file containing the tree
15 < process.TFileService = cms.Service("TFileService", fileName = cms.string("analyzerTree.root") )
15 > process.TFileService = cms.Service("TFileService", fileName = cms.string("twist.root") )
16  
17   process.load( "RecoTracker.Configuration.RecoTracker_cff" )
18   process.load( "Configuration.StandardSequences.Services_cff" )
# Line 134 | Line 133 | process.treeWithoutConstraints = cms.EDA
133      labelTrajToTrack = cms.InputTag('TrackRefitterWithoutConstraint'),
134      siStripClusters  = cms.InputTag('TrackRefitterWithoutConstraint'),
135      primaryVertexColl= cms.InputTag('offlinePrimaryVertices'),
136 +    offlineBeamSpot  = cms.InputTag('offlineBeamSpot'),
137      isLaserRun       = cms.bool(False),
138      isMC             = cms.bool(True),
139      algoName         = cms.string("NoAlgo"),
# Line 170 | Line 170 | process.treeTBDFullConstraints = cms.EDA
170      labelTrajToTrack = cms.InputTag('TrackRefitterTBDFullConstraint'),
171      siStripClusters  = cms.InputTag('TrackRefitterTBDFullConstraint'),
172      primaryVertexColl= cms.InputTag('offlinePrimaryVertices'),
173 +    offlineBeamSpot  = cms.InputTag('offlineBeamSpot'),
174      isLaserRun       = cms.bool(False),
175      isMC             = cms.bool(True),
176      algoName         = cms.string("FullTBD"),
# Line 205 | Line 206 | process.treeTBDMomConstraints = cms.EDAn
206      labelTrajToTrack = cms.InputTag('TrackRefitterTBDMomConstraint'),
207      siStripClusters  = cms.InputTag('TrackRefitterTBDMomConstraint'),
208      primaryVertexColl= cms.InputTag('offlinePrimaryVertices'),
209 +    offlineBeamSpot  = cms.InputTag('offlineBeamSpot'),
210      isLaserRun       = cms.bool(False),
211      isMC             = cms.bool(True),
212      algoName         = cms.string("MomTBD"),
# Line 240 | Line 242 | process.treeKinFitConstraints = cms.EDAn
242      labelTrajToTrack = cms.InputTag('TrackRefitterKinFit'),
243      siStripClusters  = cms.InputTag('TrackRefitterKinFit'),
244      primaryVertexColl= cms.InputTag('offlinePrimaryVertices'),
245 +    offlineBeamSpot  = cms.InputTag('offlineBeamSpot'),
246      isLaserRun       = cms.bool(False),
247      isMC             = cms.bool(True),
248      algoName         = cms.string("KinFit"),
# Line 275 | Line 278 | process.treeTBDVertexConstraints = cms.E
278      labelTrajToTrack = cms.InputTag('TrackRefitterTBDVertexConstraint'),
279      siStripClusters  = cms.InputTag('TrackRefitterTBDVertexConstraint'),
280      primaryVertexColl= cms.InputTag('offlinePrimaryVertices'),
281 +    offlineBeamSpot  = cms.InputTag('offlineBeamSpot'),
282      isLaserRun       = cms.bool(False),
283      isMC             = cms.bool(True),
284      algoName         = cms.string("VtxTBD"),
# Line 303 | Line 307 | process.p = cms.Path( process.AlignmentT
307                        process.treeKinFitConstraints*
308                        process.TwoBodyDecayVertexConstraint *
309                        process.TrackRefitterTBDVertexConstraint *
310 <                      process.treeTBDVertexConstraints)
310 >                      process.treeTBDVertexConstraints
311 >                      )
312  
313   process.outpath = cms.EndPath(process.out)
314  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines