CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes | Static Private Attributes
cmsswVersionTools.PickRelValInputFiles Class Reference


Automatic pick-up of RelVal input files

More...

Inheritance diagram for cmsswVersionTools.PickRelValInputFiles:

Public Member Functions

def __call__
 
def __init__
 
def apply
 
def getDefaultParameters
 
def messageEmptyList
 

Private Attributes

 _comment
 
 _parameters
 

Static Private Attributes

tuple _defaultParameters = dicttypes.SortedKeysDict()
 
string _label = 'pickRelValInputFiles'
 

Detailed Description


Automatic pick-up of RelVal input files

Picks up RelVal input files automatically and
  returns a vector of strings with the paths to be used in [PoolSource].fileNames
PickRelValInputFiles( cmsswVersion, relVal, dataTier, condition, globalTag, maxVersions, skipFiles, numberOfFiles, debug )
- cmsswVersion : CMSSW release to pick up the RelVal files from
                 optional; default: the current release (determined automatically from environment)
- formerVersion: use the last before the last valid CMSSW release to pick up the RelVal files from
                 applies also, if 'cmsswVersion' is set explicitly
                 optional; default: False
- relVal       : RelVal sample to be used
                 optional; default: 'RelValTTbar'
- dataTier     : data tier to be used
                 optional; default: 'GEN-SIM-RECO'
- condition    : identifier of GlobalTag as defined in Configurations/PyReleaseValidation/python/autoCond.py
                 possibly overwritten, if 'globalTag' is set explicitly
                 optional; default: 'startup'
- globalTag    : name of GlobalTag as it is used in the data path of the RelVals
                 optional; default: determined automatically as defined by 'condition' in Configurations/PyReleaseValidation/python/autoCond.py
  !!!            Determination is done for the release one runs in, not for the release the RelVals have been produced in.
  !!!            Example of deviation: data RelVals (CMSSW_4_1_X) might not only have the pure name of the GlobalTag 'GR_R_311_V2' in the full path,
                 but also an extension identifying the data: 'GR_R_311_V2_RelVal_wzMu2010B'
- maxVersions  : max. versioning number of RelVal to check
                 optional; default: 9
- skipFiles    : number of files to skip for a found RelVal sample
                 optional; default: 0
- numberOfFiles: number of files to pick up
                 setting it to negative values, returns all found ('skipFiles' remains active though)
                 optional; default: -1
- debug        : switch to enable enhanced messages in 'stdout'
                 optional; default: False

Definition at line 764 of file cmsswVersionTools.py.

Constructor & Destructor Documentation

def cmsswVersionTools.PickRelValInputFiles.__init__ (   self)

Definition at line 802 of file cmsswVersionTools.py.

References python.editorTools.UserCodeTool._defaultParameters, python.Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._defaultParameters, python.editorTools.ChangeSource._defaultParameters, cmsswVersionTools.RunBTagging35X._defaultParameters, cmsswVersionTools.AddJetCollection35X._defaultParameters, cmsswVersionTools.SwitchJetCollection35X._defaultParameters, cmsswVersionTools.PickRelValInputFiles._defaultParameters, root::helper::RootFunctionAdapter< F, args >.addParameter(), root::helper::RootFunctionHelper< F, args, Tag >.addParameter(), ParameterMgr.addParameter(), fit::RootMinuit< Function >.addParameter(), DropBoxMetadata::Parameters.addParameter(), PythonParameterSet.addParameter(), LutXml.addParameter(), python.ConfigToolBase.ConfigToolBase.addParameter(), edm::ParameterSet.addParameter(), python.editorTools.ChangeSource.getDefaultParameters(), cmsswVersionTools.RunBTagging35X.getDefaultParameters(), cmsswVersionTools.AddJetCollection35X.getDefaultParameters(), cmsswVersionTools.SwitchJetCollection35X.getDefaultParameters(), and cmsswVersionTools.PickRelValInputFiles.getDefaultParameters().

