CMS 3D CMS Logo

Functions | Variables
PV_cfg Namespace Reference

Functions

def switchClusterizerParameters (da)
 Deterministic annealing clustering or Gap clustering. More...
 

Variables

 applyfilter
 
 askFirstLayerHit
 
 cerr
 
 closeFileFast
 
dictionary config
 Read in AllInOne config in JSON format. More...
 
 cosmicsDecoMode
 
 cosmicsZeroTesla
 
 cosmicTrackSplitting
 
 cut
 
 DAClusterizationParams = DA_vectParameters.clone()
 
 Debug
 
 debugOn
 
 destinations
 
 doBPix
 
 doFPix
 
 fileMode
 
 fileName
 
 fileNames
 
 filter
 
 FilteringParams
 modify the parameters which differ More...
 
 firstRun
 
 forceBeamSpot
 
 GapClusterizationParams
 
 GlobalTag
 
 goodLumiSecs = cms.untracked.VLuminosityBlockRange(LumiList.LumiList(filename = config["validation"]["goodlumi"]).getCMSSWString().split(','))
 Get good lumi section and load data or handle MC. More...
 
 goodvertexSkim
 
 input
 
dictionary isDA = config["validation"].get("isda", True)
 
 isLightNtuple
 
dictionary isMC = config["validation"].get("ismc", True)
 
bool isMultipleRuns = False
 
 isPVValidation
 
 lumisToProcess
 
 maxEvents
 default set to 1 for unit tests More...
 
 maxPt
 
 MessageLogger
 
 minPt
 
 momentumConstraint
 
 noscraping
 
 numberOfBins
 
 numtrack
 
 openMassWindow
 
 options = VarParsing()
 Argument parsing. More...
 
 p
 Path. More...
 
 primaryVertexFilter
 Load and Configure event selection. More...
 
 probeEta
 
 probePt
 
 process = cms.Process("PrimaryVertexValidation")
 Define process. More...
 
 ptmin
 
 PVValidation
 
list readFiles = []
 Read filenames from given TXT file and define input source. More...
 
 Rethrow
 
dictionary runboundary = config["validation"].get("runboundary", 1)
 
 runControl
 
 runControlNumber
 
 seqTrackselRefit
 
 skipEvents
 
 source
 
 src
 
 storeNtuple
 
 TFileService
 Output file. More...
 
 thresh
 
 TkClusParameters
 
 TkFilterParameters
 
 TrackCollectionTag
 
 TTRHBuilder
 
 use_d0cut
 
 usePixelQualityFlag
 
 useTracksFromRecoVtx
 
 VertexCollectionTag
 
 wantSummary
 

Function Documentation

◆ switchClusterizerParameters()

def PV_cfg.switchClusterizerParameters (   da)

Deterministic annealing clustering or Gap clustering.

Definition at line 200 of file PV_cfg.py.

References print().

201  if da:
202  print(">>>>>>>>>> testPVValidation_cfg.py: msg%-i: Running DA Algorithm!")
203  return DAClusterizationParams
204  else:
205  print(">>>>>>>>>> testPVValidation_cfg.py: msg%-i: Running GAP Algorithm!")
206  return GapClusterizationParams
207 
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
def switchClusterizerParameters(da)
Deterministic annealing clustering or Gap clustering.
Definition: PV_cfg.py:200

Variable Documentation

◆ applyfilter

PV_cfg.applyfilter

Definition at line 156 of file PV_cfg.py.

◆ askFirstLayerHit

PV_cfg.askFirstLayerHit

Definition at line 219 of file PV_cfg.py.

◆ cerr

PV_cfg.cerr

Definition at line 92 of file PV_cfg.py.

◆ closeFileFast

PV_cfg.closeFileFast

Definition at line 239 of file PV_cfg.py.

◆ config

PV_cfg.config
Initial value:
1 = {"validation": {},
2  "alignment": {}}

Read in AllInOne config in JSON format.

Definition at line 22 of file PV_cfg.py.

◆ cosmicsDecoMode

