test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
eostools Namespace Reference

Functions

def _xrdcpSingleFile
 
def cat
 
def chmod
 
def cmsStage
 
def createEOSDir
 
def datasetNotEmpty
 
def eosDirSize
 
def eosToLFN
 
def fileExists
 
def isDirectory
 
def isEOS
 
def isEOSDir
 
def isEOSFile
 
def isFile
 
def isLFN
 
def lfnToEOS
 
def lfnToPFN
 
def listFiles
 
def ls
 
def ls_EOS
 
def matchingFiles
 
def mkdir
 
def move
 
def remove
 
def rm
 
def runEOSCommand
 
def runXRDCommand
 
def setCAFPath
 
def which
 
def xrdcp
 

Variables

 castorToLFN = eosToLFN
 
 createCastorDir = createEOSDir
 
string eos_select = '/afs/cern.ch/project/eos/installation/cms/bin/eos.select'
 
 isCastorDir = isEOSDir
 
 isCastorFile = isEOSFile
 
 lfnToCastor = lfnToEOS
 

Function Documentation

def eostools._xrdcpSingleFile (   pfn_src,
  pfn_dest 
)
private
Copies a single file using xrd.

Definition at line 494 of file eostools.py.

495 def _xrdcpSingleFile( pfn_src, pfn_dest):
496  """Copies a single file using xrd."""
497 
498  command = ['xrdcp']
499  command.append(pfn_src)
500  command.append(pfn_dest)
501  # print ' '.join(command)
502  run = True
503  if run:
504  runner = cmsIO.cmsFileManip()
505  out, err, ret = runner.runCommand(command)
506  if err:
507  print >> sys.stderr, out
508  print >> sys.stderr, err
509  return ret
def _xrdcpSingleFile
Definition: eostools.py:494
def eostools.cat (   path)
cat, works on EOS and locally

Definition at line 400 of file eostools.py.

Referenced by EnergyScaleCorrection_class.AddScale(), EnergyScaleCorrection_class.AddSmearing(), MVAJetTagPlotter.analyzeTag(), TrackAnalyzer.bookHistosForEfficiencyFromHitPatter(), CSCStripAmpResponse.calculateAmpResponse(), CutBasedElectronID.cicSelection(), CutBasedElectronID.classify(), fwlite::Scanner< Collection >.fillDataSet(), edm::service::ELstatistics.formSummary(), GsfEleMVACut.operator()(), PhoMVACut.operator()(), DDStreamer.parts_read(), DDLLogicalPart.processElement(), AlgorithmCalibration< T, CO >.readCategories(), edm::service::ELstatistics.summaryForJobReport(), and TagProbeFitTreeAnalyzer.TagProbeFitTreeAnalyzer().

401 def cat(path):
402  """cat, works on EOS and locally"""
403  path = lfnToEOS(path)
404  if isEOS(path):
405  #print "the file to cat is:", path
406  out, err, _ = runXRDCommand(path,'cat')
407  lines = []
408  if out:
409  pattern = re.compile('cat returned [0-9]+')
410  for line in out.split('\n'):
411  match = pattern.search(line)
412  if line and match is not None:
413  lines.append(line.replace(match.group(0),''))
414  break
415  else:
416  lines.append(line)
417  if err:
418  print >> sys.stderr, out
419  print >> sys.stderr, err
420  allLines = '\n'.join(lines)
421  if allLines and not allLines.endswith('\n'):
422  allLines += '\n'
423  return allLines
424  else:
425  content = file(path).read()
426  if content and not content.endswith('\n'):
427  content += '\n'
428  return content
def cat
Definition: eostools.py:400
def lfnToEOS
Definition: eostools.py:107
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def runXRDCommand
Definition: eostools.py:22
def isEOS
Definition: eostools.py:61
def eostools.chmod (   path,
  mode 
)
Does chmod on a file or directory

Definition at line 293 of file eostools.py.

Referenced by evf::EvFDaqDirector.initRun(), L1GtVhdlWriterCore.makeFirmware(), evf::EvFDaqDirector.openFULockfileStream(), L1GtVhdlWriterCore.writeAlgoSetup(), L1GtVhdlWriterCore.writeCond2intMap2File(), L1GtVhdlWriterCore.writeCondChipPkg(), L1GtVhdlWriterCore.writeConditionChipSetup(), L1GtVhdlWriterCore.writeDefValPkg(), L1GtVhdlWriterCore.writeEtmSetup(), L1GtVhdlWriterCore.writeMuonSetupVhdl(), and L1GtVhdlWriterCore.writeQsfSetupFiles().

294 def chmod(path, mode):
295  """Does chmod on a file or directory"""
296  #
297  return runEOSCommand(path, 'chmod', '-r', str(mode))
298 
def chmod
Definition: eostools.py:293
def runEOSCommand
Definition: eostools.py:38
def eostools.cmsStage (   absDestDir,
  files,
  force 
)
Runs cmsStage with LFNs if possible

Definition at line 537 of file eostools.py.

538 def cmsStage( absDestDir, files, force):
539  """Runs cmsStage with LFNs if possible"""
540 
541  destIsEOSDir = isEOSDir(absDestDir)
542  if destIsEOSDir:
543  createEOSDir( absDestDir )
544 
545  for fname in files:
546  command = ['cmsStage']
547  if force:
548  command.append('-f')
549  command.append(eosToLFN(fname))
550  command.append(eosToLFN(absDestDir))
551  print ' '.join(command)
552  runner = cmsIO.cmsFileManip()
553  runner.runCommand(command)
def eosToLFN
Definition: eostools.py:65
def isEOSDir
Definition: eostools.py:121
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def cmsStage
Definition: eostools.py:537
def createEOSDir
Definition: eostools.py:229
def eostools.createEOSDir (   path)
Makes a directory in EOS

???Will, I'm quite worried by the fact that if this path already exists, and is
a file, everything will 'work'. But then we have a file, and not a directory,
while we expect a dir...

Definition at line 229 of file eostools.py.

Referenced by cmsStage().

230 def createEOSDir( path ):
231  """Makes a directory in EOS
232 
233  ???Will, I'm quite worried by the fact that if this path already exists, and is
234  a file, everything will 'work'. But then we have a file, and not a directory,
235  while we expect a dir..."""
236  lfn = eosToLFN(path)
237  if not isEOSFile(lfn):
238  # if not isDirectory(lfn):
239  runEOSCommand(lfn,'mkdir','-p')
240  # entity = cmsIO.cmsFile( lfn,"stageout")
241  # entity.mkdir([])
242  # # print 'created ', path
243  if isDirectory(path):
244  return path
245  else:
246  raise OSError('cannot create directory '+ path)
247 
#also define an alias for backwards compatibility
def isEOSFile
Definition: eostools.py:152
def isDirectory
Definition: eostools.py:260
def eosToLFN
Definition: eostools.py:65
def runEOSCommand
Definition: eostools.py:38
def createEOSDir
Definition: eostools.py:229
def eostools.datasetNotEmpty (   path,
  regexp 
)

Definition at line 528 of file eostools.py.

529 def datasetNotEmpty( path, regexp ):
530  pattern = re.compile( regexp )
531  files = ls_EOS(path)
532 
533  for f in files:
534  if pattern.match( os.path.basename(f) ) is not None:
535  return 1
536  return 0
def ls_EOS
Definition: eostools.py:352
def datasetNotEmpty
Definition: eostools.py:528
def eostools.eosDirSize (   path)
Returns the size of a directory on EOS in GB.

Definition at line 215 of file eostools.py.

216 def eosDirSize(path):
217  '''Returns the size of a directory on EOS in GB.'''
218  lfn = eosToLFN(path)
219  res = runEOSCommand(lfn, 'find', '--size')
220  output = res[0].split('\n')
221  size = 0
222  for file in output:
223  try:
224  size += float(file.split('=')[2])
225  except IndexError:
226  pass
227  return size/1024/1024/1024
228 
def eosDirSize
Definition: eostools.py:215
def eosToLFN
Definition: eostools.py:65
def runEOSCommand
Definition: eostools.py:38
double split
Definition: MVATrainer.cc:139
def eostools.eosToLFN (   path)
Converts a EOS PFN to an LFN.

Just strip out /eos/cms from path.
If this string is not found, return path.
??? Shouldn't we raise an exception instead?

Definition at line 65 of file eostools.py.

References python.rootplot.root2matplotlib.replace().

Referenced by cmsStage(), createEOSDir(), eosDirSize(), isEOSDir(), cmsBatch.rootfiles_to_eos_script(), runEOSCommand(), and runXRDCommand().

65 
66 def eosToLFN( path ):
67  """Converts a EOS PFN to an LFN.
68 
69  Just strip out /eos/cms from path.
70  If this string is not found, return path.
71  ??? Shouldn't we raise an exception instead?"""
72  return path.replace('root://eoscms.cern.ch/', '').replace('/eos/cms','')
73 
#also define an alias for backwards compatibility
def eosToLFN
Definition: eostools.py:65
def eostools.fileExists (   path)
Returns true if path is a file or directory stored locally, or on EOS.

This function checks for the file or directory existence.

Definition at line 197 of file eostools.py.

198 def fileExists( path ):
199  """Returns true if path is a file or directory stored locally, or on EOS.
200 
201  This function checks for the file or directory existence."""
202 
203  eos = isEOSDir(path)
204  result = False
205  if eos:
206  # print 'eos', path
207  result = isEOSFile(path)
208  else:
209  # print 'not eos', path
210  #check locally
211  result = os.path.exists(path)
212  # print result
213  return result
214 
def isEOSFile
Definition: eostools.py:152
def fileExists
Definition: eostools.py:197
def isEOSDir
Definition: eostools.py:121
def eostools.isDirectory (   path)
Returns True if path is a directory on EOS.

Tests for file existence. 
This function returns False for EOS files, and crashes with local paths

???Will, this function also seems to work for paths like:
/eos/cms/...
??? I think that it should work also for local files, see isFile.

Definition at line 260 of file eostools.py.

Referenced by createEOSDir().

261 def isDirectory(path):
262  """Returns True if path is a directory on EOS.
263 
264  Tests for file existence.
265  This function returns False for EOS files, and crashes with local paths
266 
267  ???Will, this function also seems to work for paths like:
268  /eos/cms/...
269  ??? I think that it should work also for local files, see isFile."""
270 
271  out, _, _ = runXRDCommand(path,'existdir')
272  return 'The directory exists' in out
def isDirectory
Definition: eostools.py:260
def runXRDCommand
Definition: eostools.py:22
def eostools.isEOS (   path)
Tests whether this path is a CMS EOS (name starts with /eos...)

Definition at line 61 of file eostools.py.

Referenced by cat().

61 
62 def isEOS( path ):
63  """Tests whether this path is a CMS EOS (name starts with /eos...)"""
64  return path.startswith('/eos') or path.startswith('root://eoscms.cern.ch//eos/cms')
def isEOS
Definition: eostools.py:61
def eostools.isEOSDir (   path)
Returns True if path is either:
/store/...
or
/eos/cms/store/...
or
root://eoscms.cern.ch//eos/cms/

Otherwise, returns False.

WARNING!! This function does not check for path existence,
and returns true also for plain files.
!!! Will, is my summary correct? 

Definition at line 121 of file eostools.py.

References eosToLFN(), and lfnToPFN().

Referenced by cmsStage(), and fileExists().

122 def isEOSDir( path ):
123  """Returns True if path is either:
124  /store/...
125  or
126  /eos/cms/store/...
127  or
128  root://eoscms.cern.ch//eos/cms/
129 
130  Otherwise, returns False.
131 
132  WARNING!! This function does not check for path existence,
133  and returns true also for plain files.
134  !!! Will, is my summary correct?
135  """
136  if os.path.exists( path ):
137  # path does not exist
138  # COLIN: I think this condition could be removed,
139  # as it duplicates the following one.
140  return False
141  if not path.startswith('/eos') and not path.startswith('/store') and not path.startswith('root://eoscms.cern.ch//eos/cms/'):
142  # neither an EOS PFN or a LFN.
143  return False
144  # at this stage, we must have an EOS PFN or an LFN
145  pfn = lfnToPFN(eosToLFN(path))
146  tokens = cmsIO.splitPFN(pfn)
147  return tokens and tokens[1].lower().startswith('eos')
148 
#also define an alias for backwards compatibility
def eosToLFN
Definition: eostools.py:65
def isEOSDir
Definition: eostools.py:121
def lfnToPFN
Definition: eostools.py:76
def eostools.isEOSFile (   path,
  tfcProt = 'rfio' 
)
Returns True if path is a file or directory stored on EOS (checks for path existence)
??? This function does not behave well if passed a non EOS path...
returns lots of error messages like:
>>> eostools.isEOSFile('/store/asdfasfd')
Command (['ls', '/', 's', 't', 'o', 'r', 'e', '/', 'a', 's', 'd', 'f', 'a', 's', 'f', 'd', '/store']) failed with return code: 2
ls: s: No such file or directory
ls: t: No such file or directory
ls: o: No such file or directory
ls: r: No such file or directory
ls: e: No such file or directory
ls: a: No such file or directory
ls: s: No such file or directory
ls: d: No such file or directory
ls: f: No such file or directory
ls: a: No such file or directory
ls: s: No such file or directory
ls: f: No such file or directory
ls: d: No such file or directory
ls: /store: No such file or directory

ls: s: No such file or directory
ls: t: No such file or directory
ls: o: No such file or directory
ls: r: No such file or directory
ls: e: No such file or directory
ls: a: No such file or directory
ls: s: No such file or directory
ls: d: No such file or directory
ls: f: No such file or directory
ls: a: No such file or directory
ls: s: No such file or directory
ls: f: No such file or directory
ls: d: No such file or directory
ls: /store: No such file or directory

False

Definition at line 152 of file eostools.py.

Referenced by createEOSDir(), and fileExists().

153 def isEOSFile( path, tfcProt = 'rfio'):
154  """Returns True if path is a file or directory stored on EOS (checks for path existence)
155  ??? This function does not behave well if passed a non EOS path...
156  returns lots of error messages like:
157 >>> eostools.isEOSFile('/store/asdfasfd')
158 Command (['ls', '/', 's', 't', 'o', 'r', 'e', '/', 'a', 's', 'd', 'f', 'a', 's', 'f', 'd', '/store']) failed with return code: 2
159 ls: s: No such file or directory
160 ls: t: No such file or directory
161 ls: o: No such file or directory
162 ls: r: No such file or directory
163 ls: e: No such file or directory
164 ls: a: No such file or directory
165 ls: s: No such file or directory
166 ls: d: No such file or directory
167 ls: f: No such file or directory
168 ls: a: No such file or directory
169 ls: s: No such file or directory
170 ls: f: No such file or directory
171 ls: d: No such file or directory
172 ls: /store: No such file or directory
173 
174 ls: s: No such file or directory
175 ls: t: No such file or directory
176 ls: o: No such file or directory
177 ls: r: No such file or directory
178 ls: e: No such file or directory
179 ls: a: No such file or directory
180 ls: s: No such file or directory
181 ls: d: No such file or directory
182 ls: f: No such file or directory
183 ls: a: No such file or directory
184 ls: s: No such file or directory
185 ls: f: No such file or directory
186 ls: d: No such file or directory
187 ls: /store: No such file or directory
188 
189 False
190  """
191  _, _, ret = runEOSCommand( path, 'ls')
192  return ret == 0
193 
#also define an alias for backwards compatibility
def isEOSFile
Definition: eostools.py:152
def eostools.isFile (   path)
Returns True if a path is a file.

Tests for file existence.
Returns False for directories.
Works on EOS and local paths.

???This function works with local files, so not the same as isDirectory...
isFile and isDirectory should behave the same.

Definition at line 273 of file eostools.py.

274 def isFile(path):
275  """Returns True if a path is a file.
276 
277  Tests for file existence.
278  Returns False for directories.
279  Works on EOS and local paths.
280 
281  ???This function works with local files, so not the same as isDirectory...
282  isFile and isDirectory should behave the same.
283  """
284 
285  if not path.startswith('/eos') and not path.startswith('/store'):
286  if( os.path.isfile(path) ):
287  return True
288  else:
289  return False
290  else:
291  out, _, _ = runXRDCommand(path,'existfile')
292  return 'The file exists' in out
def isFile
Definition: eostools.py:273
def runXRDCommand
Definition: eostools.py:22
if(dp >Float(M_PI)) dp-
def eostools.isLFN (   path)
Tests whether this path is a CMS LFN (name starts with /store...)

Definition at line 56 of file eostools.py.

Referenced by lfnToEOS().

56 
57 def isLFN( path ):
58  """Tests whether this path is a CMS LFN (name starts with /store...)"""
59  # return re.match('^/store.*', path ) is not None
60  return path.startswith('/store')
def isLFN
Definition: eostools.py:56
def eostools.lfnToEOS (   path)
Converts LFN to EOS.

If path is not an LFN in the first place, return path.
??? shouldn't we raise an exception?

Definition at line 107 of file eostools.py.

References isLFN().

Referenced by cat().

108 def lfnToEOS( path ):
109  """Converts LFN to EOS.
110 
111  If path is not an LFN in the first place, return path.
112  ??? shouldn't we raise an exception?"""
113  if isLFN(path):
114  pfn = 'root://eoscms.cern.ch//eos/cms/' + path
115  return pfn.replace('//store','/store')
116  else:
117  return path
118 
#also define an alias for backwards compatibility
def lfnToEOS
Definition: eostools.py:107
def isLFN
Definition: eostools.py:56
def eostools.lfnToPFN (   path,
  tfcProt = 'rfio' 
)
Converts an LFN to a PFN. For example:
/store/cmst3/user/cbern/CMG/TauPlusX/Run2011A-03Oct2011-v1/AOD/V2/PAT_CMG_V2_4_0/H2TAUTAU_Nov21
->
root://eoscms//eos/cms/store/cmst3/user/cbern/CMG/TauPlusX/Run2011A-03Oct2011-v1/AOD/V2/PAT_CMG_V2_4_0/H2TAUTAU_Nov21?svcClass=cmst3&stageHost=castorcms

This function only checks path, and does not access the storage system.
If the path is in /store/cmst3, it assumes that the CMST3 svcClass is to be used.
Otherwise, is uses the default one. 

??? what is tfcprot? 

Definition at line 76 of file eostools.py.

Referenced by isEOSDir(), runEOSCommand(), and runXRDCommand().

76 
77 def lfnToPFN( path, tfcProt = 'rfio'):
78  """Converts an LFN to a PFN. For example:
79  /store/cmst3/user/cbern/CMG/TauPlusX/Run2011A-03Oct2011-v1/AOD/V2/PAT_CMG_V2_4_0/H2TAUTAU_Nov21
80  ->
81  root://eoscms//eos/cms/store/cmst3/user/cbern/CMG/TauPlusX/Run2011A-03Oct2011-v1/AOD/V2/PAT_CMG_V2_4_0/H2TAUTAU_Nov21?svcClass=cmst3&stageHost=castorcms
82 
83  This function only checks path, and does not access the storage system.
84  If the path is in /store/cmst3, it assumes that the CMST3 svcClass is to be used.
85  Otherwise, is uses the default one.
86 
87  ??? what is tfcprot? """
88 
89  if path.startswith("/store/"):
90  path = path.replace("/store/","root://eoscms.cern.ch//eos/cms/store/")
91  if path.startswith("/pnfs/psi.ch/cms/trivcat/"):
92  path = path.replace("/pnfs/psi.ch/cms/trivcat/","root://t3se01.psi.ch//")
93  #print "path to cmsFile():", path
94  entity = cmsIO.cmsFile( path, tfcProt )
95 # tokens = cmsIO.splitPFN(entity.pfn)
96  pfn = '%s://%s//%s/' % (entity.protocol,entity.host,entity.path)
97 
98  pfn = entity.pfn
99  if tfcProt == 'rfio' and \
100  entity.path.startswith("/eos/cms/") and \
101  str(entity.stat()).startswith("Error 3011: Unable to stat"):
102 
103  pfn.replace("/eos/cms","/castor/cern.ch/cms")
104  pfn.replace("eoscms","castorcms")
105  return pfn
106 
def lfnToPFN
Definition: eostools.py:76
def eostools.listFiles (   path,
  rec = False,
  full_info = False 
)
Provides a list of the specified directory

Definition at line 299 of file eostools.py.

300 def listFiles(path, rec = False, full_info = False):
301  """Provides a list of the specified directory
302  """
303  # -- listing on the local filesystem --
304  if os.path.isdir( path ):
305  if not rec:
306  # not recursive
307  return [ '/'.join([path,file]) for file in os.listdir( path )]
308  else:
309  # recursive, directories are put in the list first,
310  # followed by the list of all files in the directory tree
311  result = []
312  allFiles = []
313  for root,dirs,files in os.walk(path):
314  result.extend( [ '/'.join([root,dir]) for dir in dirs] )
315  allFiles.extend( [ '/'.join([root,file]) for file in files] )
316  result.extend(allFiles)
317  return result
318  # -- listing on EOS --
319  cmd = 'dirlist'
320  if rec:
321  cmd = 'dirlistrec'
322  files, _, _ = runXRDCommand(path, cmd)
323  result = []
324  for line in files.split('\n'):
325  tokens = [t for t in line.split() if t]
326  if tokens:
327  #convert to an LFN
328  # result.append(tuple(tokens))
329  #COLIN need same interface for eos and local fs
330  if full_info:
331  result.append( tokens)
332  else:
333  result.append( tokens[4] )
334  return result
def listFiles
Definition: eostools.py:299
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def runXRDCommand
Definition: eostools.py:22
def eostools.ls (   path,
  rec = False 
)
Provides a simple list of the specified directory, works on EOS and locally

Definition at line 348 of file eostools.py.

Referenced by FWPFCandidateDetailView.addClusters(), HcalLaserEventFilter2012.addEventString(), LumiMonitor.analyze(), PSMonitor.analyze(), DisplayGeom.analyze(), TriggerBxVsOrbitMonitor.analyze(), PixelLumiDQM.beginLuminosityBlock(), DQMProvInfo.blankPreviousLumiSections(), FWBeamSpotProxyBuilder.build(), FWPFClusterRPZProxyBuilder.build(), FWSiPixelClusterProxyBuilder.build(), FWPFClusterRPZUtils.buildRhoPhiClusterLineSet(), FWPFClusterRPZUtils.buildRhoZClusterLineSet(), evf::EvFDaqDirector.bumpFile(), L1TSync.certifyLSBlock(), CompositeLogicalTrajectoryFilter.CompositeLogicalTrajectoryFilter(), L1TSync.doFractionInSync(), PixelLumiDQM.endLuminosityBlock(), L1TRate.endLuminosityBlock(), RawEventFileWriterForBU.endOfLS(), RateBuffer.fill(), EcalDeadCellTriggerPrimitiveFilter.filter(), RawEventFileWriterForBU.finishFileWrite(), RateBuffer.getLSAlgoRate(), RateBuffer.getLSRate(), RateBuffer.getLSTechRate(), BeamSpotWorkflow.getNewRunList(), IdealZDCTrapezoid.initCorners(), IdealCastorTrapezoid.initCorners(), EcalDeadCellTriggerPrimitiveFilter.loadEventInfo(), FWBeamSpotProxyBuilder.localModelChanges(), ls_cert_type(), lsbs_cert(), copyAndRename.main(), copyFromCastor.main(), rename.main(), copyFiles.main(), main(), splitter.main(), checkRuns.main(), nlumis(), evf::EvFDaqDirector.preGlobalEndLumi(), AlpgenSource.readAlpgenEvent(), FedRawDataInputSource.readSupervisor(), evf::FastMonitoringService.reportLockWait(), lumi::TRGScalers2DB.retrieveData(), GenericTripletGenerator.run(), BeamHaloPairGenerator.run(), GenericPairGenerator.run(), fffnaming.runLumiPrefix(), fffnaming.runLumiPrefixFill(), MonitorElement.setLumi(), DIPLumiDetail.setOrigin(), DIPLumiSummary.setOrigin(), FWPFClusterRPZProxyBuilder.sharedBuild(), SiPixelPhase1OnlineHarvester.SiPixelPhase1OnlineHarvester(), TT6CMNSubtractor.subtract_(), IteratedMedianCMNSubtractor.subtract_(), SimpleCosmicBONSeeder.triplets(), evf::EvFDaqDirector.updateFuLock(), DTTimeEvolutionHisto.updateTimeSlot(), and RawEventOutputModuleForBU< Consumer >.write().

349 def ls(path, rec = False):
350  """Provides a simple list of the specified directory, works on EOS and locally"""
351  return [eosToLFN(t) for t in listFiles(path, rec)]
def ls
Definition: eostools.py:348
def eosToLFN
Definition: eostools.py:65
def listFiles
Definition: eostools.py:299
def eostools.ls_EOS (   path,
  rec = False 
)
Provides a simple list of the specified directory, works on EOS only, but is faster than the xrd version

Definition at line 352 of file eostools.py.

Referenced by datasetNotEmpty().

353 def ls_EOS(path, rec = False):
354  """Provides a simple list of the specified directory, works on EOS only, but is faster than the xrd version"""
355  if rec:
356  stdout, _, ret = runEOSCommand(path,'find','-f')
357  return [eosToLFN(line) for line in stdout.split('\n') if line]
358  else:
359  stdout, _, ret = runEOSCommand(path,'ls')
360  lfn = eosToLFN(path)
361  return [os.path.join(lfn,line) for line in stdout.split('\n') if line]
def ls_EOS
Definition: eostools.py:352
def eosToLFN
Definition: eostools.py:65
def runEOSCommand
Definition: eostools.py:38
def eostools.matchingFiles (   path,
  regexp 
)
Return a list of files matching a regexp

Definition at line 518 of file eostools.py.

519 def matchingFiles( path, regexp):
520  """Return a list of files matching a regexp"""
521 
522  # print path, regexp
523  pattern = re.compile( regexp )
524  #files = ls_EOS(path)
525  files = ls(path)
526  # print files
527  return [f for f in files if pattern.match(os.path.basename(f)) is not None]
def ls
Definition: eostools.py:348
def matchingFiles
Definition: eostools.py:518
def eostools.mkdir (   path)
Create a directory, either on EOS or locally

Definition at line 250 of file eostools.py.

Referenced by L1GtVhdlWriter.analyze(), spu.create_dir(), dd_to_html(), MillePedeMonitor.init(), evf::EvFDaqDirector.initRun(), LaserSorter.LaserSorter(), L1GtVhdlWriterCore.makeFirmware(), pos::PixelConfigFile.makeNewVersion(), L1MuGlobalMuonTrigger.produce(), EgammaObjects.saveHistos(), VariablePlotter.setDir(), LaserSorter.streamFileName(), WatcherStreamFileReader.WatcherStreamFileReader(), and RawEventFileWriterForBU.writeJsds().

251 def mkdir(path):
252  """Create a directory, either on EOS or locally"""
253  # print 'mkdir', path
254  if isEOS( path ) or isLFN(path):
255  createEOSDir(path)
256  else:
257  # recursive directory creation (like mkdir -p)
258  os.makedirs(path)
259  return path
def isLFN
Definition: eostools.py:56
def mkdir
Definition: eostools.py:250
def isEOS
Definition: eostools.py:61
def createEOSDir
Definition: eostools.py:229
def eostools.move (   src,
  dest 
)
Move filename1 to filename2 locally to the same server

Definition at line 510 of file eostools.py.