803  def __init__( self ):
804  ConfigToolBase.__init__( self )
805  self.addParameter( self._defaultParameters, 'cmsswVersion' , os.getenv( "CMSSW_VERSION" ) , 'auto from environment' )
806  self.addParameter( self._defaultParameters, 'formerVersion', False , '' )
807  self.addParameter( self._defaultParameters, 'relVal' , 'RelValTTbar' , '' )
808  self.addParameter( self._defaultParameters, 'dataTier' , 'GEN-SIM-RECO' , '' )
809  self.addParameter( self._defaultParameters, 'condition' , 'startup' , '' )
810  self.addParameter( self._defaultParameters, 'globalTag' , autoCond[ self.getDefaultParameters()[ 'condition' ].value ][ : -5 ], 'auto from \'condition\'' )
811  self.addParameter( self._defaultParameters, 'maxVersions' , 9 , '' )
812  self.addParameter( self._defaultParameters, 'skipFiles' , 0 , '' )
813  self.addParameter( self._defaultParameters, 'numberOfFiles', -1 , 'all' )
814  self.addParameter( self._defaultParameters, 'debug' , False , '' )
815  self._parameters = copy.deepcopy( self._defaultParameters )
816  self._comment = ""

Member Function Documentation

def cmsswVersionTools.PickRelValInputFiles.__call__ (   self,
  cmsswVersion = None,
  formerVersion = None,
  relVal = None,
  dataTier = None,
  condition = None,
  globalTag = None,
  maxVersions = None,
  skipFiles = None,
  numberOfFiles = None,
  debug = None 
)

Definition at line 828 of file cmsswVersionTools.py.

References SurveyParameters.apply(), gen::PhotosInterface.apply(), FWPSetCellEditor.apply(), FWGUIEventFilter.apply(), DeviationsFromFileSensor2D.apply(), BeamSpotAlignmentParameters.apply(), RigidBodyAlignmentParameters.apply(), python.ConfigToolBase.ConfigToolBase.apply(), AlignmentParameters.apply(), BowedSurfaceAlignmentParameters.apply(), python.Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool.apply(), python.Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool.apply(), TwoBowedSurfacesAlignmentParameters.apply(), python.Vispa.Gui.BoxContentDialog.BoxContentDialog.apply(), python.Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog.apply(), cmsswVersionTools.RunBTagging35X.apply(), cmsswVersionTools.PickRelValInputFiles.apply(), python.editorTools.ChangeSource.getDefaultParameters(), cmsswVersionTools.RunBTagging35X.getDefaultParameters(), cmsswVersionTools.AddJetCollection35X.getDefaultParameters(), cmsswVersionTools.SwitchJetCollection35X.getDefaultParameters(), cmsswVersionTools.PickRelValInputFiles.getDefaultParameters(), PedeReader.setParameter(), fit::RootMinuit< Function >.setParameter(), and python.ConfigToolBase.ConfigToolBase.setParameter().

829  ):
830  if cmsswVersion is None:
831  cmsswVersion = self.getDefaultParameters()[ 'cmsswVersion' ].value
832  if formerVersion is None:
833  formerVersion = self.getDefaultParameters()[ 'formerVersion' ].value
834  if relVal is None:
835  relVal = self.getDefaultParameters()[ 'relVal' ].value
836  if dataTier is None:
837  dataTier = self.getDefaultParameters()[ 'dataTier' ].value
838  if condition is None:
839  condition = self.getDefaultParameters()[ 'condition' ].value
840  if globalTag is None:
841  globalTag = autoCond[ condition ][ : -5 ] # auto from 'condition'
842  if maxVersions is None:
843  maxVersions = self.getDefaultParameters()[ 'maxVersions' ].value
844  if skipFiles is None:
845  skipFiles = self.getDefaultParameters()[ 'skipFiles' ].value
846  if numberOfFiles is None:
847  numberOfFiles = self.getDefaultParameters()[ 'numberOfFiles' ].value
848  if debug is None:
849  debug = self.getDefaultParameters()[ 'debug' ].value
850  self.setParameter( 'cmsswVersion' , cmsswVersion )
851  self.setParameter( 'formerVersion', formerVersion )
852  self.setParameter( 'relVal' , relVal )
853  self.setParameter( 'dataTier' , dataTier )
854  self.setParameter( 'condition' , condition )
855  self.setParameter( 'globalTag' , globalTag )
856  self.setParameter( 'maxVersions' , maxVersions )
857  self.setParameter( 'skipFiles' , skipFiles )
858  self.setParameter( 'numberOfFiles', numberOfFiles )
859  self.setParameter( 'debug' , debug )
860  return self.apply()
def cmsswVersionTools.PickRelValInputFiles.apply (   self)