PV_cfg.cosmicsDecoMode

Definition at line 116 of file PV_cfg.py.

◆ cosmicsZeroTesla

PV_cfg.cosmicsZeroTesla

Definition at line 117 of file PV_cfg.py.

◆ cosmicTrackSplitting

PV_cfg.cosmicTrackSplitting

Definition at line 119 of file PV_cfg.py.

◆ cut

PV_cfg.cut

Definition at line 151 of file PV_cfg.py.

◆ DAClusterizationParams

PV_cfg.DAClusterizationParams = DA_vectParameters.clone()

Definition at line 191 of file PV_cfg.py.

◆ Debug

PV_cfg.Debug

Definition at line 215 of file PV_cfg.py.

◆ debugOn

PV_cfg.debugOn

Definition at line 158 of file PV_cfg.py.

◆ destinations

PV_cfg.destinations

Definition at line 91 of file PV_cfg.py.

◆ doBPix

PV_cfg.doBPix

Definition at line 225 of file PV_cfg.py.

◆ doFPix

PV_cfg.doFPix

Definition at line 226 of file PV_cfg.py.

◆ fileMode

PV_cfg.fileMode

Definition at line 86 of file PV_cfg.py.

◆ fileName

PV_cfg.fileName

Definition at line 238 of file PV_cfg.py.

◆ fileNames

PV_cfg.fileNames

Definition at line 42 of file PV_cfg.py.

◆ filter

PV_cfg.filter

Definition at line 152 of file PV_cfg.py.

◆ FilteringParams

PV_cfg.FilteringParams
Initial value:
1 = offlinePrimaryVertices.TkFilterParameters.clone(
2  maxNormalizedChi2 = 5.0, # chi2ndof < 5
3  maxD0Significance = 5.0, # fake cut (requiring 1 PXB hit)
4  maxEta = 5.0, # as per recommendation in PR #18330
5 )

modify the parameters which differ

Definition at line 183 of file PV_cfg.py.

◆ firstRun

PV_cfg.firstRun

Definition at line 75 of file PV_cfg.py.

◆ forceBeamSpot

PV_cfg.forceBeamSpot

Definition at line 220 of file PV_cfg.py.

◆ GapClusterizationParams

PV_cfg.GapClusterizationParams
Initial value:
1 = cms.PSet(algorithm = cms.string('gap'),
2  TkGapClusParameters = cms.PSet(zSeparation = cms.double(0.2)) # 0.2 cm max separation betw. clusters
3  )

Definition at line 193 of file PV_cfg.py.

◆ GlobalTag

PV_cfg.GlobalTag

Definition at line 126 of file PV_cfg.py.

◆ goodLumiSecs

PV_cfg.goodLumiSecs = cms.untracked.VLuminosityBlockRange(LumiList.LumiList(filename = config["validation"]["goodlumi"]).getCMSSWString().split(','))

Get good lumi section and load data or handle MC.

Definition at line 55 of file PV_cfg.py.

◆ goodvertexSkim

PV_cfg.goodvertexSkim

Definition at line 173 of file PV_cfg.py.

◆ input

PV_cfg.input

Definition at line 80 of file PV_cfg.py.

◆ isDA

dictionary PV_cfg.isDA = config["validation"].get("isda", True)

Definition at line 28 of file PV_cfg.py.

◆ isLightNtuple

PV_cfg.isLightNtuple

Definition at line 218 of file PV_cfg.py.

◆ isMC

dictionary PV_cfg.isMC = config["validation"].get("ismc", True)

◆ isMultipleRuns

bool PV_cfg.isMultipleRuns = False

Definition at line 70 of file PV_cfg.py.

◆ isPVValidation

PV_cfg.isPVValidation

Definition at line 112 of file PV_cfg.py.

◆ lumisToProcess

PV_cfg.lumisToProcess

Definition at line 68 of file PV_cfg.py.

◆ maxEvents

PV_cfg.maxEvents

default set to 1 for unit tests

Definition at line 80 of file PV_cfg.py.