Referenced by CompatibleDetToGroupAdder.add(), helper::CandDecayStoreManager.add(), tracking::TempMeasurements.add(), reco::fitHelper::Adder< edm::OwnVector< T > >.add(), reco::fitHelper.add(), TkGluedMeasurementDet::HitCollectorForFastMeasurements.add(), edm::ParameterSetDescription.add(), edm::Principal.addAliasedProduct(), AlignableCompositeBuilder.addAlignmentLevel(), FWRecoGeometryESProducer.addCaloGeometry(), reco::NamedCompositeCandidate.addDaughter(), reco::CompositeCandidate.addDaughter(), IntermediateHitDoublets::RegionFiller.addDoublets(), TrajectorySegmentBuilder.addGroup(), CosmicTrajectoryBuilder.AddHit(), cms::HTTTopJetProducer.addHTTTopJetTagInfoCollection(), edm::Principal.addInputProduct(), edmNew::DetSetVector< edm::Ref< edmNew::DetSetVector< SiStripCluster >, SiStripCluster, edmNew::DetSetVector< SiStripCluster >::FindForDetSetVector > >.addItem(), MatacqProducer.addMatacqData(), edm::ParameterSetDescription.addNode(), HLTRFilter.addObjects(), edm::ParameterSetDescription.addOptionalNode(), cms::Phase2TrackerDigitizer.addOuterTrackerCollection(), edm::Principal.addParentProcessProduct(), cms::Phase2TrackerDigitizer.addPixelCollection(), edm::Principal.addProductOrThrow(), TkGluedMeasurementDet::HitCollectorForRecHits.addProjected(), edm::Principal.addScheduledProduct(), edm::HiMixingWorker< T >.addSignals(), edm::Principal.addSourceProduct(), BaseCkfTrajectoryBuilder.addToResult(), edm::Principal.addUnscheduledProduct(), pat::PATObject< reco::Muon >.addUserData(), pat::PATObject< reco::Muon >.addUserDataFromPtr(), pat::PATObject< ObjectType >.addUserDataObject_(), edm::ParameterSetDescription.addVPSet(), edm::ParameterSetDescription.addWildcard(), GroupedCkfTrajectoryBuilder.advanceOneLayer(), PhysicsTools::MVATrainerSave.analyze(), PhysicsTools::MVATrainerContainerSave.analyze(), PhysicsTools::MVATrainerFileSave.analyze(), MultiTrackValidator.analyze(), DTCCBConfig.appendConfigKey(), FFTJetCorrectionProducer.applyCorrections(), CaloTruthAccumulator.attachedSimHitInfo(), dqmservices::DQMProtobufReader.beginLuminosityBlock(), edm::GeneratorFilter< HAD, DEC >.beginLuminosityBlockProduce(), edm::HadronizerFilter< HAD, DEC >.beginLuminosityBlockProduce(), hitTripletEDProducerT::ImplIntermediateHitTriplets.beginRegion(), LHESource.beginRun(), AlpgenSource.beginRun(), MCatNLOSource.beginRun(), L1GtTriggerMenuLiteProducer.beginRunProduce(), ExternalLHEProducer.beginRunProduce(), JME::bimap< Binning, std::string >.bimap(), DQMStore.book(), AlignableTrackerBuilder.buildAlignableComposites(), GenericSimClusterMapper.buildClusters(), Basic2DGenericPFlowClusterizer.buildClusters(), PFlow2DClusterizerWithTime.buildClusters(), FFTJetPatRecoProducer.buildDenseProduct(), DetIdAssociator.buildMap(), SeedFromConsecutiveHitsCreator.buildSeed(), FFTJetPatRecoProducer.buildSparseProduct(), TrackProducerAlgorithm< reco::Track >.buildTrack(), TrackProducerAlgorithm< reco::GsfTrack >.buildTrack(), DTReadOutMapping.cacheMap(), TrackingParticleNumberOfLayers.calculate(), edm::ParameterDescriptionCases< T >.caseMap(), clangcms::FiniteMathChecker.checkPreStmt(), XrdAdaptor::RequestManager.checkSourcesImpl(), MuonTrajectoryCleaner.clean(), helper::CollectionStoreManager< OutputCollection, ClonePolicy >.cloneAndStore(), DAClusterizerInZ_vect.clusterize(), Phase2ITPixelThresholdClusterizer.clusterizeDetUnit(), PixelThresholdClusterizer.clusterizeDetUnitT(), Multi5x5ClusterProducer.clusterizeECALPart(), CosmicClusterProducer.clusterizeECALPart(), EgammaHLTMulti5x5ClusterProducer.clusterizeECALPart(), IslandClusterProducer.clusterizeECALPart(), EgammaHLTIslandClusterProducer.clusterizeECALPart(), CombinedHitQuadrupletGenerator.CombinedHitQuadrupletGenerator(), edm::LuminosityBlock.commit_(), edm::Run.commit_(), edm::Event.commit_aux(), CSCSegAlgoRU.compareProtoSegment(), edm::detail.configureEventSelector(), PFCandConnector.connect(), hitfit::Constraint.Constraint(), CaloTowersCreationAlgo.convert(), edm.convert_handle(), sistrip::SpyEventMatcherModule.copyData(), edm::eventsetup.copyFromTo(), edm::eventsetup::produce.copyFromTo(), edm::SharedResourcesRegistry.createAcquirer(), edm::SharedResourcesRegistry.createAcquirerForSourceDelayedReader(), edm::ServiceRegistry.createContaining(), StandAloneMuonFilter.createDefaultTrajectory(), edm::OutputModuleCommunicatorT< T >.createIfNeeded(), BareRootProductGetter.createNewBuffer(), ESDigitizer.createNoisyList(), edm::maker::ModuleHolderT< T >.createOutputModuleCommunicator(), CosmicTrajectoryBuilder.createStartingTrajectory(), CRackTrajectoryBuilder.createStartingTrajectory(), KinematicTree.currentProductionVertex(), CaloTruthAccumulator.descendantSimClusters(), PFRecoTauDiscriminationByIsolation.discriminate(), edm::RecordInParentless< PROD >.do_it(), edm::RecordInParentfull< PROD >.do_it(), HLTTauRefProducer.doElectrons(), HLTTauRefProducer.doJets(), OutsideInMuonSeeder.doLayer(), HLTTauRefProducer.doMET(), HLTTauRefProducer.doMuons(), HLTTauRefProducer.doPFTaus(), HLTTauRefProducer.doPhotons(), edm::MixingModule.doPileUp(), HLTTauRefProducer.doTowers(), EcalTBDigiProducer.EcalTBDigiProducer(), EDMNeutronWriter.endEvent(), PATTauDiscriminationAgainstElectronMVA6.endEvent(), PFRecoTauDiscriminationAgainstElectronMVA6.endEvent(), PFRecoTauDiscriminationAgainstElectronMVA5.endEvent(), PFRecoTauDiscriminationByIsolationMVA2.endEvent(), PFRecoTauDiscriminationByMVAIsolationRun2.endEvent(), PATTauDiscriminationByMVAIsolationRun2.endEvent(), AlcaBeamSpotFromDB.endLuminosityBlockProduce(), AlcaBeamSpotProducer.endLuminosityBlockProduce(), MillePedeFileConverter.endLuminosityBlockProduce(), EventCountProducer.endLuminosityBlockProduce(), GenFilterEfficiencyProducer.endLuminosityBlockProduce(), ConditionDumperInEdm.endLuminosityBlockProduce(), HLTPrescaleRecorder.endLuminosityBlockProduce(), edm::GeneratorFilter< HAD, DEC >.endLuminosityBlockProduce(), edm::HadronizerFilter< HAD, DEC >.endLuminosityBlockProduce(), LHESource.endRun(), edm::FlatBaseThetaGunProducer.endRunProduce(), edm::CosMuoGenProducer.endRunProduce(), edm::BaseFlatGunProducer.endRunProduce(), edm::BeamHaloProducer.endRunProduce(), HLTPrescaleRecorder.endRunProduce(), ConditionDumperInEdm.endRunProduce(), edm::GeneratorFilter< HAD, DEC >.endRunProduce(), TkLasBeamFitter.endRunProduce(), edm::HadronizerFilter< HAD, DEC >.endRunProduce(), ExternalLHEProducer.endRunProduce(), GlobalHitsProdHist.endRunProduce(), LaserAlignment.endRunProduce(), LumiProducer.endRunProduce(), MeasurementDet.fastMeasurements(), lhef::LHEReader::FileSource.FileSource(), VariableNTupler.fill(), StringBasedNTupler.fill(), edm::RootOutputFile.fillBranches(), edm.fillDescriptionFromPSet(), EcalUncalibRecHitProducer.fillDescriptions(), EgammaHLTPixelMatchVarProducer.fillDescriptions(), SmearedJetProducerT< T >.fillDescriptions(), HcalGeometry.fillDetIds(), GsfElectronBaseProducer.fillEvent(), edm::RootFile.fillIndexIntoFile(), MuonProducer.fillMuonMap(), PhotonMVAEstimatorRun2Phys14NonTrig.fillMVAVariables(), PhotonMVAEstimatorRun2Spring15NonTrig.fillMVAVariables(), ElectronMVAEstimatorRun2Phys14NonTrig.fillMVAVariables(), ElectronMVAEstimatorRun2Spring15Trig.fillMVAVariables(), ElectronMVAEstimatorRun2Spring15NonTrig.fillMVAVariables(), PFLinker.fillValueMap(), ElectronIsolatorFromEffectiveArea.filter(), HSCParticleSelector.filter(), L1GTPrescaler.filter(), HLTHcalMETNoiseCleaner.filter(), CandViewRefRandomSelector.filter(), MCPdgIndexFilter.filter(), Tau3MuSkim.filter(), ElectronIdMVAProducer.filter(), PhotonIsoProducer.filter(), GreedyMuonPFCandidateFilter.filter(), InconsistentMuonPFCandidateFilter.filter(), pat::PATSingleVertexSelector.filter(), ElectronRegressionEnergyProducer.filter(), PFTauViewRefSelector.filter(), HLTFilter.filter(), HLTRHemisphere.filter(), HLTStreamFilter.filter(), HltComparator.filter(), RecoTauPileUpVertexSelector.filter(), pat::PATJetSelector.filter(), MCZll.filter(), BVertexFilterT< VTX >.filter(), edm::FwdPtrCollectionFilter< T, S, H >.filter(), ConfigurableAnalysis.filter(), JetConstituentSelector< T, C >.filter(), JetVertexChecker.filter(), MCVerticesWeight.filter(), RecoTauDiscriminatorRefSelectorImpl< T >.filter(), edm::GeneratorFilter< HAD, DEC >.filter(), HLTEcalPhiSymFilter.filter(), HSCParticleProducer.filter(), ElectronIdFilter.filter(), reco::tau::AssociationMatchRefSelector< InputType, MatchedType, OutputType, ClonePolicy >.filter(), aod2patFilterZee.filter(), EcalDeadCellBoundaryEnergyFilter.filter(), edm::FilterObjectWrapper< T, C >.filter(), edm::HadronizerFilter< HAD, DEC >.filter(), ElectronIdMVABased.filter(), HLTEcalResonanceFilter.filter(), HLTRegionalEcalResonanceFilter.filter(), HLTLogMonitorFilter.filter(), FlavorHistoryFilter.filter(), ZeeCandidateFilter.filter(), L1TGlobalPrescaler.filter(), TkStripMeasurementDet.filteredRecHits(), EcalTBDigiProducer.finalizeEvent(), EcalTimeDigiProducer.finalizeEvent(), CastorDigiProducer.finalizeEvent(), HcalTBDigiProducer.finalizeEvent(), RecoTrackAccumulator.finalizeEvent(), HcalDigitizer.finalizeEvent(), CaloTruthAccumulator.finalizeEvent(), cms::PileupVertexAccumulator.finalizeEvent(), SiStripDigitizer.finalizeEvent(), cms::SiPixelDigitizer.finalizeEvent(), HGCDigitizer.finalizeEvent(), EcalDigiProducer.finalizeEvent(), TrackingTruthAccumulator.finalizeEvent(), ftl_digitizer::FTLDigitizer< SensorPhysics, ElectronicsSim >.finalizeEvent(), LocalFileSystem.findCachePath(), LocalMaximumSeedFinder.findSeeds(), PassThruSeedFinder.findSeeds(), V0Fitter.fitAll(), edm::ProvenanceAdaptor.fixProcessHistory(), reco::FormulaEvaluator.FormulaEvaluator(), edm::EventBase.get(), edm::eventsetup::EventSetupRecord.get(), edm::Event.get(), edm.getAnyPtr(), PileUpEventPrincipal.getByLabel(), edm::EventBase.getByLabel(), edm::RunBase.getByLabel(), edm::LuminosityBlockBase.getByLabel(), edm::LuminosityBlock.getByLabel(), edm::Run.getByLabel(), edm::Event.getByLabel(), edm::OccurrenceForOutput.getByToken(), edm::LuminosityBlock.getByToken(), edm::Run.getByToken(), edm::Event.getByToken(), edm::PrincipalGetAdapter.getManyByType(), SeedFinder.getSeed(), RandomEngineStateProducer.globalBeginLuminosityBlockProduce(), PixelForwardLayer.groupedCompatibleDetsV(), PixelForwardLayerPhase1.groupedCompatibleDetsV(), TECLayer.groupedCompatibleDetsV(), Phase2EndcapLayer.groupedCompatibleDetsV(), CompositeTECWedge.groupedCompatibleDetsV(), TIDRing.groupedCompatibleDetsV(), TBLayer.groupedCompatibleDetsV(), TIBRing.groupedCompatibleDetsV(), Phase2EndcapRing.groupedCompatibleDetsV(), PixelBlade.groupedCompatibleDetsV(), TOBRod.groupedCompatibleDetsV(), Phase1PixelBlade.groupedCompatibleDetsV(), Phase2OTBarrelRod.groupedCompatibleDetsV(), CompositeTECPetal.groupedCompatibleDetsV(), LayerMeasurements.groupedMeasurements(), XrdAdaptor::RequestManager.handle(), XrdAdaptor::RequestManager::OpenHandler.HandleResponseWithHosts(), HGCalImagingAlgo::Hexel.Hexel(), SeedingLayerSetsBuilder.hits(), RectangularEtaPhiTrackingRegion.hits(), MultiHitGeneratorFromChi2.hitSets(), HLTConfigDataEx.HLTConfigDataEx(), HLTDeDxFilter.hltFilter(), HLTMuonPFIsoFilter.hltFilter(), HLTMuonIsoFilter.hltFilter(), HLTHcalPhiSymFilter.hltFilter(), HLTmmkkFilter.hltFilter(), HLTmmkFilter.hltFilter(), HLTJetHbbFilter< T >.hltFilter(), edm::ParameterSetDescription.ifExists(), edm::ParameterSetDescription.ifValue(), edm::ParameterSetDescription.ifValueOptional(), PFHBHERecHitCreator.importRecHits(), PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >.importRecHits(), PFEcalRecHitCreator< Geometry, Layer, Detector >.importRecHits(), PFPSRecHitCreator.importRecHits(), PFHFRecHitCreator.importRecHits(), CSCSegAlgoRU.increaseProtoSegment(), HitQuadrupletGeneratorFromTripletAndLayers.init(), HitTripletGeneratorFromPairAndLayers.init(), MultiHitGeneratorFromPairAndLayers.init(), edm::EventProcessor.init(), HGCalTriggerGeometryImp1.initialize(), DTCCBConfig.initialize(), XrdAdaptor::RequestManager.initialize(), initializeDummyPSet(), PFEGammaAlgo.initializeProtoCands(), TransientInitialStateEstimator.innerState(), ShallowDigisProducer.insert(), edm::ParameterDescriptionCases< T >.insert(), edm::eventsetup::EventSetupProvider.insert(), edm::ParentageRegistry.insertMapped(), GeomDetCompatibilityChecker.isCompatible(), JME::JetParameters.JetParameters(), L1MuBMTFSetup.L1MuBMTFSetup(), L1MuDTTFSetup.L1MuDTTFSetup(), edm::ParameterSetDescription.labelsFrom(), SeedingLayerSetsBuilder::LayerSpec.LayerSpec(), CkfTrajectoryBuilder.limitedCandidates(), EcalDeadChannelRecoveryNN< DetIdT >.load_file(), gen::Pythia6Gun.loadEvent(), MuonTrackLoader.loadTracks(), main(), edm::serviceregistry::ServiceMaker< T, TMaker >.make(), HGCalImagingAlgo.makeClusters(), edm.makeESHandleExceptionFactory(), edm.makeHandleExceptionFactory(), EgammaHLTNxNClusterProducer.makeNxNClusters(), edm::RootFile.makeProvenanceReaderMaker(), TSGForOI.makeSeedsFromHits(), TrajectoryFitter.makeVect(), TkPhase2OTMeasurementDet.measurements(), TkPixelMeasurementDet.measurements(), DQMStore.mergeAndResetMEsLuminositySummaryCache(), DQMStore.mergeAndResetMEsRunSummaryCache(), DetGroupMerger.mergeTwoLevels(), KinematicTree.movePointerToTheTop(), edm::soahelper::SoATupleHelper< I, Args >.moveToNew(), BaseCkfTrajectoryBuilder.moveToResult(), MuonAssociatorByHits.MuonAssociatorByHits(), MuonToSimAssociatorByHits.MuonToSimAssociatorByHits(), PhotonMVAEstimatorRun2Phys14NonTrig.mvaValue(), PhotonMVAEstimatorRun2Spring15NonTrig.mvaValue(), ElectronMVAEstimatorRun2Phys14NonTrig.mvaValue(), ElectronMVAEstimatorRun2Spring15Trig.mvaValue(), ElectronMVAEstimatorRun2Spring15NonTrig.mvaValue(), DavixStorageMaker.open(), LocalStorageMaker.open(), DCacheStorageMaker.open(), XrdStorageMaker.open(), StormStorageMaker.open(), StormLcgGtStorageMaker.open(), StorageFactory.open(), RFIOStorageMaker.open(), edm.operator&&(), CaloTDigitizerDefaultRun< Traits >.operator()(), CaloTDigitizerQIE8Run< Traits >.operator()(), StringLeaveHelper< Object >.operator()(), StringBranchHelper< Object, Collection >.operator()(), extstd::clone_ptr< Bounds >.operator=(), DetGroupElement.operator=(), edm::InputTag.operator=(), ProxyBase11< T >.operator=(), reco::TransientTrack.operator=(), edm::SerialTaskQueueChain.operator=(), edm::RefVectorBase< key_type >.operator=(), edm::RefVector< JetEisolAssociationCollection >.operator=(), pat::PackedGenParticle.operator=(), edmNew::dstvdetails::DetSetVectorTrans::Item.operator=(), hitfit::Constraint.operator=(), edm::atomic_value_ptr< edm::ParameterSet >.operator=(), edm::value_ptr< edm::service::MessageLoggerDefaults >.operator=(), edm.operator>>(), edm.operator^(), edm.operator||(), DetGroupMerger.orderAndMergeTwoLevels(), edm::ParameterDescriptionCases< T >.ParameterDescriptionCases(), parseHBHEPhase1AlgoDescription(), PATTauDiscriminantCutMultiplexer.PATTauDiscriminantCutMultiplexer(), PFRecoTauDiscriminationByIsolation.PFRecoTauDiscriminationByIsolation(), PixelTrackReconstruction.PixelTrackReconstruction(), edm::PoolSource.PoolSource(), edm::service::StallMonitor.postEvent(), edm::service::StallMonitor.postEventReadFromSource(), edm::service::StallMonitor.postModuleEvent(), edm::service::StallMonitor.postModuleEventPrefetching(), edm::service::StallMonitor.preEvent(), edm::service::StallMonitor.preEventReadFromSource(), edm::service::StallMonitor.preModuleEvent(), HcalSimpleReconstructor.process(), TFWLiteSelectorBasic.Process(), edm::SubProcess.process(), MultiTrackSelector.processMVA(), HIMultiTrackSelector.processMVA(), DimuonMCMatcher.produce(), WeakEffectsWeightProducer.produce(), TtGenEventReco.produce(), MaskedMeasurementTrackerEventProducer.produce(), ShallowEventDataProducer.produce(), PixelVertexProducerMedian.produce(), TTClusterBuilder< T >.produce(), TTClusterAssociator< T >.produce(), TTStubAssociator< T >.produce(), StGenEventReco.produce(), SiStripRecHitConverter.produce(), HcalPatternSource.produce(), IsolationProducerForTracks.produce(), GsfElectronCoreEcalDrivenProducer.produce(), PatElectronEAIsoCorrectionProducer.produce(), DoubleProducer.produce(), edm::FlatRandomMultiParticlePGunProducer.produce(), TTStubBuilder< T >.produce(), SeedGeneratorFromProtoTracksEDProducer.produce(), VZeroProducer.produce(), GEDGsfElectronCoreProducer.produce(), edm::FlatRandomEThetaGunProducer.produce(), edm::FlatRandomPtThetaGunProducer.produce(), edm::GaussRandomPThetaGunProducer.produce(), InterestingEcalDetIdProducer.produce(), HepMCCopy.produce(), CrossingFramePSimHitToPSimHitsConverter.produce(), ClusterCheckerEDProducer.produce(), QualityFilter.produce(), HcalTTPTriggerRecord.produce(), GEDGsfElectronProducer.produce(), GsfElectronCoreProducer.produce(), ShallowTracksProducer.produce(), HIBestVertexProducer.produce(), HIPixelMedianVtxProducer.produce(), edm::FileRandomKEThetaGunProducer.produce(), L3MuonCleaner.produce(), edm::RandomtXiGunProducer.produce(), PixelVertexProducerClusters.produce(), SeedingLayersEDProducer.produce(), TrackingParticleConversionRefSelector.produce(), JetChargeProducer.produce(), CastorTTRecord.produce(), HcalTTPDigiProducer.produce(), RazorVarProducer.produce(), PileupSummaryInfoSlimmer.produce(), edm::EventAuxiliaryHistoryProducer.produce(), HFEMClusterProducer.produce(), JetSignalVertexCompatibility.produce(), BasicToPFJet.produce(), CastorSimpleReconstructor.produce(), SiStripClusterizer.produce(), TrackListCombiner.produce(), ConversionTrackRefFix.produce(), reco::modules::CaloRecHitCandidateProducer< HitCollection >.produce(), MeasurementTrackerEventProducer.produce(), SeedCombiner.produce(), GenParticleDecaySelector.produce(), ElectronSqPtTkIsolationProducer.produce(), AlphaTVarProducer.produce(), PseudoTopProducer.produce(), TtSemiLepJetCombMaxSumPtWMass.produce(), MuonSelectorVertex.produce(), ECFAdder.produce(), HcalLaserReco.produce(), HGCalUncalibRecHitProducer.produce(), ElectronSeedMerger.produce(), PhotonConversionTrajectorySeedProducerFromQuadruplets.produce(), SeedGeneratorFromRegionHitsEDProducer.produce(), DoubleVertexFilter.produce(), HcalTrigPrimDigiProducer.produce(), TrackingParticleNumberOfLayersProducer.produce(), MuonAssociatorEDProducer.produce(), TopInitSubset.produce(), MassKinFitterCandProducer.produce(), TtSemiLepJetCombGeom.produce(), TtSemiLepJetCombWMassMaxSumPt.produce(), EgammaHLTTimeCleanedRechitProducer.produce(), ShallowRechitClustersProducer.produce(), DistortedMETProducer.produce(), CSCTFCandidateProducer.produce(), PhotonConversionTrajectorySeedProducerFromSingleLeg.produce(), MCTruthCompositeMatcher< C1, C2 >.produce(), CSCDigiProducer.produce(), GsfElectronFull5x5Filler.produce(), GeneratorSmearedProducer.produce(), EventVtxInfoNtupleDumper.produce(), DTDigiToRawModule.produce(), ParticleDecayProducer.produce(), edm::FlatRandomOneOverPtGunProducer.produce(), PFConcretePFCandidateProducer.produce(), Phase2Tracker::Phase2TrackerCommissioningDigiProducer.produce(), DQMTauProducer.produce(), PFTauToJetProducer.produce(), PFJetToCaloProducer.produce(), StEvtSolutionMaker.produce(), CRackSeedGenerator.produce(), TtSemiLepKinFitProducer< LeptonCollection >.produce(), pat::PATVertexSlimmer.produce(), UnifiedSCCollectionProducer.produce(), CalibratedPhotonProducerRun2T< T >.produce(), ShallowSimhitClustersProducer.produce(), ShallowTrackClustersProducer.produce(), TtDilepEvtSolutionMaker.produce(), CandPtrProjector.produce(), EcalCompactTrigPrimProducer.produce(), edm::FlatRandomEGunProducer.produce(), edm::FlatRandomPtGunProducer.produce(), MuonTrackProducer.produce(), EmptySimHits.produce(), CandOneToOneDeltaRMatcher.produce(), TtSemiLepJetCombWMassDeltaTopMass.produce(), pat::PATSecondaryVertexSlimmer.produce(), DiJetVarProducer.produce(), AssociationMapOneToOne2Association< CKey, CVal >.produce(), SiStripElectronSeedProducer.produce(), PhotonIDProducer.produce(), DistortedMuonProducerFromDB.produce(), MuonWithPFIsoProducer.produce(), AssociationVectorSelector< KeyRefProd, CVal, KeySelector, ValSelector >.produce(), EcalUncalibRecHitProducer.produce(), ESRecHitProducer.produce(), ESRawToDigi.produce(), edm::MultiParticleInConeGunProducer.produce(), QuarkoniaTrackSelector.produce(), MuIsoDepositProducer.produce(), RawDataCollectorByLabel.produce(), L2TauJetsMerger.produce(), IPTCorrector.produce(), CastorFastTowerProducer.produce(), L1RCTInputProducer.produce(), MultiHitFromChi2EDProducer.produce(), CandOneToManyDeltaRMatcher.produce(), HcalSimpleAmplitudeZS.produce(), HcalRealisticZS.produce(), pat::PATMETSlimmer.produce(), VertexAssociatorByPositionAndTracksProducer.produce(), VertexAssociatorByTracksProducer.produce(), AssociationVector2ValueMap< KeyRefProd, CVal >.produce(), UncleanSCRecoveryProducer.produce(), GEDGsfElectronFinalizer.produce(), DistortedMuonProducer.produce(), DistortedPFCandProducer.produce(), JetExtender.produce(), JetTracksAssociatorAtVertex.produce(), JetTracksAssociatorExplicit.produce(), EcalRecalibRecHitProducer.produce(), evf::EvFFEDSelector.produce(), CandViewRefMerger.produce(), edm::ExpoRandomPtGunProducer.produce(), PFClusterTimeSelector.produce(), PixelQuadrupletEDProducer.produce(), L1HLTJetsMatching.produce(), L1THLTTauMatching.produce(), FamosProducer.produce(), CastorFastClusterProducer.produce(), HGCalTriggerDigiFEReproducer.produce(), HGCalTriggerDigiProducer.produce(), OscarProducer.produce(), pat::PATTauSlimmer.produce(), CalibratedPatElectronProducer.produce(), EgammaElectronTkIsolationProducer.produce(), EgammaPhotonTkIsolationProducer.produce(), RegressionEnergyPatElectronProducer.produce(), EgammaPhotonTkNumIsolationProducer.produce(), ShallowSimTracksProducer.produce(), TrackProducerWithSCAssociation.produce(), cms::SubEventGenJetProducer.produce(), PFJetsMatchedToFilteredCaloJetsProducer.produce(), HcalCalibFEDSelector.produce(), edm::ExpoRandomPGunProducer.produce(), CSCTFTrackProducer.produce(), PFDisplacedTrackerVertexProducer.produce(), PFNuclearProducer.produce(), L1HLTTauMatching.produce(), EcalTBWeightUncalibRecHitProducer.produce(), ElectronSeedTrackRefFix.produce(), GenParticlePruner.produce(), GEMPadDigiClusterProducer.produce(), MCTrackMatcher.produce(), UpdatedMuonInnerTrackRef.produce(), ElectronMatchedCandidateProducer.produce(), CleanAndMergeProducer.produce(), CollectionAdder< C >.produce(), EcalRecHitsMerger.produce(), EgammaHLTHybridClusterProducer.produce(), ESRecHitsMerger.produce(), ISRGammaWeightProducer.produce(), JetTracksAssociatorAtCaloFace.produce(), HBHEIsolatedNoiseReflagger.produce(), HLTJetL1MatchProducer< T >.produce(), CSCSegmentProducer.produce(), IsolatedEcalPixelTrackCandidateProducer.produce(), MuIsoDepositCopyProducer.produce(), PFClusterCollectionMerger.produce(), LightPFTrackProducer.produce(), L2TauPixelTrackMatch.produce(), CandIsoDepositProducer.produce(), TemplatedVertexMerger< VTX >.produce(), ME0DigiPreRecoProducer.produce(), ShallowClustersProducer.produce(), CalibratedElectronProducerRun2T< T >.produce(), HFRecoEcalCandidateProducer.produce(), HLTHFRecoEcalCandidateProducer.produce(), ParticleBasedIsoProducer.produce(), FSRWeightProducer.produce(), ISRWeightProducer.produce(), HIPixelClusterVtxProducer.produce(), EcalDigiSelector.produce(), AnyJetToCaloJetProducer.produce(), EcalTPSkimmer.produce(), DTUnpackingModule.produce(), HLTJetL1TMatchProducer< T >.produce(), RPCPointProducer.produce(), HLTTauRefCombiner.produce(), L3MuonSumCaloPFIsolationProducer.produce(), CaloMuonMerger.produce(), HcalTBSource.produce(), ScaleCorrMETData.produce(), PFConversionProducer.produce(), PFV0Producer.produce(), PixelQuadrupletMergerEDProducer.produce(), CollectionFromZLegProducer.produce(), SeedCreatorFromRegionHitsEDProducerT< T_SeedCreator >.produce(), ESZeroSuppressionProducer.produce(), StoreSecondary.produce(), SimHitTPAssociationProducer.produce(), HybridClusterProducer.produce(), pat::helper::AnythingToValueMap< Adaptor, Collection, value_type >.produce(), TtFullLepKinSolutionProducer.produce(), TtFullHadSignalSelMVAComputer.produce(), RecHitFilter.produce(), PdfWeightProducer.produce(), CSCDCCUnpacker.produce(), ESDigiToRaw.produce(), reco::ParticleFlowForChargedMETProducer.produce(), CaloMuonProducer.produce(), TSGFromL1Muon.produce(), TSGFromL2Muon.produce(), PFRecHitProducer.produce(), PFElectronTranslator.produce(), PFTauViewRefMerger.produce(), CandViewRefTriggerBiasRemover.produce(), JetTracksAssociationToTrackRefs.produce(), reco::modulesNew::MCTruthCompositeMatcher.produce(), RHStopTracer.produce(), JetVetoedTracksAssociatorAtVertex.produce(), JetTagProducer.produce(), IsoTracks.produce(), TtSemiLepHitFitProducer< LeptonCollection >.produce(), PixelTracksProducer.produce(), EgammaElectronTkNumIsolationProducer.produce(), ElectronIDExternalProducer< algo >.produce(), OniaAddV0TracksProducer.produce(), ConeIsolation.produce(), PileupJPTJetIdProducer.produce(), PUFilter.produce(), CaloTowerCandidateCreator.produce(), CaloTowersCreator.produce(), HLTHcalTowerNoiseCleaner.produce(), HLTHcalTowerNoiseCleanerWithrechit.produce(), ZdcSimpleReconstructor.produce(), MuonRefProducer.produce(), ProbeMulteplicityProducer.produce(), LmfSource.produce(), TrackingRegionEDProducerT< T_TrackingRegionProducer >.produce(), RecoTauPiZeroUnembedder.produce(), FastTSGFromL2Muon.produce(), AlignmentPrescaler.produce(), pat::PATGenJetSlimmer.produce(), pat::PATMuonSlimmer.produce(), EgammaHLTCaloTowerProducer.produce(), NtpProducer< C >.produce(), ElectronPATIdMVAProducer.produce(), EgammaEcalPFClusterIsolationProducer< T1 >.produce(), EgammaHcalPFClusterIsolationProducer< T1 >.produce(), edm::CosMuoGenProducer.produce(), GEDPhotonCoreProducer.produce(), SiStripProcessedRawDigiProducer.produce(), GEMCSCSegmentProducer.produce(), GEMSegmentProducer.produce(), JetCoreClusterSplitter.produce(), L3MuonCandidateProducerFromMuons.produce(), HLTMuonL2SelectorForL3IO.produce(), MuonLinksProducerForHLT.produce(), MuonSelectionTypeValueMapProducer.produce(), PFMultiDepthClusterProducer.produce(), TtSemiLepSignalSelMVAComputer.produce(), L1TTwinMuxProducer.produce(), FastTrackerRecHitMaskProducer.produce(), bestPVselector< T1 >.produce(), CosmicSeedGenerator.produce(), SecondaryVertexTagInfoProxy.produce(), TtSemiLepJetCombMVAComputer.produce(), pat::PATElectronSlimmer.produce(), pat::PATJetSlimmer.produce(), StripCompactDigiSimLinksProducer.produce(), GenTrackMatcher.produce(), ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init >.produce(), TtSemiEvtSolutionMaker.produce(), PreshowerClusterProducer.produce(), PreshowerClusterShapeProducer.produce(), PreshowerPhiClusterProducer.produce(), ReducedESRecHitCollectionProducer.produce(), GEMPadDigiProducer.produce(), ZMuMuTrackUserData.produce(), MVAJetPuIdProducer.produce(), CastorDigiToRaw.produce(), EcalRecHitProducer.produce(), ME0SegmentProducer.produce(), CandReducer.produce(), L3MuonIsolationProducer.produce(), DTNewROS8FileReader.produce(), MuonSeedGenerator.produce(), PFClusterProducer.produce(), PuppiPhoton.produce(), PFDisplacedVertexProducer.produce(), RawDataSelector.produce(), FRDStreamSource.produce(), RecoTauPiZeroFlattener.produce(), MuonSeedMerger.produce(), TauGenJetProducer.produce(), SiPixelFedFillerWordEventNumber.produce(), TtFullHadKinFitProducer.produce(), L2TauPixelIsoTagProducer.produce(), ColinsSoperVariablesComputer.produce(), reco::modules::MatcherBase< C1, C2, M >.produce(), CalibratedElectronProducer.produce(), CandidateTriggerObjectProducer.produce(), reco::modulesNew::Matcher< C1, C2, S, D >.produce(), ZMuMuMuonUserData.produce(), LHECOMWeightProducer.produce(), ObjectMultiplicityCounter< T >.produce(), EcalDetailedTimeRecHitProducer.produce(), ShallowCloneProducer< C >.produce(), DTRecSegment4DProducer.produce(), DTSegment4DT0Corrector.produce(), RPCRecHitProducer.produce(), HcalDigiToRaw.produce(), HcalHistogramRawToDigi.produce(), TtHadEvtSolutionMaker.produce(), GlobalMuonToMuonProducer.produce(), PFCandIsolatorFromDeposits.produce(), DTTrackFinder.produce(), SiPixelClusterShapeCacheProducer.produce(), RPCPackingModule.produce(), L1TMuonBarrelTrackProducer.produce(), L1TTwinMuxAlgortithm.produce(), BeamSpotProducer.produce(), pat::PATPhotonSlimmer.produce(), RPCDigiProducer.produce(), TrackFromPVSelector.produce(), TrackerHitProducer.produce(), OtherObjectVariableComputer< T >.produce(), photonIsolationHIProducer.produce(), CandIsolatorFromDeposits.produce(), HGCalRecHitProducer.produce(), TrackInfoProducer.produce(), MuonFromPVSelector.produce(), DTRecHitProducer.produce(), HLTPFJetIDProducer.produce(), edm::MCFileSource.produce(), cms::MuonMET.produce(), MuonLinksProducer.produce(), DTROS8FileReader.produce(), reco::CorrectedJetProducer< T >.produce(), PFClusterTimeAssigner.produce(), RPCUnpackingModule.produce(), PFDisplacedVertexCandidateProducer.produce(), sistrip::RawToDigiModule.produce(), GenParticleProducer.produce(), RPCandIRPCDigiProducer.produce(), EcalSelectiveReadoutProducer.produce(), ShiftedMETcorrInputProducer.produce(), EcalTBMCInfoProducer.produce(), pat::RecoMETExtractor.produce(), ElectronRecalibSuperClusterAssociator.produce(), TkAlCaOverlapTagger.produce(), pat::PATLostTracks.produce(), EgammaHLTPixelMatchElectronProducers.produce(), EgammaHLTPixelMatchVarProducer.produce(), EgammaHLTRecoEcalCandidateProducers.produce(), ZMuMuUserDataOneTrack.produce(), ZMuMuUserData.produce(), HiFJGridEmptyAreaCalculator.produce(), ParticleTowerProducer.produce(), GEMDigiProducer.produce(), QjetsAdder.produce(), HectorProducer.produce(), HGCalClusterTestProducer.produce(), EcalDCCTBUnpackingModule.produce(), BaseEvtVtxGenerator.produce(), DeltaBetaWeights.produce(), JVFJetIdProducer.produce(), GlobalTrackQualityProducer.produce(), ME0ReDigiProducer.produce(), DTDDUFileReader.produce(), CollectionCombiner< Collection >.produce(), cms::JetVertexAssociation.produce(), NearbyCandCountComputer.produce(), ConvertObjectMapRecord.produce(), reco::tautools::CopyProducer< Collection >.produce(), FastTrackerRecHitCombiner.produce(), BeamSpotOnlineProducer.produce(), pat::GenMETExtractor.produce(), EcalZeroSuppressionProducer.produce(), pat::PATGenCandsFromSimTracksProducer.produce(), OscarMTProducer.produce(), EcalListOfFEDSProducer.produce(), GenParticles2HepMCConverter.produce(), HiFJRhoProducer.produce(), EcalDetIdToBeRecoveredProducer.produce(), EcalDCCTB07UnpackingModule.produce(), SiStripClusterToDigiProducer.produce(), PixelClusterSelectorTopBottom.produce(), HcalRawToDigi.produce(), L3TkMuonProducer.produce(), RandomEngineStateProducer.produce(), CSCRecHitDProducer.produce(), MuonMETcorrInputProducer.produce(), citk::PFIsolationSumProducerForPUPPI.produce(), DTROS25FileReader.produce(), TauJetSelectorForHLTTrackSeeding.produce(), SubdetFEDSelector.produce(), MuonReSeeder.produce(), pat::MatcherUsingTracks.produce(), TriggerObjectFilterByCollection.produce(), pat::PATTrackAndVertexUnpacker.produce(), EgammaHLTRemoveDuplicatedSC.produce(), ESListOfFEDSProducer.produce(), PiZeroDiscriminatorProducer.produce(), HLTDisplacedmumumuVtxProducer.produce(), LaserAlignmentProducer.produce(), HLTCaloTowerHtMhtProducer.produce(), Phase2TrackerRecHits.produce(), ME0MuonTrackCollProducer.produce(), L1GctInternJetProducer.produce(), StripClusterSelectorTopBottom.produce(), TopBottomClusterInfoProducer.produce(), L2MuonIsolationProducer.produce(), L3MuonCombinedRelativeIsolationProducer.produce(), PFMET.produce(), MuonSeedProducer.produce(), DTSpyReader.produce(), cms::JetCorrectionProducer< T >.produce(), ShiftedJetProducerByMatchedObjectT< T >.produce(), SysShiftMETcorrInputProducer.produce(), Type1PFMET.produce(), SiPixelDigiToRaw.produce(), ImpactParameter.produce(), edm::ThinningProducer< Collection, Selector >.produce(), ShiftedParticleMETcorrInputProducer.produce(), PileupInformation.produce(), VersionedIdProducer< PhysicsObjectPtr, SelectorType >.produce(), EcalSimHitsValidProducer.produce(), edm::FwdPtrProducer< T, H >.produce(), FakeTBEventHeaderProducer.produce(), PhotonCoreProducer.produce(), PuppiProducer.produce(), Phase2TrackerClusterizer.produce(), pat::PATTriggerObjectStandAloneUnpacker.produce(), MuonShowerInformationProducer.produce(), CosmicMuonSeedGenerator.produce(), Type0PFMETcorrInputProducer.produce(), cms::ReconstructerFP420.produce(), CaloRecoTauProducer.produce(), ElectronConversionRejectionVars.produce(), PFRecoTauProducer.produce(), SiPixelRawToDigi.produce(), MuonDetCleaner< T1, T2 >.produce(), pat::L1MuonMatcher.produce(), SiStripRegFEDSelector.produce(), TBHodoActiveVolumeRawInfoProducer.produce(), pat::DuplicatedElectronCleaner.produce(), FakeTBHodoscopeRawInfoProducer.produce(), DigiSimLinkProducer.produce(), pat::PATVertexAssociationProducer.produce(), sistrip::DigiToRawModule.produce(), edm::ProductFromFwdPtrProducer< T, H >.produce(), ConversionTrackMerger.produce(), HcalTBObjectUnpacker.produce(), SoftPFMuonTagInfoProducer.produce(), HLTDisplacedmumuVtxProducer.produce(), InputGenJetsParticleSelector.produce(), CSCDigiToRawModule.produce(), CSCTFPacker.produce(), TSGForOI.produce(), HLTMhtProducer.produce(), DaqFakeReader.produce(), PFRecoTauTagInfoProducer.produce(), L2MuonCandidateProducer.produce(), reco::tautools::CastedRefProducer< DerivedCollection, BaseType >.produce(), SimpleTrackListMerger.produce(), TrackListMerger.produce(), pat::HLTL1MuonMatcher.produce(), GsfElectronFromPVSelector.produce(), TtFullHadHypothesis.produce(), SoftPFElectronTagInfoProducer.produce(), EgammaHLTRegionalPixelSeedGeneratorProducers.produce(), TriggerSummaryProducerRAW.produce(), sistrip::SpyEventSummaryProducer.produce(), HLTMETCleanerUsingJetID.produce(), HLTTauMCProducer.produce(), cms::ElseMETProducer.produce(), MultShiftMETcorrInputProducer.produce(), PFTrackProducer.produce(), CAHitNtupletEDProducerT< T_Generator >.produce(), PixelVertexProducer.produce(), EmptyHepMCProducer.produce(), RecoTauJetRegionProducer.produce(), PFTauMVAInputDiscriminantTranslator.produce(), DeDxHitInfoProducer.produce(), GtPsbTextToDigi.produce(), pat::ModifiedObjectProducer< T >.produce(), ShiftedPFCandidateProducerByMatchedObject.produce(), ZllArbitrator< T1 >.produce(), Merger< InputCollection, OutputCollection, P >.produce(), AlpgenSource.produce(), EgammaEcalRecHitIsolationProducer.produce(), EgammaTowerIsolationProducer.produce(), CastorRawToDigi.produce(), HLTHtMhtProducer.produce(), DTTFFEDSim.produce(), HSCPDeDxInfoProducer.produce(), cms::PFClusterMETProducer.produce(), cms::TCMETProducer.produce(), NoPileUpPFMEtProducer.produce(), MultShiftMETcorrDBInputProducer.produce(), PFClusterShapeProducer.produce(), PFchsMETcorrInputProducer.produce(), PFLinker.produce(), L1TTwinMuxRawToDigi.produce(), CaloTowerFromL1TCreatorForTauHLT.produce(), CaloRecoTauTagInfoProducer.produce(), MatchedProbeMaker< T >.produce(), TtSemiLepHypothesis.produce(), pat::PATPackedCandidateProducer.produce(), edm::CFWriter.produce(), cms::DigitizerFP420.produce(), TrackAssociatorEDProducer.produce(), ReducedRecHitCollectionProducer.produce(), SiStripElectronProducer.produce(), edm::BeamHaloProducer.produce(), EleIsoDetIdCollectionProducer.produce(), pat::PATJetUpdater.produce(), DTTrigProd.produce(), HLTDisplacedtktkVtxProducer.produce(), HLTCaloJetIDProducer.produce(), ZdcHitReconstructor.produce(), EcalIsolatedParticleCandidateProducer.produce(), cms::GenMETProducer.produce(), L3MuonCandidateProducer.produce(), CosmicsMuonIdProducer.produce(), CaloTowerCreatorForTauHLT.produce(), FastTrackerRecHitMatcher.produce(), L1RCTTPGProvider.produce(), cms::TrackerizerFP420.produce(), citk::PFIsolationSumProducer.produce(), TemplatedInclusiveVertexFinder< InputContainer, VTX >.produce(), TagProbeMassProducer.produce(), sistrip::SpyDigiConverterModule.produce(), ConvertedPhotonProducer.produce(), HLTCollectionProducer< T >.produce(), WMuNuProducer.produce(), HLTmumutktkVtxProducer.produce(), CSCTFUnpacker.produce(), PFCTRecHitProducer.produce(), TtEvtBuilder< C >.produce(), L1TMuonQualityAdjuster.produce(), ConversionSeedFilterCharge.produce(), CosmicTrackSelector.produce(), IsolationProducer< C1, C2, Alg, OutputCollection, Setup >.produce(), ShiftedParticleProducer.produce(), MixEvtVtxGenerator.produce(), JetSubstructurePacker.produce(), ClusterTPAssociationProducer.produce(), ShiftedPFCandidateProducerForPFMVAMEt.produce(), AlCaEcalHcalReadoutsProducer.produce(), SETMuonSeedProducer.produce(), ClusterCompatibilityProducer.produce(), OniaPhotonConversionProducer.produce(), DTTFFEDReader.produce(), EgammaSCCorrectionMaker.produce(), HcalRecHitRecalib.produce(), JetCorrectorProducer< T >.produce(), CSCTriggerPrimitivesProducer.produce(), L1ExtraParticleMapProd.produce(), AlCaElectronTracksReducer.produce(), L1GctEmulator.produce(), JetEnergyShift.produce(), PartonSelector.produce(), pat::PATConversionProducer.produce(), Onia2MuMuPAT.produce(), TtFullLepHypothesis.produce(), ZToLLEdmNtupleDumper.produce(), DTRecSegment2DProducer.produce(), HLTL1TMuonSelector.produce(), SeedClusterRemoverPhase2.produce(), EcalRecHitRecalib.produce(), ECALRegFEDSelector.produce(), pat::GenPlusSimParticleProducer.produce(), SeedClusterRemover.produce(), AlCaDiJetsProducer.produce(), PFPileUp.produce(), RctTextToRctDigi.produce(), BtoCharmDecayVertexMergerT< VTX >.produce(), modules::MuonCleanerBySegmentsT< T >.produce(), V0Producer.produce(), PrimaryVertexSorter< ParticlesCollection >.produce(), EcalTrigPrimProducer.produce(), pat::PATMETProducer.produce(), pat::PATPackedGenParticleProducer.produce(), PFCand_AssoMap.produce(), TopDecaySubset.produce(), SiStripFineDelayHit.produce(), SimG4HcalValidation.produce(), pat::__class__Producer.produce(), PATHemisphereProducer.produce(), HLTRechitInRegionsProducer< T1 >.produce(), ConversionTrackCandidateProducer.produce(), L1EmulBias.produce(), HiEgammaSCCorrectionMaker.produce(), DTRecSegment2DExtendedProducer.produce(), VoronoiBackgroundProducer.produce(), L1TGlobalProducer.produce(), L1TMuonTriggerPrimitiveProducer.produce(), TrackMVAClassifierBase.produce(), NeutronHitsCollector.produce(), reco::modulesNew::IsolationProducer< C1, C2, Alg, OutputCollection, Setup >.produce(), FakeTrackProducer< T >.produce(), EcalFEtoDigi.produce(), pat::PATCleaner< PATObjType >.produce(), GamIsoDetIdCollectionProducer.produce(), cms::ClusterizerFP420.produce(), AlCaGammaJetProducer.produce(), PhotonProducer.produce(), cms::MuonMETValueMapProducer.produce(), PFProducer.produce(), ScalersRawToDigi.produce(), HBHENoiseFilterResultProducer.produce(), TextToRaw.produce(), cms::HitReCalibrator.produce(), pat::PATCompositeCandidateProducer.produce(), L1ExtraParticlesProd.produce(), L1TPhysicalEtAdder.produce(), RecoTauPiZeroProducer.produce(), ConversionSeedFilter.produce(), HLTJetCollectionsForBoostedLeptonPlusJets< jetType >.produce(), edm::GenericSelectorByValueMap< T, C >.produce(), TrackingMaterialProducer.produce(), HLTmumutkVtxProducer.produce(), JetPlusTrackProducer.produce(), HLTScoutingCaloProducer.produce(), HLTTrackMETProducer.produce(), HLTJetCollectionsForLeptonPlusJets< jetType >.produce(), cms::CaloMETProducer.produce(), HITrackClusterRemover.produce(), TrackMCQuality.produce(), MuPFIsoEmbedder.produce(), PixelVertexCollectionTrimmer.produce(), LTCRawToDigi.produce(), TrackCandidateProducer.produce(), EventWithHistoryProducer.produce(), SiStripElectronAssociator.produce(), EgammaIsoESDetIdCollectionProducer.produce(), MinMETProducerT< T >.produce(), HiGenCleaner< T2 >.produce(), simwatcher::BeginOfTrackCounter.produce(), CastorJetIDProducer.produce(), HLTJetCollForElePlusJets< T >.produce(), HLTL1MuonSelector.produce(), GctDigiToRaw.produce(), pat::PATGenericParticleProducer.produce(), L1DummyProducer.produce(), l1t::L1ComparatorRun2.produce(), HcalTB02Analysis.produce(), OutsideInMuonSeeder.produce(), TrackCandidateTopBottomHitFilter.produce(), SourceCardTextToRctDigi.produce(), TotemTestGem.produce(), PF_PU_AssoMap.produce(), DeltaRNearestObjectComputer< T >.produce(), PFECALSuperClusterProducer.produce(), MuonTimingProducer.produce(), FromClusterSummaryMultiplicityProducer.produce(), HGCalTrackCollectionProducer.produce(), SimpleCosmicBONSeeder.produce(), TestBXVectorRefProducer.produce(), HLTJetCollectionsForElePlusJets< T >.produce(), HcalDigiToRawuHTR.produce(), PixelSLinkDataInputSource.produce(), NjettinessAdder.produce(), IsolatedPixelTrackCandidateProducer.produce(), pat::PATMuonProducer.produce(), EventWithHistoryProducerFromL1ABC.produce(), NoPileUpPFMEtDataProducer.produce(), cms::MuonTCMETValueMapProducer.produce(), pat::PATPFParticleProducer.produce(), EgammaIsoHcalDetIdCollectionProducer.produce(), BoostedTauSeedsProducer.produce(), L1GlobalTriggerRecordProducer.produce(), HLTScoutingPFProducer.produce(), AlCaHcalNoiseProducer.produce(), TrackAssociatorByPositionProducer.produce(), TevMuonProducer.produce(), PFSimParticleProducer.produce(), pat::TauJetCorrFactorsProducer.produce(), BSCTrigger.produce(), ShiftedPFCandidateProducerForPFNoPUMEt.produce(), DTDigitizer.produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt.produce(), MaskedRctInputDigiProducer.produce(), HLTRechitsToDigis.produce(), GEDPhotonProducer.produce(), DTClusterer.produce(), CastorCellProducer.produce(), HLTScoutingMuonProducer.produce(), L1Comparator.produce(), EcalRawToDigi.produce(), JetIDProducer.produce(), TrajectorySeedFromMuonProducer.produce(), VertexFromTrackProducer.produce(), CorrectedCaloMETProducer.produce(), cms::METSignificanceProducer.produce(), EcalFEDWithCRCErrorProducer.produce(), HcalHitSelection.produce(), QuickTrackAssociatorByHitsProducer.produce(), TtJetPartonMatch< C >.produce(), CorrectedPATMETProducer.produce(), ElectronSeedProducer.produce(), IsolatedPixelTrackCandidateL1TProducer.produce(), InterestingDetIdFromSuperClusterProducer.produce(), ValueMapTraslator.produce(), ConfigurableAPVCyclePhaseProducer.produce(), L1TMuonOverlapTrackProducer.produce(), CtfSpecialSeedGenerator.produce(), TrackMultiSelector.produce(), pat::PATTauProducer.produce(), ExtraFromSeeds.produce(), L1TMuonLegacyConverter.produce(), GEMRecHitProducer.produce(), HcalHitReconstructor.produce(), MuonMillepedeTrackRefitter.produce(), l1t::FakeInputProducer.produce(), L1TBMTFConverter.produce(), L1RCTProducer.produce(), RPCTrigger.produce(), L1MuGMTHWFileReader.produce(), RecHitCorrector.produce(), reco::PFMETProducerMVA.produce(), pat::MatcherByPulls< T >.produce(), TrackAssociatorByChi2Producer.produce(), TruthTauDecayModeProducer.produce(), pat::PATJetProducer.produce(), ReducedEGProducer.produce(), MCatNLOSource.produce(), FFTJetPFPileupCleaner.produce(), FFTJetVertexAdder.produce(), HLTScoutingEgammaProducer.produce(), MuonSegmentProducer.produce(), MuonErrorMatrixAdjuster.produce(), SoftKillerProducer.produce(), GenHIEventProducer.produce(), DeDxEstimatorProducer.produce(), RecoTauProducer.produce(), L1TExtCondProducer.produce(), Timer.produce(), InterestingTrackEcalDetIdProducer.produce(), FFTJetPileupEstimator.produce(), CaloTowersMerger.produce(), PF_PU_FirstVertexTracks.produce(), l1t::L1TCaloRCTToUpgradeConverter.produce(), pat::PATTriggerMatchEmbedder< PATObjectType >.produce(), AlCaECALRecHitReducer.produce(), PFTauSecondaryVertexProducer.produce(), SeedToTrackProducer.produce(), HiSpikeCleaner.produce(), ConvBremSeedProducer.produce(), L1TMicroGMTInputProducer.produce(), EcalDigiToRaw.produce(), ConversionTrackProducer.produce(), MixBoostEvtVtxGenerator.produce(), L1GlobalTriggerEvmRawToDigi.produce(), ME0RecHitProducer.produce(), CastorTowerProducer.produce(), L2MuonSeedGeneratorFromL1T.produce(), NuclearSeedsEDProducer.produce(), MultiplicityProducer< T >.produce(), L1TMuonCaloSumProducer.produce(), PatJPsiProducer.produce(), L1TCaloUpgradeToGCTConverter.produce(), l1t::L1TDigiToRaw.produce(), AlCaHBHEMuonProducer.produce(), PFBlockProducer.produce(), TrackingRecHitProducer.produce(), PileupJetIdProducer.produce(), CastorClusterProducer.produce(), RctInputTextToDigi.produce(), MuonProducer.produce(), TrackFromSeedProducer.produce(), CaloRecHitsBeamHaloCleaned.produce(), ConditionDumperInEdm.produce(), L1MuGlobalMuonTrigger.produce(), NuclearInteractionEDProducer.produce(), TrackAssociatorByHitsProducer.produce(), TemplatedVertexArbitrator< InputContainer, VTX >.produce(), MuonSeedTrack.produce(), HLTPrescaleRecorder.produce(), Phase2ITPixelClusterProducer.produce(), TauSpinnerCMS.produce(), HiL1Subtractor.produce(), LHE2HepMCConverter.produce(), L1GtTextToRaw.produce(), TracksToTrajectories.produce(), ObjectViewMatcher< T1, T2 >.produce(), L1GTEvmDigiToRaw.produce(), reco::HcalNoiseInfoProducer.produce(), FFTJetEFlowSmoother.produce(), L1TExtCondLegacyToStage2.produce(), L2MuonSeedGenerator.produce(), SimPFProducer.produce(), BetaBoostEvtVtxGenerator.produce(), PFRecoTauChargedHadronProducer.produce(), GenJetBCEnergyRatio.produce(), EcalSimpleProducer.produce(), PrimaryVertexProducer.produce(), L1TMicroGMTInputProducerFromGen.produce(), pat::PATPhotonProducer.produce(), JetDeltaRTagInfoValueMapProducer< T, I >.produce(), PFCand_NoPU_WithAM.produce(), reco::CentralityProducer.produce(), CorrectedECALPFClusterProducer.produce(), l1t::AMCDumpToRaw.produce(), HFPreReconstructor.produce(), AlignmentMuonHIPTrajectorySelector.produce(), l1t::AMC13DumpToRaw.produce(), pat::PATTriggerEventProducer.produce(), SiPixelClusterProducer.produce(), pat::PATElectronProducer.produce(), JetPlusTrackProducerAA.produce(), TrackAlgoCompareUtil.produce(), L1TMuonEndCapTrackProducer.produce(), L1GTDigiToRaw.produce(), SiPixelCalibDigiProducer.produce(), HighPtTrackEcalDetIdProducer.produce(), FastPrimaryVertexWithWeightsProducer.produce(), HcalTB04Analysis.produce(), sistrip::SpyUnpackerModule.produce(), reco::modules::HICaloCompatibleTrackSelector.produce(), ObjectViewCleaner< T >.produce(), reco::modules::TrackFullCloneSelectorBase< Selector >.produce(), L1GlobalTrigger.produce(), PFTauTransverseImpactParameters.produce(), HFPhase1Reconstructor.produce(), APVCyclePhaseProducerFromL1ABC.produce(), BoostedJetMerger.produce(), RecoTauCleanerImpl< Prod >.produce(), PixelJetPuId.produce(), PFEGammaProducer.produce(), SimG4HGCalValidation.produce(), L1GlobalTriggerRawToDigi.produce(), TrackExtrapolator.produce(), APVCyclePhaseProducerFromL1TS.produce(), CorrectedPFMETProducer.produce(), cms::PFMETProducer.produce(), L1TStage2Layer2Producer.produce(), PFPhotonTranslator.produce(), FlavorHistoryProducer.produce(), reco::BeamHaloSummaryProducer.produce(), CorrectedPatMETProducer.produce(), TauDiscriminationProducerBase< TauType, TauDiscriminator >.produce(), L1TMuonProducer.produce(), sistrip::FEDEmulatorModule.produce(), l1t::MP7BufferDumpToRaw.produce(), L1TCaloLayer1.produce(), ShiftedParticleProducerT< T >.produce(), JetIdSelector< T >.produce(), GenHFHadronMatcher.produce(), l1t::BXVectorInputProducer.produce(), l1t::GenToInputProducer.produce(), pat::PATTriggerProducer.produce(), HiEvtPlaneFlatProducer.produce(), ReduceHcalRecHitCollectionProducer.produce(), ShallowGainCalibration.produce(), BoostedDoubleSVProducer.produce(), pat::PATMHTProducer.produce(), TrackerToMuonPropagator.produce(), TrackClusterSplitter.produce(), CSCOverlapsTrackPreparation.produce(), CATopJetTagger.produce(), PFElecTkProducer.produce(), EgammaHLTGsfTrackVarProducer.produce(), pat::JetCorrFactorsProducer.produce(), MuonsFromRefitTracksProducer.produce(), ME0MuonConverter.produce(), reco::PhysObjectMatcher< C1, C2, S, D, Q >.produce(), L1TStage2Layer1Producer.produce(), JetCrystalsAssociator.produce(), JetDeltaRValueMapProducer< T, C >.produce(), pat::helper::ManyThingsToValueMaps< Adaptor, Collection, value_type >.produce(), ExternalLHEProducer.produce(), MuonIdProducer.produce(), PFTauPrimaryVertexProducer.produce(), ProduceIsolationMap.produce(), ClusterSummaryProducer.produce(), MuonMCClassifier.produce(), ConversionProducer.produce(), HLTDummyCollections.produce(), cms::CosmicTrackFinder.produce(), reco::modules::TrackerTrackHitFilter.produce(), RPCTechnicalTrigger.produce(), L1TCaloLayer1RawToDigi.produce(), cms::SiPixelRecHitConverter.produce(), L1TStage1Layer2Producer.produce(), FFTJetPatRecoProducer.produce(), MuonSimHitProducer.produce(), FastPrimaryVertexProducer.produce(), reco::modules::CosmicTrackSplitter.produce(), TrajectorySeedProducer.produce(), GoodSeedProducer.produce(), HLTJetsCleanedFromLeadingLeptons< JetType >.produce(), GenTtbarCategorizer.produce(), ME0SegmentMatcher.produce(), GlobalHitsProducer.produce(), HadronAndPartonSelector.produce(), NuclearTrackCorrector.produce(), PFTau3ProngReco.produce(), BoostedTopProducer.produce(), TriggerSummaryProducerAOD.produce(), CandidateProducer< TColl, CColl, Selector, Conv, Creator, Init >.produce(), SelectedElectronFEDListProducer< TEle, TCand >.produce(), ShiftedJetProducerT< T, Textractor >.produce(), HLTRecHitInAllL1RegionsProducer< RecHitType >.produce(), RPCSeedGenerator.produce(), SoftLepton.produce(), AlCaIsoTracksProducer.produce(), CorrectedMETProducerT< T >.produce(), reco::modules::JetFlavourIdentifier.produce(), JetPartonMatcher.produce(), CaloJetMETcorrInputProducerT< T, Textractor >.produce(), Type2CorrectionProducer.produce(), TemplatedSecondaryVertexProducer< IPTI, VTX >.produce(), GlobalDigisProducer.produce(), SimHitShifter.produce(), HLTCaloObjInRegionsProducer< CaloObjType, CaloObjCollType >.produce(), ChainedJetCorrectorProducer.produce(), JetCleanerForType1METT< T, Textractor >.produce(), IPProducer< Container, Base, Helper >.produce(), reco::modules::CandCombiner< Selector, PairSelector, Cloner, OutputCollection, Setup, Init >.produce(), JetFlavourClustering.produce(), PFJetMETcorrInputProducerT< T, Textractor >.produce(), edm::HiMixingModule.produce(), TopProjector< Top, Bottom, Matcher >.produce(), GlobalRecHitsProducer.produce(), AlCaHOCalibProducer.produce(), EvtPlaneProducer.produce(), MuonToTrackingParticleAssociatorEDProducer.produce(), SmearedJetProducerT< T >.produce(), SiStripClusterizerFromRaw.produce(), HBHEPhase1Reconstructor.produce(), EcalTrigPrimESProducer.produceBadStrip(), EcalTrigPrimESProducer.produceBadTT(), EcalTrigPrimESProducer.produceBadX(), cms::CkfTrackCandidateMakerBase.produceBase(), L1GlobalTriggerEvmRawToDigi.produceEmptyProducts(), L1GlobalTriggerRawToDigi.produceEmptyProducts(), EcalTrigPrimESProducer.produceFineGrainEB(), EcalTrigPrimESProducer.produceFineGrainEBGroup(), EcalTrigPrimESProducer.produceFineGrainEEstrip(), EcalTrigPrimESProducer.produceFineGrainEEtower(), EcalTrigPrimESProducer.produceLinearizationConst(), EcalTrigPrimESProducer.produceLUT(), EcalTrigPrimESProducer.produceLutGroup(), SiStripFineDelayHit.produceNoTracking(), EcalTrigPrimESProducer.producePedestals(), EcalTrigPrimESProducer.producePhysicsConst(), EcalTrigPrimESProducer.produceSlidingWindow(), EcalTrigPrimSpikeESProducer.produceSpike(), EcalTrigPrimESProducer.produceSpike(), Multi5x5SuperClusterProducer.produceSuperclustersForECALPart(), HiSuperClusterProducer.produceSuperclustersForECALPart(), HiTrivialConditionRetriever.produceTable(), FastjetJetProducer.produceTrackJets(), EcalTrigPrimESProducer.produceWeight(), EcalTrigPrimESProducer.produceWeightGroup(), edm::ProductProvenance.ProductProvenance(), TkGluedMeasurementDet.projectOnGluedDet(), reco::PFCluster.pruneUsing(), TempTrajectory.push(), edmNew::DetSetVector< T >::FastFiller.push_back(), edmNew::DetSetVector< T >::TSFastFiller.push_back(), helper::CandDecayStoreManager.put(), helper::MuonCollectionStoreManager.put(), helper::TrackCollectionStoreManager.put(), helper::GsfElectronCollectionStoreManager.put(), edm::MixingModule.put(), helper::CollectionStoreManager< OutputCollection, ClonePolicy >.put(), edm::RunPrincipal.put(), edm::LuminosityBlockPrincipal.put(), edm::LuminosityBlock.put(), edm::Run.put(), edm::Event.put(), edm::EventPrincipal.put(), edm::MixingWorker< T >.put(), MEtoEDMConverter.putData(), edm::DataMixingEMWorker.putEM(), edm::DataMixingEMDigiWorker.putEM(), hitTripletEDProducerT::ImplSeedingHitSets.putEmpty(), hitTripletEDProducerT::ImplIntermediateHitTriplets.putEmpty(), GtPsbTextToDigi.putEmptyDigi(), RctTextToRctDigi.putEmptyDigi(), SourceCardTextToRctDigi.putEmptyDigi(), TextToRaw.putEmptyDigi(), edm::DataMixingGeneralTrackWorker.putGeneralTrack(), edm::DataMixingHcalWorker.putHcal(), edm::DataMixingHcalDigiWorker.putHcal(), QGTagger.putInEvent(), RandomClusterAlgo.putInEvent(), SingleCellClusterAlgo.putInEvent(), FullModuleSumAlgo.putInEvent(), KfTrackProducerBase.putInEvt(), GsfTrackProducerBase.putInEvt(), TrackProducerWithSCAssociation.putInEvt(), DAFTrackProducer.putInEvtTrajAnn(), edm::DataMixingMuonWorker.putMuon(), edm::EventPrincipal.putOnRead(), edm::Principal.putOrMerge(), edm::ProductResolverBase.putOrMergeProduct(), edm::DataManagingProductResolver.putOrMergeProduct_(), edm::DataMixingPileupCopy.putPileupInfo(), edm::ProductResolverBase.putProduct(), edm::InputProductResolver.putProduct_(), edm::ProducedProductResolver.putProduct_(), edm::PuttableProductResolver.putProduct_(), edm::DataMixingSiPixelWorker.putSiPixel(), edm::DataMixingSiPixelMCDigiWorker.putSiPixel(), edm::DataMixingSiStripWorker.putSiStrip(), edm::DataMixingSiStripRawWorker.putSiStrip(), edm::DataMixingSiStripMCDigiWorker.putSiStrip(), edm::DataMixingTrackingParticleWorker.putTrackingParticle(), FedRawDataInputSource.read(), edm::StreamerInputSource.read(), edm::RootFile.readCurrentEvent(), LHESource.readEvent_(), XMLConfigReader.readPatterns(), GroupedCkfTrajectoryBuilder.rebuildSeedingRegion(), GroupedCkfTrajectoryBuilder.rebuildTrajectories(), SimpleDAFHitCollector.recHits(), TkStripMeasurementDet.recHits(), RecoTauDiscriminantCutMultiplexer.RecoTauDiscriminantCutMultiplexer(), TrajectorySegmentBuilder.redoMeasurements(), edm::ESProxyFactoryProducer.registerFactory(), edm::ESProducerLooper.registerFactoryWithKey(), edm::ESProxyFactoryProducer.registerFactoryWithKey(), VertexFitterManager.registerFitter(), MultiTrajectoryStateAssembler.removeWrongPz(), edm::InputProductResolver.retrieveAndMerge_(), edm::RootDelayedReader.RootDelayedReader(), ESDigitizer.run(), AnalyticalTrackSelector.run(), MultiTrackSelector.run(), HIMultiTrackSelector.run(), edm::EventProcessor.runToCompletion(), PixelForwardLayer.searchNeighbors(), PixelForwardLayerPhase1.searchNeighbors(), TIBRing.searchNeighbors(), CRackTrajectoryBuilder.seedMeasurements(), CaloTower.setConstituents(), edm::storage::StatisticsSenderService.setCurrentServer(), reco::PFTau.setisolationPiZeroCandidates(), reco::PFTau.setIsolationPiZeroCandidatesRefs(), reco::PFTau.setIsolationTauChargedHadronCandidates(), reco::PFTau.setIsolationTauChargedHadronCandidatesRefs(), reco::formula::BinaryOperatorEvaluatorBase.setLeftEvaluator(), edm::ParameterSetDescription::SetDescriptionEntry.setNode(), edm::DataManagingProductResolver.setProduct(), reco::formula::BinaryOperatorEvaluatorBase.setRightEvaluator(), reco::PFTau.setsignalPiZeroCandidates(), reco::PFTau.setSignalPiZeroCandidatesRefs(), reco::PFTau.setSignalTauChargedHadronCandidates(), reco::PFTau.setSignalTauChargedHadronCandidatesRefs(), edm::detail::TriggerResultsBasedEventSelector.setup(), HLTJets.setup(), L1MuDTTrackFinder.setup(), L1MuBMTrackFinder.setup(), edm::ProductData.setWrapper(), HGCalImagingAlgo.shareEnergy(), edm::service::SiteLocalConfigService.SiteLocalConfigService(), PixelTrackProducer.store(), pat::L1MuonMatcher.storeExtraInfo(), pat::HLTL1MuonMatcher.storeExtraInfo(), pat::MatcherUsingTracks.storeValueMap(), TriggerMatcherToHLTDebug.storeValueMap(), DDValue::StringHolder.StringHolder(), edm::SubProcess.SubProcess(), TempTrajectory.TempTrajectory(), CSCSegtoRPC.thePoints(), DTSegtoRPC.thePoints(), TracktoRPC.thePoints(), TrackingLayer.toIdString(), TrackingLayer.toString(), edm::service::Tracer.Tracer(), TrajectorySmoother.trajectories(), TrajectoryBuilder.trajectories(), PFMuonAlgo.transferAddedMuonCandidates(), PFBlockAlgo.transferBlocks(), PFAlgo.transferCleanedCandidates(), PFMuonAlgo.transferCleanedCosmicCandidates(), PFMuonAlgo.transferCleanedFakeCandidates(), PFMuonAlgo.transferCleanedTrackerAndGlobalCandidates(), PFAlgo.transferElectronCandidates(), PFMuonAlgo.transferPunchThroughCleanedHadronCandidates(), PFMuonAlgo.transferPunchThroughCleanedMuonCandidates(), L1GlobalTriggerRawToDigi.unpackGMT(), edm::ProductData.unsafe_setWrapper(), MuonTrajectoryUpdator.update(), TrajectorySegmentBuilder.updateCandidatesWithBestHit(), TrajectorySegmentBuilder.updateTrajectory(), CkfTrajectoryBuilder.updateTrajectory(), StorageFactory.wrapNonLocalFile(), edm::ThreadSafeOutputFileStream.write(), SubjetFilterJetProducer.writeCompoundJets(), cms::CompoundJetProducer.writeCompoundJets(), VirtualJetProducer.writeCompoundJets(), VirtualJetProducer.writeJets(), FFTJetProducer.writeJets(), MuIsolatorResultProducer< BT >.writeOutImpl(), ExpressLumiProducer.writeProductsForEntry(), LumiProducer.writeProductsForEntry(), ElectronIDValueMapProducer.writeValueMap(), MVAValueMapProducer< ParticleType >.writeValueMap(), PhotonIDValueMapProducer.writeValueMap(), PhotonRegressionValueMapProducer.writeValueMap(), ElectronRegressionValueMapProducer.writeValueMap(), MuonMCClassifier.writeValueMap(), l1t::stage2::BMTFCollections.~BMTFCollections(), l1t::stage2::CaloCollections.~CaloCollections(), l1t::stage1::CaloCollections.~CaloCollections(), l1t::stage2::EMTFCollections.~EMTFCollections(), GctUnpackCollections.~GctUnpackCollections(), l1t::stage2::GMTCollections.~GMTCollections(), l1t::stage2::GTCollections.~GTCollections(), TrackCollectionCloner::Producer.~Producer(), RctUnpackCollections.~RctUnpackCollections(), and edmNew::DetSetVector< T >::TSFastFiller.~TSFastFiller().