Definition at line 865 of file cmsswVersionTools.py.

References python.editorTools.UserCodeTool._label, MagneticFieldMapESProducer._label, TrackerInteractionGeometryESProducer._label, python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder._label, python.Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._label, python.editorTools.ChangeSource._label, python.ConfigToolBase.ConfigToolBase._label, python.Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool._label, cmsswVersionTools.RunBTagging35X._label, cmsswVersionTools.AddJetCollection35X._label, cmsswVersionTools.SwitchJetCollection35X._label, cmsswVersionTools.PickRelValInputFiles._label, python.Vispa.Views.LineDecayView.DecayLine._label, python.editorTools.UserCodeTool._parameters, python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder._parameters, python.Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._parameters, python.ConfigToolBase.ConfigToolBase._parameters, python.editorTools.ChangeSource._parameters, TAbsFitConstraint._parameters, TAbsFitParticle._parameters, cmsswVersionTools.RunBTagging35X._parameters, cmsswVersionTools.AddJetCollection35X._parameters, cmsswVersionTools.SwitchJetCollection35X._parameters, cmsswVersionTools.PickRelValInputFiles._parameters, communicate(), python.editorTools.ChangeSource.getDefaultParameters(), cmsswVersionTools.RunBTagging35X.getDefaultParameters(), cmsswVersionTools.AddJetCollection35X.getDefaultParameters(), cmsswVersionTools.SwitchJetCollection35X.getDefaultParameters(), cmsswVersionTools.PickRelValInputFiles.getDefaultParameters(), cmsswVersionTools.PickRelValInputFiles.messageEmptyList(), and split.

Referenced by electronTools.AddElectronUserIsolation.__call__(), photonTools.AddPhotonUserIsolation.__call__(), heavyIonTools.ConfigureHeavyIons.__call__(), metTools.AddTcMET.__call__(), muonTools.AddMuonUserIsolation.__call__(), HiCoreTools.RestrictInputToAOD.__call__(), python.editorTools.UserCodeTool.__call__(), coreTools.RestrictInputToAOD.__call__(), trackTools.MakeAODTrackCandidates.__call__(), jetTools.RunBTagging.__call__(), heavyIonTools.ProductionDefaults.__call__(), python.editorTools.ChangeSource.__call__(), metTools.AddPfMET.__call__(), HiCoreTools.RemoveMCMatching.__call__(), coreTools.RunOnData.__call__(), trackTools.MakePATTrackCandidates.__call__(), trigTools.SwitchOnTrigger.__call__(), coreTools.RemoveMCMatching.__call__(), heavyIonTools.SelectionDefaults.__call__(), HiCoreTools.RemoveAllPATObjectsBut.__call__(), heavyIonTools.DisbaleMonteCarloDeps.__call__(), jetTools.AddJetCollection.__call__(), HiCoreTools.RemoveSpecificPATObjects.__call__(), coreTools.RemoveAllPATObjectsBut.__call__(), trigTools.SwitchOnTriggerStandAlone.__call__(), trackTools.MakeTrackCandidates.__call__(), coreTools.RemoveSpecificPATObjects.__call__(), cmsswVersionTools.AddJetCollection35X.__call__(), tauTools.AddTauCollection.__call__(), HiCoreTools.RemoveCleaning.__call__(), trigTools.SwitchOnTriggerMatching.__call__(), HiCoreTools.AddCleaning.__call__(), coreTools.RemoveCleaning.__call__(), coreTools.AddCleaning.__call__(), jetTools.SwitchJetCollection.__call__(), trigTools.SwitchOnTriggerMatchingStandAlone.__call__(), cmsswVersionTools.SwitchJetCollection35X.__call__(), trigTools.SwitchOnTriggerMatchEmbedding.__call__(), jetTools.AddJetID.__call__(), jetTools.SetTagInfos.__call__(), trigTools.RemoveCleaningFromTriggerMatching.__call__(), jetTools.SwitchJetCorrLevels.__call__(), and cmsswVersionTools.PickRelValInputFiles.__call__().

