CMS 3D CMS Logo

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

Classes

class  flushfile
 

Functions

def mysystem
 

Variables

tuple analyzers = options.analyzers.split('/')
 
tuple comment_file = open(store_dir+'/'+store_file+'.comment','w')
 
tuple configs = options.configs.split('/')
 
list files = [ store_file ]
 
string help = "force the copy, even if the destination file already exists."
 
list links = []
 
string output_file = store_dir+'/'
 
tuple parser = optparse.OptionParser()
 
tuple store_dir = args.pop()
 
tuple store_file = args.pop(0)
 
tuple store_url = store_dir.replace('/afs/cern.ch/cms/','http://cmsdoc.cern.ch/',1)
 

Function Documentation

def electronStore.mysystem (   command,
  apply = 1 
)

Definition at line 33 of file electronStore.py.

References cmsRelvalreport.exit.

33 
34 def mysystem(command,apply=1):
35  print command
36  if apply==1: return os.system(command)
37  elif apply==0: return 0
38  else:
39  print '[electronStore.py] UNSUPPORTED ARGUMENT VALUE FOR mysystem(,apply):',apply
40  exit(1)
41 
42 
43 #============================================
44 # force immediate flushing of stdout
45 #============================================

Variable Documentation

tuple electronStore.analyzers = options.analyzers.split('/')

Definition at line 88 of file electronStore.py.

tuple electronStore.comment_file = open(store_dir+'/'+store_file+'.comment','w')

Definition at line 155 of file electronStore.py.

tuple electronStore.configs = options.configs.split('/')

Definition at line 89 of file electronStore.py.

Referenced by pos::PixelConfigFile.addVersionAlias(), pos::PixelConfigFile.getConfig(), pos::PixelConfigFile.getVersions(), pos::PixelConfigFile.makeKey(), and DQMRootSource.setupFile().

list electronStore.files = [ store_file ]

Definition at line 128 of file electronStore.py.

string electronStore.help = "force the copy, even if the destination file already exists."

Definition at line 69 of file electronStore.py.

list electronStore.links = []

Definition at line 148 of file electronStore.py.

Referenced by GlobalMuonMatchAnalyzer.analyze(), RPCHitAssociator.associateRecHit(), PFBlockAlgo.findBlocks(), RPCHitAssociator.findRPCDigiSimLink(), RPCLinkSynchroStat.init(), MuonTrackLoader.loadTracks(), SiPixelFedCablingMapBuilder.produce(), MuonLinksProducerForHLT.produce(), GlobalMuonToMuonProducer.produce(), GlobalTrackQualityProducer.produce(), L3MuonCandidateProducer.produce(), MuonIdProducer.produce(), sipixelobjects::PixelFEDCabling.setLinks(), and reco::PFBlockElement.setMultilinksList().

string electronStore.output_file = store_dir+'/'

Definition at line 118 of file electronStore.py.

tuple electronStore.parser = optparse.OptionParser()

Definition at line 67 of file electronStore.py.

tuple electronStore.store_dir = args.pop()

Definition at line 84 of file electronStore.py.

tuple electronStore.store_file = args.pop(0)

Definition at line 83 of file electronStore.py.

tuple electronStore.store_url = store_dir.replace('/afs/cern.ch/cms/','http://cmsdoc.cern.ch/',1)

Definition at line 146 of file electronStore.py.