511 def move(src, dest):
512  """Move filename1 to filename2 locally to the same server"""
513 
514  src = eosToLFN(src)
515  dest = eosToLFN(dest)
516 
517  runXRDCommand(src,'mv', lfnToEOS(dest))
def eosToLFN
Definition: eostools.py:65
def lfnToEOS
Definition: eostools.py:107
def move
Definition: eostools.py:510
def runXRDCommand
Definition: eostools.py:22
def eostools.remove (   files,
  rec = False 
)
Remove a list of files and directories, possibly recursively

Colin: Is that obsolete? why not use rm?

Definition at line 381 of file eostools.py.

382 def remove( files, rec = False):
383  """Remove a list of files and directories, possibly recursively
384 
385  Colin: Is that obsolete? why not use rm?"""
386  for path in files:
387  lfn = eosToLFN(path)
388  if not rec:
389  rm(path)
390  else:
391  #this should be used with care
392  file_list = ls(path, rec = True)
393  file_list.append(lfn)
394 
395  #order the files in depth order - i.e. remove the deepest files first
396  files_rec = sorted([(len([ff for ff in f.split('/') if ff]), f) for f in file_list if f and f.startswith(lfn)], reverse = True)
397 
398  for f in files_rec:
399  rm(f[1])
def ls
Definition: eostools.py:348
def remove
Definition: eostools.py:381
def eosToLFN
Definition: eostools.py:65
def rm
Definition: eostools.py:362
def eostools.rm (   path,
  rec = False 
)
rm, works on EOS and locally.

