Private Attributes | |
_append | |
_fastsim | |
_fastsimCorrespondingFullsimPileup | |
_midfix | |
_overrideGlobalTag | |
_putype | |
_sample | |
_scenario | |
_version | |
Represents a RelVal sample.
Definition at line 118 of file validation.py.
def validation.Sample.__init__ | ( | self, | |
sample, | |||
append = None , |
|||
midfix = None , |
|||
putype = None , |
|||
fastsim = False , |
|||
fastsimCorrespondingFullsimPileup = None , |
|||
version = "v1" , |
|||
scenario = None , |
|||
overrideGlobalTag = None |
|||
) |
Constructor. Arguments: sample -- String for name of the sample Keyword arguments append -- String for a variable name within the DWM file names, to be directly appended to sample name (e.g. "HS"; default None) midfix -- String for a variable name within the DQM file names, to be appended after underscore to "sample name+append" (e.g. "13", "UP15"; default None) putype -- String for pileup type (e.g. "25ns"/"50ns" for FullSim, "AVE20" for FastSim; default None) fastsim -- Bool indicating the FastSim status (default False) fastsimCorrespondingFullSimPileup -- String indicating what is the FullSim pileup sample corresponding this FastSim sample. Must be set if fastsim=True and putype!=None (default None) version -- String for dataset/DQM file version (default "v1") scenario -- Geometry scenario for upgrade samples (default None) overrideGlobalTag -- GlobalTag obtained from release information (in the form of {"release": "actualRelease"}; default None)
Definition at line 122 of file validation.py.
def validation.Sample.datasetpattern | ( | self, | |
newRelease | |||
) |
Return the dataset pattern Arguments: newRelease -- String for CMSSW release
Definition at line 256 of file validation.py.
References validation.Sample._fastsim, validation._getGlobalTag(), validation.Sample._sample, validation.Sample.hasPileup(), ora::OraMainTable.version(), pos::PixelVersionAlias.version(), SiPixelFedCabling.version(), PixelToFEDAssociate.version(), SiPixelFedCablingTree.version(), PixelToFEDAssociateFromAscii.version(), PixelToLNKAssociateFromAscii.version(), DTRecoUncertainties.version(), FEDHeader.version(), SiPixelFedCablingMap.version(), FWConfigurableParameterizable.version(), LTCDigi.version(), MagFieldConfig.version, Phase2Tracker::FEDDAQHeader.version(), lumi::Lumi2DB::LumiSource.version, DTRecoConditions.version(), RPCReadOutMapping.version(), BeamSpotOnline.version(), L1TriggerScalers.version(), ora::PoolMainTable.version(), MatrixInjector.MatrixInjector.version, HcalTrigTowerDetId.version(), LumiScalers.version(), SiPixelTemplateDBObject::Reader.version(), Level1TriggerScalers.version(), FWConfiguration.version(), confdbOfflineConverter.OfflineConverter.version, SiPixelCPEGenericErrorParm.version(), L1TriggerRates.version(), options.ConnectionHLTMenu.version, L1CaloGeometry.version(), Level1TriggerRates.version(), TrackerInteractionGeometry.version, SiPixel2DTemplateDBObject.version(), SiPixelGenErrorDBObject.version(), npstat::StorableMultivariateFunctor.version(), ora::MappingTree.version(), ora::MappingRawData.version, DcsStatus.version(), npstat::UniformAxis.version(), MatacqTBRawEvent::matacqHeader_t.version, DTCCBConfig.version(), Vispa.Main.Application.Application.version(), DQMNet::CoreObject.version, DTLVStatus.version(), DTT0.version(), npstat::NUHistoAxis.version(), npstat::StorableHistoNDFunctor< Numeric, Axis, Converter >.version(), DTTPGParameters.version(), DTRangeT0.version(), npstat::DualAxis.version(), SiPixelTemplateDBObject.version(), EcalMatacqDigi.version(), npstat::GridAxis.version(), DTHVStatus.version(), npstat::HistoAxis.version(), FRDEventMsgView.version(), XMLProcessor::_DBConfig.version, npstat::DualHistoAxis.version(), DTTtrig.version(), DTPerformance.version(), DTStatusFlag.version(), npstat::StorableInterpolationFunctor< Numeric, Axis, Converter >.version(), npstat::BoxND< Numeric >.version(), DTDeadFlag.version(), DTMtime.version(), validation.Sample.version(), sistrip::FEDDAQHeader.version(), ScalersEventRecordRaw_v1.version, ScalersEventRecordRaw_v2.version, conddblib.Payload.version, npstat::LinInterpolatedTableND< Numeric, Axis >.version(), ScalersEventRecordRaw_v3.version, ScalersEventRecordRaw_v4.version, ScalersEventRecordRaw_v5.version, ScalersEventRecordRaw_v6.version, pos::PixelAliasList.version(), cmsHarvester.CMSHarvester.version, npstat::HistoND< Numeric, Axis >.version(), python.rootplot.argparse._VersionAction.version, npstat::ArrayND< Numeric, StackLen, StackDim >.version(), TiXmlDeclaration.version, argparse.ArgumentParser.version, and python.rootplot.argparse.ArgumentParser.version.
def validation.Sample.dirname | ( | self, | |
newRepository, | |||
newRelease, | |||
newSelection | |||
) |
Return the output directory name Arguments: newRepository -- String for base directory for output files newRelease -- String for CMSSW release newSelection -- String for histogram selection
Definition at line 206 of file validation.py.
References validation.Sample._fastsim, validation.Sample._putype, and validation.Sample.hasPileup().
def validation.Sample.fastsim | ( | self | ) |
Return True for FastSim sample
Definition at line 195 of file validation.py.
References validation.Sample._fastsim.
def validation.Sample.fastsimCorrespondingFullsimPileup | ( | self | ) |
Definition at line 203 of file validation.py.
References validation.Sample._fastsimCorrespondingFullsimPileup.
def validation.Sample.filename | ( | self, | |
newRelease | |||
) |
Return the DQM file name Arguments: newRelease -- String for CMSSW release
Definition at line 221 of file validation.py.
References validation.Sample._append, validation.Sample._fastsim, validation._getGlobalTag(), validation.Sample._midfix, validation.Sample._sample, validation.Sample._scenario, validation._stripRelease(), validation.Sample.hasPileup(), validation.Sample.pileupType(), ora::OraMainTable.version(), pos::PixelVersionAlias.version(), SiPixelFedCabling.version(), PixelToFEDAssociate.version(), SiPixelFedCablingTree.version(), PixelToFEDAssociateFromAscii.version(), PixelToLNKAssociateFromAscii.version(), FEDHeader.version(), DTRecoUncertainties.version(), SiPixelFedCablingMap.version(), LTCDigi.version(), FWConfigurableParameterizable.version(), MagFieldConfig.version, Phase2Tracker::FEDDAQHeader.version(), lumi::Lumi2DB::LumiSource.version, DTRecoConditions.version(), RPCReadOutMapping.version(), BeamSpotOnline.version(), HcalTrigTowerDetId.version(), L1TriggerScalers.version(), ora::PoolMainTable.version(), MatrixInjector.MatrixInjector.version, LumiScalers.version(), SiPixelTemplateDBObject::Reader.version(), Level1TriggerScalers.version(), FWConfiguration.version(), confdbOfflineConverter.OfflineConverter.version, SiPixelCPEGenericErrorParm.version(), L1TriggerRates.version(), options.ConnectionHLTMenu.version, L1CaloGeometry.version(), Level1TriggerRates.version(), TrackerInteractionGeometry.version, SiPixel2DTemplateDBObject.version(), SiPixelGenErrorDBObject.version(), npstat::StorableMultivariateFunctor.version(), ora::MappingTree.version(), ora::MappingRawData.version, DcsStatus.version(), npstat::UniformAxis.version(), MatacqTBRawEvent::matacqHeader_t.version, DTCCBConfig.version(), Vispa.Main.Application.Application.version(), DQMNet::CoreObject.version, DTLVStatus.version(), DTT0.version(), npstat::NUHistoAxis.version(), npstat::StorableHistoNDFunctor< Numeric, Axis, Converter >.version(), DTTPGParameters.version(), DTRangeT0.version(), npstat::DualAxis.version(), SiPixelTemplateDBObject.version(), EcalMatacqDigi.version(), npstat::GridAxis.version(), DTHVStatus.version(), npstat::HistoAxis.version(), FRDEventMsgView.version(), XMLProcessor::_DBConfig.version, npstat::DualHistoAxis.version(), DTTtrig.version(), DTPerformance.version(), DTStatusFlag.version(), npstat::StorableInterpolationFunctor< Numeric, Axis, Converter >.version(), npstat::BoxND< Numeric >.version(), DTDeadFlag.version(), DTMtime.version(), validation.Sample.version(), sistrip::FEDDAQHeader.version(), ScalersEventRecordRaw_v1.version, ScalersEventRecordRaw_v2.version, conddblib.Payload.version, npstat::LinInterpolatedTableND< Numeric, Axis >.version(), ScalersEventRecordRaw_v3.version, ScalersEventRecordRaw_v4.version, ScalersEventRecordRaw_v5.version, ScalersEventRecordRaw_v6.version, pos::PixelAliasList.version(), cmsHarvester.CMSHarvester.version, npstat::HistoND< Numeric, Axis >.version(), python.rootplot.argparse._VersionAction.version, npstat::ArrayND< Numeric, StackLen, StackDim >.version(), TiXmlDeclaration.version, argparse.ArgumentParser.version, and python.rootplot.argparse.ArgumentParser.version.
Referenced by cuy.ValElement.__init__().
def validation.Sample.fullsim | ( | self | ) |
Return True for FullSim sample
Definition at line 199 of file validation.py.
References validation.Sample._fastsim.
def validation.Sample.hasOverrideGlobalTag | ( | self | ) |
Definition at line 189 of file validation.py.
References validation.Sample._overrideGlobalTag.
def validation.Sample.hasPileup | ( | self | ) |
Return True if sample has pileup
Definition at line 159 of file validation.py.
References validation.Sample._putype.
Referenced by validation.Sample.datasetpattern(), validation.Sample.dirname(), validation.Sample.filename(), and validation.Sample.pileup().
def validation.Sample.hasScenario | ( | self | ) |
Definition at line 183 of file validation.py.
References validation.Sample._scenario.
def validation.Sample.name | ( | self | ) |
Get the sample name
Definition at line 155 of file validation.py.
References validation.Sample._sample.
Referenced by cuy.divideElement.__init__(), cuy.plotElement.__init__(), cuy.additionElement.__init__(), cuy.superimposeElement.__init__(), cuy.graphElement.__init__(), and config.CFG.__str__().
def validation.Sample.overrideGlobalTag | ( | self | ) |
Definition at line 192 of file validation.py.
References validation.Sample._overrideGlobalTag.
Referenced by confdb.HLTProcess.customize().
def validation.Sample.pileup | ( | self | ) |
Return "PU"/"noPU" corresponding the pileup status
Definition at line 163 of file validation.py.
References validation.Sample.hasPileup().
def validation.Sample.pileupType | ( | self, | |
release = None |
|||
) |
Return the pileup type
Definition at line 170 of file validation.py.
References validation.Sample._putype.
Referenced by validation.Sample.filename().
def validation.Sample.sample | ( | self | ) |
Get the sample name
Definition at line 151 of file validation.py.
References validation.Sample._sample.
def validation.Sample.scenario | ( | self | ) |
Definition at line 186 of file validation.py.
References validation.Sample._scenario.
def validation.Sample.version | ( | self, | |
release = None |
|||
) |
Definition at line 177 of file validation.py.
References Vispa.Main.Application.Application._version, and validation.Sample._version.
Referenced by validation.Sample.datasetpattern(), and validation.Sample.filename().
|
private |
Definition at line 139 of file validation.py.
Referenced by validation.Sample.filename().
|
private |
Definition at line 142 of file validation.py.
Referenced by validation.Sample.datasetpattern(), validation.Sample.dirname(), validation.Sample.fastsim(), validation.Sample.filename(), and validation.Sample.fullsim().
|
private |
Definition at line 143 of file validation.py.
Referenced by validation.Sample.fastsimCorrespondingFullsimPileup().
|
private |
Definition at line 140 of file validation.py.
Referenced by validation.Sample.filename().
|
private |
Definition at line 146 of file validation.py.
Referenced by validation.Sample.hasOverrideGlobalTag(), and validation.Sample.overrideGlobalTag().
|
private |
Definition at line 141 of file validation.py.
Referenced by validation.Sample.dirname(), validation.Sample.hasPileup(), and validation.Sample.pileupType().
|
private |
Definition at line 138 of file validation.py.
Referenced by validation.Sample.datasetpattern(), validation.Sample.filename(), validation.Sample.name(), and validation.Sample.sample().
|
private |
Definition at line 145 of file validation.py.
Referenced by validation.Sample.filename(), validation.Sample.hasScenario(), and validation.Sample.scenario().
|
private |
Definition at line 144 of file validation.py.
Referenced by validation.Sample.version().