CMS 3D CMS Logo

Classes | Namespaces | Functions | Variables

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/PhysicsTools/Utilities/scripts/edmPickEvents.py File Reference

Go to the source code of this file.

Classes

class  edmPickEvents::Event
 Event helper class ##. More...
class  edmPickEvents::Handler
 XML parser class ##. More...

Namespaces

namespace  edmPickEvents

Functions

def edmPickEvents::fullCPMpath
def edmPickEvents::getFileNames
 Subroutines ##.
def edmPickEvents::guessEmail
def edmPickEvents::setupCrabDict

Variables

tuple edmPickEvents::colonRE = re.compile(r':')
string edmPickEvents::command = 'edmCopyPickMerge outputFile=%s.root \\\n eventsToProcess=%s \\\n inputFiles=%s'
tuple edmPickEvents::commentRE = re.compile(r'#.+$')
tuple edmPickEvents::crabDict = setupCrabDict(options)
string edmPickEvents::crabTemplate
string edmPickEvents::default = 'pickevents'
tuple edmPickEvents::email = guessEmail()
 ################## ## ## Main Program ## ## ################## ##
tuple edmPickEvents::event = Event(piece)
list edmPickEvents::eventList = []
string edmPickEvents::eventsToProcess = '\n'
list edmPickEvents::files = []
 Interactive ##.
tuple edmPickEvents::fileSet = set()
string edmPickEvents::help
tuple edmPickEvents::json = LumiList(lumis = runsAndLumis)
tuple edmPickEvents::line = commentRE.sub('', line)
tuple edmPickEvents::parser = optparse.OptionParser("Usage: %prog [options] dataset events_or_events.txt", description='''This program facilitates picking specific events from a data set. For full details, please visit https://twiki.cern.ch/twiki/bin/view/CMS/PickEvents ''')
list edmPickEvents::runsAndLumis = [ (event.run, event.lumi) for event in eventList]
 CRAB ##.
tuple edmPickEvents::source = open(args[0], 'r')
tuple edmPickEvents::target = open(crabDict['runEvent'], 'w')
list edmPickEvents::uniqueFiles = []