866  def apply( self ):
867  cmsswVersion = self._parameters[ 'cmsswVersion' ].value
868  formerVersion = self._parameters[ 'formerVersion' ].value
869  relVal = self._parameters[ 'relVal' ].value
870  dataTier = self._parameters[ 'dataTier' ].value
871  condition = self._parameters[ 'condition' ].value # only used for GT determination in initialization, if GT not explicitly given
872  globalTag = self._parameters[ 'globalTag' ].value
873  maxVersions = self._parameters[ 'maxVersions' ].value
874  skipFiles = self._parameters[ 'skipFiles' ].value
875  numberOfFiles = self._parameters[ 'numberOfFiles' ].value
876  debug = self._parameters[ 'debug' ].value
877 
878  filePaths = []
879 
880  patchId = '_patch'
881  slhcId = '_SLHC'
882  ibId = '_X_'
883  if patchId in cmsswVersion:
884  cmsswVersion = cmsswVersion.split( patchId )[ 0 ]
885  elif slhcId in cmsswVersion:
886  cmsswVersion = cmsswVersion.split( slhcId )[ 0 ]
887  elif ibId in cmsswVersion or formerVersion:
888  outputTuple = Popen( [ 'scram', 'l -c CMSSW' ], stdout = PIPE, stderr = PIPE ).communicate()
889  if len( outputTuple[ 1 ] ) != 0:
890  print '%s INFO : SCRAM error'%( self._label )
891  if debug:
892  print ' from trying to determine last valid releases before \'%s\''%( cmsswVersion )
893  print
894  print outputTuple[ 1 ]
895  print
896  self.messageEmptyList()
897  return filePaths
898  versions = { 'last' :''
899  , 'lastToLast':''
900  }
901  for line in outputTuple[ 0 ].splitlines():
902  version = line.split()[ 1 ]
903  if cmsswVersion.split( ibId )[ 0 ] in version or cmsswVersion.rpartition( '_' )[ 0 ] in version:
904  if not ( patchId in version or slhcId in version or ibId in version ):
905  versions[ 'lastToLast' ] = versions[ 'last' ]
906  versions[ 'last' ] = version
907  if version == cmsswVersion:
908  break
909  if formerVersion:
910  cmsswVersion = versions[ 'lastToLast' ]
911  else:
912  cmsswVersion = versions[ 'last' ]
913 
914  if debug:
915  print '%s DEBUG: Called with...'%( self._label )
916  for key in self._parameters.keys():
917  print ' %s:\t'%( key ),
918  print self._parameters[ key ].value,
919  if self._parameters[ key ].value is self.getDefaultParameters()[ key ].value:
920  print ' (default)'
921  else:
922  print
923  if key == 'cmsswVersion' and cmsswVersion != self._parameters[ key ].value:
924  if formerVersion:
925  print ' ==> modified to last to last valid release %s (s. \'formerVersion\' parameter)'%( cmsswVersion )
926  else:
927  print ' ==> modified to last valid release %s'%( cmsswVersion )
928 
929  command = ''
930  storage = ''
931  domain = socket.getfqdn().split( '.' )
932  if len( domain ) == 0:
933  print '%s INFO : Cannot determine domain of this computer'%( self._label )
934  if debug:
935  self.messageEmptyList()
936  return filePaths
937  elif len( domain ) == 1:
938  print '%s INFO : Running on local host \'%s\' without direct access to RelVal files'%( self._label, domain[ 0 ] )
939  if debug:
940  self.messageEmptyList()
941  return filePaths
942  if domain[ -2 ] == 'cern' and domain[ -1 ] == 'ch':
943  command = 'nsls'
944  storage = '/castor/cern.ch/cms'
945  elif domain[ -2 ] == 'fnal' and domain[ -1 ] == 'gov':
946  command = 'ls'
947  storage = '/pnfs/cms/WAX/11'
948  else:
949  print '%s INFO : Running on site \'%s.%s\' without direct access to RelVal files'%( self._label, domain[ -2 ], domain[ -1 ] )
950  if debug:
951  self.messageEmptyList()
952  return filePaths
953  if debug:
954  print '%s DEBUG: Running at site \'%s.%s\''%( self._label, domain[ -2 ], domain[ -1 ] )
955  print ' using command \'%s\''%( command )
956  print ' on storage path %s'%( storage )
957  rfdirPath = '/store/relval/%s/%s/%s/%s-v'%( cmsswVersion, relVal, dataTier, globalTag )
958  argument = '%s%s'%( storage, rfdirPath )
959  validVersion = 0
960 
961  for version in range( maxVersions, 0, -1 ):
962  filePaths = []
963  fileCount = 0
964  if debug:
965  print '%s DEBUG: Checking directory \'%s%i\''%( self._label, argument, version )
966  directories = Popen( [ command, '%s%i'%( argument, version ) ], stdout = PIPE, stderr = PIPE ).communicate()[0]
967  for directory in directories.splitlines():
968  files = Popen( [ command, '%s%i/%s'%( argument, version, directory ) ], stdout = PIPE, stderr = PIPE ).communicate()[0]
969  for file in files.splitlines():
970  if len( file ) > 0 and validVersion != version:
971  validVersion = version
972  if debug:
973  print '%s DEBUG: Valid version set to \'v%i\''%( self._label, validVersion )
974  if numberOfFiles == 0:
975  break
976  if len( file ) > 0:
977  if debug:
978  print '%s DEBUG: File \'%s\' found'%( self._label, file )
979  fileCount += 1
980  if fileCount > skipFiles:
981  filePath = '%s%i/%s/%s'%( rfdirPath, version, directory, file )
982  filePaths.append( filePath )
983  if numberOfFiles > 0 and len( filePaths ) >= numberOfFiles:
984  break
985  if debug:
986  if numberOfFiles != 0:
987  print '%s DEBUG: %i file(s) found so far'%( self._label, fileCount )
988  else:
989  print '%s DEBUG: No files requested'%( self._label )
990  if numberOfFiles >= 0 and len( filePaths ) >= numberOfFiles:
991  break
992  if numberOfFiles > 0:
993  if len( filePaths ) >= numberOfFiles:
994  break
995  if validVersion > 0:
996  break
997 
998  if validVersion == 0:
999  print '%s INFO : No RelVal file(s) found at all in \'%s*\''%( self._label, argument )
1000  if debug:
1001  self.messageEmptyList()
1002  elif len( filePaths ) == 0:
1003  print '%s INFO : No RelVal file(s) picked up in \'%s%i\''%( self._label, argument, validVersion )
1004  if debug:
1005  self.messageEmptyList()
1006  elif len( filePaths ) < numberOfFiles:
1007  print '%s INFO : Only %i RelVal files picked up in \'%s%i\''%( self._label, len( filePaths ), argument, validVersion )
1008 
1009  if debug:
1010  print '%s DEBUG: returning %i file(s)\n%s'%( self._label, len( filePaths ), filePaths )
1011  return filePaths
static void * communicate(void *obj)
Definition: DQMNet.cc:1241
double split
Definition: MVATrainer.cc:139
def cmsswVersionTools.PickRelValInputFiles.getDefaultParameters (   self)