Colin: should implement a -f mode and a confirmation when deleting dirs recursively.

Definition at line 362 of file eostools.py.

Referenced by remove().

363 def rm(path, rec=False):
364  """rm, works on EOS and locally.
365 
366  Colin: should implement a -f mode and a confirmation when deleting dirs recursively."""
367  # print 'rm ', path
368  path = lfnToEOS(path)
369  if isEOS(path):
370  if rec:
371  runEOSCommand(path, 'rm', '-r')
372  else:
373  runEOSCommand(path,'rm')
374  elif os.path.exists(path):
375  if not rec:
376  os.remove( path )
377  else:
378  shutil.rmtree(path)
379  else:
380  raise ValueError(path + ' is not EOS and not local... should not happen!')
def lfnToEOS
Definition: eostools.py:107
def runEOSCommand
Definition: eostools.py:38
def rm
Definition: eostools.py:362
def isEOS
Definition: eostools.py:61
def eostools.runEOSCommand (   path,
  cmd,
  args 
)
Run an eos command.

!!! Will, when the EOS command fails, it passes silently...
I think we should really try and raise an exception in case of problems.
should be possible as the return code is provided in the tuple returned by runner.

Definition at line 38 of file eostools.py.

References eosToLFN(), and lfnToPFN().

Referenced by chmod(), createEOSDir(), eosDirSize(), ls_EOS(), and rm().

38 
39 def runEOSCommand(path, cmd, *args):
40  """Run an eos command.
41 
42  !!! Will, when the EOS command fails, it passes silently...
43  I think we should really try and raise an exception in case of problems.
44  should be possible as the return code is provided in the tuple returned by runner."""
45 
46  lfn = eosToLFN(path)
47  pfn = lfnToPFN(lfn)
48  tokens = cmsIO.splitPFN(pfn)
49 
50  #obviously, this is not nice
51  command = [eos_select, cmd]
52  command.extend(args)
53  command.append(tokens[2])
54  runner = cmsIO.cmsFileManip()
55  return runner.runCommand(command)
def eosToLFN
Definition: eostools.py:65
def runEOSCommand
Definition: eostools.py:38
def lfnToPFN
Definition: eostools.py:76
def eostools.runXRDCommand (   path,
  cmd,
  args 
)
Run an xrd command.

!!! Will, what is happening in case of problem?
??? At some point, should return a list of lines instead of a string.

Definition at line 22 of file eostools.py.

References eosToLFN(), and lfnToPFN().

Referenced by cat(), isDirectory(), isFile(), listFiles(), and move().

22 
23 def runXRDCommand(path, cmd, *args):
24  """Run an xrd command.
25 
26  !!! Will, what is happening in case of problem?
27  ??? At some point, should return a list of lines instead of a string."""
28 
29  lfn = eosToLFN(path)
30  #print "lfn:", lfn, cmd
31  tokens = cmsIO.splitPFN(lfnToPFN(lfn))
32 
33  command = ['xrd', tokens[1], cmd, tokens[2]]
34  command.extend(args)
35  runner = cmsIO.cmsFileManip()
36  # print ' '.join(command)
37  return runner.runCommand(command)
def eosToLFN
Definition: eostools.py:65
def runXRDCommand
Definition: eostools.py:22
def lfnToPFN
Definition: eostools.py:76
def eostools.setCAFPath ( )
Hack to get the CAF scripts on the PYTHONPATH

