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.5 by cgoetzma, Wed Dec 7 18:33:35 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=1
9  
10   process = cms.Process("Demo")
11  
# Line 13 | Line 13 | process.load("FWCore.MessageService.Mess
13   process.MessageLogger.cerr.FwkReport.reportEvery = 50
14  
15   #name of the output file containing the tree
16 < process.TFileService = cms.Service("TFileService", fileName = cms.string("analyzerTree.root") )
16 > process.TFileService = cms.Service("TFileService", fileName = cms.string("startup.root") )
17  
18   process.load( "RecoTracker.Configuration.RecoTracker_cff" )
19   process.load( "Configuration.StandardSequences.Services_cff" )
# Line 134 | Line 134 | process.treeWithoutConstraints = cms.EDA
134      labelTrajToTrack = cms.InputTag('TrackRefitterWithoutConstraint'),
135      siStripClusters  = cms.InputTag('TrackRefitterWithoutConstraint'),
136      primaryVertexColl= cms.InputTag('offlinePrimaryVertices'),
137 +    offlineBeamSpot  = cms.InputTag('offlineBeamSpot'),
138      isLaserRun       = cms.bool(False),
139      isMC             = cms.bool(True),
140      algoName         = cms.string("NoAlgo"),
# Line 170 | Line 171 | process.treeTBDFullConstraints = cms.EDA
171      labelTrajToTrack = cms.InputTag('TrackRefitterTBDFullConstraint'),
172      siStripClusters  = cms.InputTag('TrackRefitterTBDFullConstraint'),
173      primaryVertexColl= cms.InputTag('offlinePrimaryVertices'),
174 +    offlineBeamSpot  = cms.InputTag('offlineBeamSpot'),
175      isLaserRun       = cms.bool(False),
176      isMC             = cms.bool(True),
177      algoName         = cms.string("FullTBD"),
# Line 205 | Line 207 | process.treeTBDMomConstraints = cms.EDAn
207      labelTrajToTrack = cms.InputTag('TrackRefitterTBDMomConstraint'),
208      siStripClusters  = cms.InputTag('TrackRefitterTBDMomConstraint'),
209      primaryVertexColl= cms.InputTag('offlinePrimaryVertices'),
210 +    offlineBeamSpot  = cms.InputTag('offlineBeamSpot'),
211      isLaserRun       = cms.bool(False),
212      isMC             = cms.bool(True),
213      algoName         = cms.string("MomTBD"),
# Line 240 | Line 243 | process.treeKinFitConstraints = cms.EDAn
243      labelTrajToTrack = cms.InputTag('TrackRefitterKinFit'),
244      siStripClusters  = cms.InputTag('TrackRefitterKinFit'),
245      primaryVertexColl= cms.InputTag('offlinePrimaryVertices'),
246 +    offlineBeamSpot  = cms.InputTag('offlineBeamSpot'),
247      isLaserRun       = cms.bool(False),
248      isMC             = cms.bool(True),
249      algoName         = cms.string("KinFit"),
# Line 275 | Line 279 | process.treeTBDVertexConstraints = cms.E
279      labelTrajToTrack = cms.InputTag('TrackRefitterTBDVertexConstraint'),
280      siStripClusters  = cms.InputTag('TrackRefitterTBDVertexConstraint'),
281      primaryVertexColl= cms.InputTag('offlinePrimaryVertices'),
282 +    offlineBeamSpot  = cms.InputTag('offlineBeamSpot'),
283      isLaserRun       = cms.bool(False),
284      isMC             = cms.bool(True),
285      algoName         = cms.string("VtxTBD"),
# Line 303 | Line 308 | process.p = cms.Path( process.AlignmentT
308                        process.treeKinFitConstraints*
309                        process.TwoBodyDecayVertexConstraint *
310                        process.TrackRefitterTBDVertexConstraint *
311 <                      process.treeTBDVertexConstraints)
311 >                      process.treeTBDVertexConstraints
312 >                      )
313  
314   process.outpath = cms.EndPath(process.out)
315  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines