Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-28 23:48:28

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # MonitorTrackGlobal
0004 from DQM.TrackingMonitor.TrackingMonitor_cfi import *
0005 MonitorTrackSTAMuons = TrackMon.clone(
0006     # input tags
0007     TrackProducer = ("standAloneMuons","UpdatedAtVtx"),
0008     SeedProducer = "combinedP5SeedsForCTF",
0009     TCProducer = "ckfTrackCandidatesP5",
0010     beamSpot = "offlineBeamSpot",
0011     ClusterLabels = ('Tot',),
0012 
0013     # output parameters
0014     AlgoName = 'sta',
0015     Quality = '',
0016     FolderName = 'Muons/standAloneMuonsUpdatedAtVtx',
0017     BSFolderName = 'Muons/standAloneMuonsUpdatedAtVtx/BeamSpotParameters',
0018 
0019     # determines where to evaluate track parameters
0020     # options: 'default'      --> straight up track parametes
0021     #          'ImpactPoint'  --> evalutate at impact point
0022     #          'InnerSurface' --> evalutate at innermost measurement state
0023     #          'OuterSurface' --> evalutate at outermost measurement state
0024     MeasurementState = 'default',
0025 
0026     # which plots to do
0027     doTrackerSpecific = False,
0028     doAllPlots = False,
0029     doBeamSpotPlots = False,
0030     doSeedParameterHistos = False,
0031     doTrackCandHistos = False,
0032     doDCAPlots = False,
0033     doGeneralPropertiesPlots = True,
0034     doHitPropertiesPlots = True,
0035     doEffFromHitPatternVsPU = False,
0036     doEffFromHitPatternVsBX = False,
0037     #doGoodTrackPlots = False,
0038     doMeasurementStatePlots = True,
0039     doProfilesVsLS = False,
0040     doRecHitVsPhiVsEtaPerTrack = False,
0041     #doGoodTrackRecHitVsPhiVsEtaPerTrack = False,
0042 
0043     # which seed plots to do
0044     doSeedNumberHisto= False,
0045     doSeedVsClusterHisto = False,
0046     doSeedPTHisto = False,
0047     doSeedETAHisto = False,
0048     doSeedPHIHisto = False,
0049     doSeedPHIVsETAHisto = False,
0050     doSeedThetaHisto = False,
0051     doSeedQHisto = False,
0052     doSeedDxyHisto = False,
0053     doSeedDzHisto = False,
0054     doSeedNRecHitsHisto = False,
0055     doSeedNVsPhiProf = False,
0056     doSeedNVsEtaProf = False,
0057 
0058     # paramters of the Track
0059     # ============================================================
0060 
0061     # chi2
0062     Chi2Bin = 250,
0063     Chi2Max = 500.0,
0064     Chi2Min = 0.0,
0065     # chi2 dof
0066     Chi2NDFBin = 200,
0067     Chi2NDFMax = 19.5,
0068     Chi2NDFMin = -0.5,
0069     # chi^2 probability
0070     Chi2ProbBin = 100,
0071     Chi2ProbMax = 1.0,
0072     Chi2ProbMin = 0.0,
0073     # Number of Tracks per Event
0074     TkSizeBin = 11,
0075     TkSizeMax = 10.5,
0076     TkSizeMin = -0.5,
0077     # Number of seeds per Event
0078     TkSeedSizeBin = 20,
0079     TkSeedSizeMax = 19.5,
0080     TkSeedSizeMin = -0.5,
0081     # Number of Track Cadidates per Event
0082     TCSizeBin = 150,
0083     TCSizeMax = 149.5,
0084     TCSizeMin = -0.5,
0085     # num rec hits
0086     TrackQBin = 8,
0087     TrackQMax = 2.5,
0088     TrackQMin = -2.5,
0089     # num rec hits in seed
0090     SeedHitBin = 6,
0091     SeedHitMax = 5.5,
0092     SeedHitMin = -0.5,
0093     # num rec hits per track candidate
0094     TCHitBin = 40,
0095     TCHitMax = 39.5,
0096     TCHitMin = -0.5,
0097     # num rec hits
0098     RecHitBin = 120,
0099     RecHitMax = 120.0,
0100     RecHitMin = 0.0,
0101     # mean rec hits
0102     MeanHitBin = 30,
0103     MeanHitMax = 29.5,
0104     MeanHitMin = -0.5,
0105     # num TOB rec hits
0106     TOBHitBin = cms.int32(15),
0107     TOBHitMin = cms.double(-0.5),
0108     TOBHitMax = cms.double(14.5),
0109     # num TIB rec hits
0110     TIBHitBin = cms.int32(15),
0111     TIBHitMin = cms.double(-0.5),
0112     TIBHitMax = cms.double(14.5),
0113     # num TID rec hits
0114     TIDHitBin = cms.int32(15),
0115     TIDHitMin = cms.double(-0.5),
0116     TIDHitMax = cms.double(14.5),
0117     # num TEC rec hits
0118     TECHitBin = cms.int32(25),
0119     TECHitMin = cms.double(-0.5),
0120     TECHitMax = cms.double(24.5),
0121     # num PXB rec hits
0122     PXBHitBin = cms.int32(10),
0123     PXBHitMin = cms.double(-0.5),
0124     PXBHitMax = cms.double(9.5),
0125     # num PXF rec hits
0126     PXFHitBin = cms.int32(10),
0127     PXFHitMin = cms.double(-0.5),
0128     PXFHitMax = cms.double(9.5),
0129     # num rec hits lost
0130     RecLostBin = 120,
0131     RecLostMax = 20.,
0132     RecLostMin = 0.0,
0133     # num layers
0134     RecLayBin = 120,
0135     RecLayMax = 120.0,
0136     RecLayMin = 0.0,
0137     # mean layers
0138     MeanLayBin = 20,
0139     MeanLayMax = 19.5,
0140     MeanLayMin = -0.5,
0141     # num TOB layers
0142     TOBLayBin = 10,
0143     TOBLayMax = 9.5,
0144     TOBLayMin = -0.5,
0145     # num TIB layers
0146     TIBLayBin = 6,
0147     TIBLayMax = 5.5,
0148     TIBLayMin = -0.5,
0149     # num TID layers
0150     TIDLayBin = 6,
0151     TIDLayMax = 5.5,
0152     TIDLayMin = -0.5,
0153     # num TEC layers
0154     TECLayBin = 15,
0155     TECLayMax = 14.5,
0156     TECLayMin = -0.5,
0157     # num PXB layers
0158     PXBLayBin = 6,
0159     PXBLayMax = 5.5,
0160     PXBLayMin = -0.5,
0161     # num PXF layers
0162     PXFLayBin = 6,
0163     PXFLayMax = 5.5,
0164     PXFLayMin = -0.5,
0165     # Track |p|
0166     TrackPBin = 1000,
0167     TrackPMax = 1000.,
0168     TrackPMin = 0.,
0169     # Track pT
0170     TrackPtBin = 1000,
0171     TrackPtMax = 1000.,
0172     TrackPtMin = 0.,
0173     # Track px
0174     TrackPxBin = 1000,
0175     TrackPxMax = 500.0,
0176     TrackPxMin = -500.0,
0177     # Track py
0178     TrackPyBin = 1000,
0179     TrackPyMax = 500.0,
0180     TrackPyMin = -500.0,
0181     # Track pz
0182     TrackPzMin = -500.0,
0183     TrackPzMax = 500.0,
0184     TrackPzBin = 1000,
0185     # track theta
0186     ThetaBin = 100,
0187     ThetaMax = 3.2,
0188     ThetaMin = 0.0,
0189     # track eta
0190     EtaBin = 100,
0191     EtaMax = 3.0,
0192     EtaMin = -3.0,
0193     # track phi
0194     PhiBin = 36,
0195     PhiMax = 3.2,
0196     PhiMin = -3.2,
0197     # Track |p| error
0198     pErrBin = 100,
0199     pErrMax = 10.0,
0200     pErrMin = 0.0,
0201     # Track pT error
0202     ptErrBin = 100,
0203     ptErrMax = 10.0,
0204     ptErrMin = 0.0,
0205     # Track px error
0206     pxErrBin = 100,
0207     pxErrMax = 10.0,
0208     pxErrMin = 0.0,
0209     # Track py error
0210     pyErrBin = 100,
0211     pyErrMax = 10.0,
0212     pyErrMin = 0.0,
0213     # Track pz error
0214     pzErrBin = 100,
0215     pzErrMax = 10.0,
0216     pzErrMin = 0.0,
0217     # track eta error
0218     etaErrBin = 100,
0219     etaErrMax = 0.5,
0220     etaErrMin = 0.0,
0221     # track phi Error
0222     phiErrBin = 100,
0223     phiErrMax = 1.0,
0224     phiErrMin = 0.0,
0225     # PCA x position
0226     VXBin = 20,
0227     VXMax = 20.0,
0228     VXMin = -20.0,
0229     # PCA y position
0230     VYBin = 20,
0231     VYMax = 20.0,
0232     VYMin = -20.0,
0233     # PCA z position
0234     VZBin = 50,
0235     VZMax = 100.0,
0236     VZMin = -100.0,
0237     # PCA x position for 2D plot
0238     X0Bin = 100,
0239     X0Max = 3.0,
0240     X0Min = -3.0,
0241     # PCA y position for 2D plot
0242     Y0Bin = 100,
0243     Y0Max = 3.0,
0244     Y0Min = -3.0,
0245     # PCA z position for 2D plot
0246     Z0Bin = 60,
0247     Z0Max = 30.0,
0248     Z0Min = -30.0,
0249     # Track dxy (transverse impact parameter)
0250     DxyBin = 100,
0251     DxyMax = 0.5,
0252     DxyMin = -0.5,
0253     # Seed dxy (transverse impact parameter)
0254     SeedDxyBin = 100,
0255     SeedDxyMax = 0.5,
0256     SeedDxyMin = -0.5,
0257     # Seed dz (longitudinal impact parameter)
0258     SeedDzBin = 200,
0259     SeedDzMax = 30.0,
0260     SeedDzMin = -30.0,
0261     # Track Candidate dxy (transverse impact parameter)
0262     TCDxyBin = 200,
0263     TCDxyMax = 100.0,
0264     TCDxyMin = -100.0,
0265     # Track Candidate dz (transverse impact parameter)
0266     TCDzBin = 200,
0267     TCDzMax = 400.0,
0268     TCDzMin = -400.0,
0269     # NCluster Pixel
0270     NClusPxBin = 50,
0271     NClusPxMax = 1999.5,
0272     NClusPxMin = -0.5,
0273     # NCluster Strip
0274     NClusStrBin = 150,
0275     NClusStrMax = 14999.5,
0276     NClusStrMin = -0.5,
0277     # NCluster 2D
0278     NClus2DPxBin = cms.int32(20),
0279     NClus2DPxMax = cms.double(1999.5),
0280     NClus2DPxMin = cms.double(-0.5),
0281     NClus2DStrBin = cms.int32(50),
0282     NClus2DStrMax = cms.double(14999.5),
0283     NClus2DStrMin = cms.double(-0.5),
0284     # NCluster Vs Tracks
0285     NClus2DTotBin = cms.int32(50),
0286     NClus2DTotMax = cms.double(14999.5),
0287     NClus2DTotMin = cms.double(-0.5),
0288     NTrk2D = TrackMon.NTrk2D.clone(
0289         NTrk2DBin = 20,
0290         NTrk2DMax = 199.5,
0291         NTrk2DMin = -0.5
0292     ),
0293     TTRHBuilder = 'WithTrackAngle',
0294     # For plots vs LS
0295     LSBin = 2000,
0296     LSMin = 0.,
0297     LSMax = 2000.,
0298     # Luminosity based analysis
0299     doLumiAnalysis = False
0300 )