Definition at line 13 of file eostools.py.

13 
14 def setCAFPath():
15  """Hack to get the CAF scripts on the PYTHONPATH"""
16  caf = '/afs/cern.ch/cms/caf/python'
17 
18  if caf not in sys.path:
19  sys.path.append(caf)
setCAFPath()
def setCAFPath
Definition: eostools.py:13
def eostools.which (   cmd)

Definition at line 335 of file eostools.py.

Referenced by OOTPileupCorrData.apply(), MuonResidualsFitter.computeHistogramRangeAndBinning(), gen::EvtGenInterface.decay(), pat::PATSingleVertexSelector.filter_(), ConstantStepOdeSolver.getCoordinate(), OOTPileupCorrData.getCorrectionByID(), HBHENegativeEFilter.getEtaIndex(), LMFDat.getNeighbour(), AbsElectronicODERHS.getParameter(), ConstantStepOdeSolver.getPeakTime(), HFQIE10Info.getRaw(), ConstantStepOdeSolver.integrateCoordinate(), ConstantStepOdeSolver.interpolateCoordinate(), MuonResidualsTwoBin.mean(), PiecewiseScalingPolynomial.operator()(), MuonResidualsTwoBin.read(), InputTagDistributorService.retrieve(), TrackMultiSelector.select(), MuonResidualsFitter.selectPeakResiduals(), AbsElectronicODERHS.setParameter(), MuonResidualsTwoBin.stdev(), ConstantStepOdeSolver.truncateCoordinate(), MuonResidualsTwoBin.wmean(), MuonResidualsTwoBin.write(), MuonResidualsFitter.write(), and ConstantStepOdeSolver.writeHistory().