◆ maxPt

PV_cfg.maxPt

◆ MessageLogger

PV_cfg.MessageLogger

Definition at line 90 of file PV_cfg.py.

◆ minPt

PV_cfg.minPt

◆ momentumConstraint

PV_cfg.momentumConstraint

Definition at line 118 of file PV_cfg.py.

◆ noscraping

PV_cfg.noscraping

Definition at line 155 of file PV_cfg.py.

◆ numberOfBins

PV_cfg.numberOfBins

◆ numtrack

PV_cfg.numtrack

Definition at line 159 of file PV_cfg.py.

◆ openMassWindow

PV_cfg.openMassWindow

Definition at line 115 of file PV_cfg.py.

◆ options

PV_cfg.options = VarParsing()

Argument parsing.

Bookeeping.

Definition at line 15 of file PV_cfg.py.

◆ p

PV_cfg.p

Path.

Definition at line 245 of file PV_cfg.py.

◆ primaryVertexFilter

PV_cfg.primaryVertexFilter

Load and Configure event selection.

Definition at line 149 of file PV_cfg.py.

◆ probeEta

PV_cfg.probeEta

Definition at line 222 of file PV_cfg.py.

◆ probePt

PV_cfg.probePt

Definition at line 221 of file PV_cfg.py.

◆ process

PV_cfg.process = cms.Process("PrimaryVertexValidation")

Define process.

Definition at line 12 of file PV_cfg.py.

◆ ptmin

PV_cfg.ptmin

Definition at line 165 of file PV_cfg.py.

◆ PVValidation

PV_cfg.PVValidation

Definition at line 212 of file PV_cfg.py.

◆ readFiles

list PV_cfg.readFiles = []

Read filenames from given TXT file and define input source.

Definition at line 34 of file PV_cfg.py.

◆ Rethrow

PV_cfg.Rethrow

Definition at line 85 of file PV_cfg.py.

◆ runboundary

int PV_cfg.runboundary = config["validation"].get("runboundary", 1)

Definition at line 31 of file PV_cfg.py.

◆ runControl

PV_cfg.runControl

Definition at line 166 of file PV_cfg.py.

◆ runControlNumber

PV_cfg.runControlNumber

◆ seqTrackselRefit

PV_cfg.seqTrackselRefit

Definition at line 110 of file PV_cfg.py.

◆ skipEvents

PV_cfg.skipEvents

Definition at line 43 of file PV_cfg.py.

◆ source

PV_cfg.source

Definition at line 41 of file PV_cfg.py.

◆ src

PV_cfg.src

Definition at line 150 of file PV_cfg.py.

◆ storeNtuple

PV_cfg.storeNtuple

Definition at line 216 of file PV_cfg.py.

◆ TFileService

PV_cfg.TFileService

Output file.

Definition at line 237 of file PV_cfg.py.

◆ thresh

PV_cfg.thresh

Definition at line 160 of file PV_cfg.py.

◆ TkClusParameters

PV_cfg.TkClusParameters

Definition at line 231 of file PV_cfg.py.

◆ TkFilterParameters

PV_cfg.TkFilterParameters

Definition at line 230 of file PV_cfg.py.

◆ TrackCollectionTag

PV_cfg.TrackCollectionTag

Definition at line 213 of file PV_cfg.py.

◆ TTRHBuilder

PV_cfg.TTRHBuilder

Definition at line 113 of file PV_cfg.py.

◆ use_d0cut

PV_cfg.use_d0cut

Definition at line 120 of file PV_cfg.py.

◆ usePixelQualityFlag

PV_cfg.usePixelQualityFlag

Definition at line 114 of file PV_cfg.py.

◆ useTracksFromRecoVtx

PV_cfg.useTracksFromRecoVtx

Definition at line 217 of file PV_cfg.py.

◆ VertexCollectionTag

PV_cfg.VertexCollectionTag

Definition at line 214 of file PV_cfg.py.

◆ wantSummary

PV_cfg.wantSummary

Definition at line 84 of file PV_cfg.py.