Definition at line 799 of file cmsswVersionTools.py.

References python.editorTools.UserCodeTool._defaultParameters, python.Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._defaultParameters, python.editorTools.ChangeSource._defaultParameters, cmsswVersionTools.RunBTagging35X._defaultParameters, cmsswVersionTools.AddJetCollection35X._defaultParameters, cmsswVersionTools.SwitchJetCollection35X._defaultParameters, and cmsswVersionTools.PickRelValInputFiles._defaultParameters.

Referenced by cmsswVersionTools.PickRelValInputFiles.__call__(), cmsswVersionTools.PickRelValInputFiles.__init__(), cmsswVersionTools.PickRelValInputFiles.apply(), trigTools.SwitchOnTrigger.toolCode(), trigTools.SwitchOnTriggerStandAlone.toolCode(), trigTools.SwitchOnTriggerMatching.toolCode(), and trigTools.SwitchOnTriggerMatchingStandAlone.toolCode().

800  def getDefaultParameters( self ):
801  return self._defaultParameters
def cmsswVersionTools.PickRelValInputFiles.messageEmptyList (   self)

Definition at line 861 of file cmsswVersionTools.py.

References python.editorTools.UserCodeTool._label, MagneticFieldMapESProducer._label, TrackerInteractionGeometryESProducer._label, python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigFolder._label, python.Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool._label, python.editorTools.ChangeSource._label, python.ConfigToolBase.ConfigToolBase._label, python.Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool._label, cmsswVersionTools.RunBTagging35X._label, cmsswVersionTools.AddJetCollection35X._label, cmsswVersionTools.SwitchJetCollection35X._label, cmsswVersionTools.PickRelValInputFiles._label, and python.Vispa.Views.LineDecayView.DecayLine._label.