336 def which(cmd):
337  command = ['which', cmd]
338  runner = cmsIO.cmsFileManip()
339  out, _, _ = runner.runCommand(command)
340 
341  lines = [line for line in out.split('\n') if line]
342  if len(lines) == 1:
343  return lines[0]
344  elif len(lines) == 2:
345  return lines[1]
346  else:
347  return lines
def which
Definition: eostools.py:335
def eostools.xrdcp (   src,
  dest 
)
Does a copy of files using xrd.

Colin: implement a generic cp interface as done for rm, ls, etc?

Definition at line 429 of file eostools.py.

430 def xrdcp(src, dest):
431  """Does a copy of files using xrd.
432 
433  Colin: implement a generic cp interface as done for rm, ls, etc?"""
434 
435  recursive = False
436 
437  #first the src file
438  pfn_src = src
439  if os.path.exists(src):
440  #local
441  pfn_src = src
442  if os.path.isdir(src):
443  recursive = True
444  elif fileExists(src):
445  src = eosToLFN(src)
446  pfn_src = lfnToPFN(src)
447  if isDirectory(src):
448  recursive = True
449  else:
450  raise ValueError(src + ' does not exist.')
451 
452  #now the dest
453  pfn_dest = dest
454  if isEOSDir(dest):
455  dest = eosToLFN(dest)
456  pfn_dest = lfnToPFN(dest)
457  if isDirectory(dest):
458  tokens = cmsIO.splitPFN(pfn_dest)
459  pfn_dest = '%s://%s//%s/' % (tokens[0],tokens[1],tokens[2])
460  elif os.path.exists(dest):
461  pfn_dest = dest
462 
463  command = ['xrdcp']
464  if recursive:
465  # print 'recursive'
466  topDir = src.rstrip('/').split('/')[-1]
467  if topDir != '.':
468  dest = '/'.join([dest, topDir])
469  # print 'mkdir ' + dest
470  mkdir( dest )
471  files = listFiles(src, rec=True)
472  # pprint.pprint( [file[4] for file in files] )
473  for srcFile in files:
474  # srcFile = file[4]
475  pfnSrcFile = srcFile
476  if isEOSDir(srcFile):
477  srcFile = eosToLFN(srcFile)
478  pfnSrcFile = lfnToPFN(srcFile)
479  destFile = srcFile.replace( src, '' )
480  destFile = '/'.join([dest,destFile])
481  pfnDestFile = destFile
482  if isEOSDir(destFile):
483  lfnDestFile = eosToLFN(destFile)
484  pfnDestFile = lfnToPFN(lfnDestFile)
485  # print 'srcFile', pfnSrcFile
486  # print 'destFile', pfnDestFile
487  if isFile(srcFile):
488  _xrdcpSingleFile( pfnSrcFile, pfnDestFile )
489  else:
490  mkdir(destFile)
491  else:
492  _xrdcpSingleFile( pfn_src, pfn_dest )
493 
def isDirectory
Definition: eostools.py:260
def fileExists
Definition: eostools.py:197
def eosToLFN
Definition: eostools.py:65
def listFiles
Definition: eostools.py:299
def isEOSDir
Definition: eostools.py:121
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def isFile
Definition: eostools.py:273
def xrdcp
Definition: eostools.py:429
def _xrdcpSingleFile
Definition: eostools.py:494
def mkdir
Definition: eostools.py:250
double split
Definition: MVATrainer.cc:139
def lfnToPFN
Definition: eostools.py:76

Variable Documentation

eostools.castorToLFN = eosToLFN

Definition at line 74 of file eostools.py.

eostools.createCastorDir = createEOSDir

Definition at line 248 of file eostools.py.

string eostools.eos_select = '/afs/cern.ch/project/eos/installation/cms/bin/eos.select'

Definition at line 11 of file eostools.py.

eostools.isCastorDir = isEOSDir

Definition at line 149 of file eostools.py.

eostools.isCastorFile = isEOSFile

Definition at line 194 of file eostools.py.

eostools.lfnToCastor = lfnToEOS

Definition at line 119 of file eostools.py.