Referenced by cmsswVersionTools.PickRelValInputFiles.apply().

862  def messageEmptyList( self ):
863  print '%s DEBUG: Empty file list returned'%( self._label )
864  print ' This might be overwritten by providing input files explicitly to the source module in the main configuration file.'

Member Data Documentation

cmsswVersionTools.PickRelValInputFiles._comment
private

Definition at line 815 of file cmsswVersionTools.py.

tuple cmsswVersionTools.PickRelValInputFiles._defaultParameters = dicttypes.SortedKeysDict()
staticprivate

Definition at line 797 of file cmsswVersionTools.py.

Referenced by electronTools.AddElectronUserIsolation.__call__(), photonTools.AddPhotonUserIsolation.__call__(), metTools.AddTcMET.__call__(), muonTools.AddMuonUserIsolation.__call__(), coreTools.RestrictInputToAOD.__call__(), HiCoreTools.RestrictInputToAOD.__call__(), trackTools.MakeAODTrackCandidates.__call__(), jetTools.RunBTagging.__call__(), metTools.AddPfMET.__call__(), HiCoreTools.RemoveMCMatching.__call__(), coreTools.RunOnData.__call__(), trackTools.MakePATTrackCandidates.__call__(), trigTools.SwitchOnTrigger.__call__(), coreTools.RemoveMCMatching.__call__(), HiCoreTools.RemoveAllPATObjectsBut.__call__(), jetTools.AddJetCollection.__call__(), HiCoreTools.RemoveSpecificPATObjects.__call__(), coreTools.RemoveAllPATObjectsBut.__call__(), trigTools.SwitchOnTriggerStandAlone.__call__(), trackTools.MakeTrackCandidates.__call__(), coreTools.RemoveSpecificPATObjects.__call__(), tauTools.AddTauCollection.__call__(), HiCoreTools.RemoveCleaning.__call__(), trigTools.SwitchOnTriggerMatching.__call__(), HiCoreTools.AddCleaning.__call__(), coreTools.RemoveCleaning.__call__(), coreTools.AddCleaning.__call__(), jetTools.SwitchJetCollection.__call__(), trigTools.SwitchOnTriggerMatchingStandAlone.__call__(), trigTools.SwitchOnTriggerMatchEmbedding.__call__(), jetTools.AddJetID.__call__(), jetTools.SetTagInfos.__call__(), trigTools.RemoveCleaningFromTriggerMatching.__call__(), jetTools.SwitchJetCorrLevels.__call__(), electronTools.AddElectronUserIsolation.__init__(), photonTools.AddPhotonUserIsolation.__init__(), trackTools.MakeAODTrackCandidates.__init__(), metTools.AddTcMET.__init__(), muonTools.AddMuonUserIsolation.__init__(), HiCoreTools.RestrictInputToAOD.__init__(), coreTools.RestrictInputToAOD.__init__(), jetTools.RunBTagging.__init__(), coreTools.RunOnData.__init__(), HiCoreTools.RemoveMCMatching.__init__(), metTools.AddPfMET.__init__(), trackTools.MakePATTrackCandidates.__init__(), trigTools.SwitchOnTrigger.__init__(), coreTools.RemoveMCMatching.__init__(), HiCoreTools.RemoveAllPATObjectsBut.__init__(), jetTools.AddJetCollection.__init__(), HiCoreTools.RemoveSpecificPATObjects.__init__(), coreTools.RemoveAllPATObjectsBut.__init__(), trigTools.SwitchOnTriggerStandAlone.__init__(), trackTools.MakeTrackCandidates.__init__(), coreTools.RemoveSpecificPATObjects.__init__(), tauTools.AddTauCollection.__init__(), HiCoreTools.RemoveCleaning.__init__(), trigTools.SwitchOnTriggerMatching.__init__(), HiCoreTools.AddCleaning.__init__(), coreTools.RemoveCleaning.__init__(), coreTools.AddCleaning.__init__(), jetTools.SwitchJetCollection.__init__(), trigTools.SwitchOnTriggerMatchingStandAlone.__init__(), trigTools.SwitchOnTriggerMatchEmbedding.__init__(), jetTools.AddJetID.__init__(), jetTools.SetTagInfos.__init__(), trigTools.RemoveCleaningFromTriggerMatching.__init__(), jetTools.SwitchJetCorrLevels.__init__(), cmsswVersionTools.PickRelValInputFiles.__init__(), python.ConfigToolBase.ConfigToolBase.getAllowedValues(), electronTools.AddElectronUserIsolation.getDefaultParameters(), photonTools.AddPhotonUserIsolation.getDefaultParameters(), metTools.AddTcMET.getDefaultParameters(), heavyIonTools.ConfigureHeavyIons.getDefaultParameters(), muonTools.AddMuonUserIsolation.getDefaultParameters(), HiCoreTools.RestrictInputToAOD.getDefaultParameters(), coreTools.RestrictInputToAOD.getDefaultParameters(), trackTools.MakeAODTrackCandidates.getDefaultParameters(), jetTools.RunBTagging.getDefaultParameters(), heavyIonTools.ProductionDefaults.getDefaultParameters(), metTools.AddPfMET.getDefaultParameters(), HiCoreTools.RemoveMCMatching.getDefaultParameters(), coreTools.RunOnData.getDefaultParameters(), trackTools.MakePATTrackCandidates.getDefaultParameters(), trigTools.SwitchOnTrigger.getDefaultParameters(), coreTools.RemoveMCMatching.getDefaultParameters(), heavyIonTools.SelectionDefaults.getDefaultParameters(), HiCoreTools.RemoveAllPATObjectsBut.getDefaultParameters(), heavyIonTools.DisbaleMonteCarloDeps.getDefaultParameters(), jetTools.AddJetCollection.getDefaultParameters(), HiCoreTools.RemoveSpecificPATObjects.getDefaultParameters(), coreTools.RemoveAllPATObjectsBut.getDefaultParameters(), trigTools.SwitchOnTriggerStandAlone.getDefaultParameters(), trackTools.MakeTrackCandidates.getDefaultParameters(), coreTools.RemoveSpecificPATObjects.getDefaultParameters(), tauTools.AddTauCollection.getDefaultParameters(), HiCoreTools.RemoveCleaning.getDefaultParameters(), trigTools.SwitchOnTriggerMatching.getDefaultParameters(), HiCoreTools.AddCleaning.getDefaultParameters(), coreTools.RemoveCleaning.getDefaultParameters(), coreTools.AddCleaning.getDefaultParameters(), jetTools.SwitchJetCollection.getDefaultParameters(), trigTools.SwitchOnTriggerMatchingStandAlone.getDefaultParameters(), trigTools.SwitchOnTriggerMatchEmbedding.getDefaultParameters(), jetTools.AddJetID.getDefaultParameters(), jetTools.SetTagInfos.getDefaultParameters(), trigTools.RemoveCleaningFromTriggerMatching.getDefaultParameters(), jetTools.SwitchJetCorrLevels.getDefaultParameters(), cmsswVersionTools.PickRelValInputFiles.getDefaultParameters(), python.ConfigToolBase.ConfigToolBase.reset(), and python.ConfigToolBase.ConfigToolBase.setParameter().

string cmsswVersionTools.PickRelValInputFiles._label = 'pickRelValInputFiles'
staticprivate

Definition at line 796 of file cmsswVersionTools.py.

Referenced by cmsswVersionTools.PickRelValInputFiles.apply(), cmsswVersionTools.PickRelValInputFiles.messageEmptyList(), trigTools.SwitchOnTrigger.toolCode(), trigTools.SwitchOnTriggerStandAlone.toolCode(), trigTools.SwitchOnTriggerMatching.toolCode(), trigTools.SwitchOnTriggerMatchingStandAlone.toolCode(), trigTools.SwitchOnTriggerMatchEmbedding.toolCode(), and trigTools.RemoveCleaningFromTriggerMatching.toolCode().

cmsswVersionTools.PickRelValInputFiles._parameters
private

Definition at line 814 of file cmsswVersionTools.py.

Referenced by jetTools.RunBTagging.apply(), cmsswVersionTools.PickRelValInputFiles.apply(), photonTools.AddPhotonUserIsolation.toolCode(), electronTools.AddElectronUserIsolation.toolCode(), metTools.AddTcMET.toolCode(), muonTools.AddMuonUserIsolation.toolCode(), coreTools.RestrictInputToAOD.toolCode(), HiCoreTools.RestrictInputToAOD.toolCode(), trackTools.MakeAODTrackCandidates.toolCode(), metTools.AddPfMET.toolCode(), HiCoreTools.RemoveMCMatching.toolCode(), coreTools.RunOnData.toolCode(), trackTools.MakePATTrackCandidates.toolCode(), trigTools.SwitchOnTrigger.toolCode(), coreTools.RemoveMCMatching.toolCode(), HiCoreTools.RemoveAllPATObjectsBut.toolCode(), HiCoreTools.RemoveSpecificPATObjects.toolCode(), coreTools.RemoveAllPATObjectsBut.toolCode(), trigTools.SwitchOnTriggerStandAlone.toolCode(), jetTools.AddJetCollection.toolCode(), coreTools.RemoveSpecificPATObjects.toolCode(), trackTools.MakeTrackCandidates.toolCode(), HiCoreTools.RemoveCleaning.toolCode(), tauTools.AddTauCollection.toolCode(), trigTools.SwitchOnTriggerMatching.toolCode(), HiCoreTools.AddCleaning.toolCode(), coreTools.RemoveCleaning.toolCode(), coreTools.AddCleaning.toolCode(), jetTools.SwitchJetCollection.toolCode(), trigTools.SwitchOnTriggerMatchingStandAlone.toolCode(), trigTools.SwitchOnTriggerMatchEmbedding.toolCode(), jetTools.AddJetID.toolCode(), jetTools.SetTagInfos.toolCode(), trigTools.RemoveCleaningFromTriggerMatching.toolCode(), and jetTools.SwitchJetCorrLevels.toolCode().