CMS 3D CMS Logo

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

Functions

def append_sample_mcrab
 
def check_dbs
 
def check_dset
 
def check_nevts_dset
 
def create_crab
 
def create_harvest
 
def create_mcrab
 
def find_dqmref
 
def get_cond_from_dsetpath
 
def get_name_from_dsetpath
 
def make_dbs_list
 
def make_dqmname
 
def make_harv_name
 
def print_def
 
def read_ds_file
 

Variables

tuple api = DbsApi(args)
 
string argin = ''
 
dictionary args = {}
 
tuple cmssw_ver = os.getenv('CMSSW_VERSION','NOTSET')
 
string crab_block
 
 do_reference = False
 
tuple dsetpaths = list()
 
string dsfile = ''
 
tuple dslproc = open("dset_processed.txt", 'w')
 
string f_crab = 'crab.cfg'
 Create harvest.py template. More...
 
string f_multi_crab = 'multicrab.cfg'
 Create harvest_n.py for individual datasets. More...
 
tuple harvfilelist = list()
 Print what has been created. More...
 
string input_type = ''
 
tuple is_dbs = check_dbs()
 
tuple optManager = DbsOptionParser()
 

Function Documentation

def harvestRelVal.append_sample_mcrab (   dsetp,
  fout 
)

Definition at line 215 of file harvestRelVal.py.

def harvestRelVal.check_dbs ( )

Definition at line 24 of file harvestRelVal.py.

def harvestRelVal.check_dset ( )

Definition at line 96 of file harvestRelVal.py.

def harvestRelVal.check_nevts_dset (   dset)

Definition at line 29 of file harvestRelVal.py.

def harvestRelVal.create_crab (   ds)

Definition at line 231 of file harvestRelVal.py.

def harvestRelVal.create_harvest (   ds)

Definition at line 155 of file harvestRelVal.py.

def harvestRelVal.create_mcrab (   set,
  fcrab,
  fout 
)

Definition at line 199 of file harvestRelVal.py.

def harvestRelVal.find_dqmref (   ds)

Definition at line 121 of file harvestRelVal.py.

def harvestRelVal.get_cond_from_dsetpath (   ds)

Definition at line 47 of file harvestRelVal.py.

def harvestRelVal.get_name_from_dsetpath (   ds)

Definition at line 42 of file harvestRelVal.py.

def harvestRelVal.make_dbs_list (   dbslf)

Definition at line 65 of file harvestRelVal.py.

def harvestRelVal.make_dqmname (   s)

Definition at line 39 of file harvestRelVal.py.

def harvestRelVal.make_harv_name (   dset)

Definition at line 212 of file harvestRelVal.py.

def harvestRelVal.print_def ( )

Definition at line 17 of file harvestRelVal.py.

def harvestRelVal.read_ds_file ( )

Definition at line 82 of file harvestRelVal.py.

Variable Documentation

tuple harvestRelVal.api = DbsApi(args)

Definition at line 307 of file harvestRelVal.py.

list harvestRelVal.argin = ''

Definition at line 269 of file harvestRelVal.py.

dictionary harvestRelVal.args = {}

Definition at line 305 of file harvestRelVal.py.

tuple harvestRelVal.cmssw_ver = os.getenv('CMSSW_VERSION','NOTSET')

Definition at line 310 of file harvestRelVal.py.

string harvestRelVal.crab_block
Initial value:
1 = """
2 [CRAB]
3 jobtype = cmssw
4 scheduler = glite
5 
6 [EDG]
7 remove_default_blacklist=1
8 rb = CERN
9 
10 [USER]
11 return_data = 1
12 #copy_data = 1
13 #storage_element=srm-cms.cern.ch
14 #storage_path=/srm/managerv2?SFN=/castor/cern.ch
15 #user_remote_dir=/user/n/nuno/test
16 publish_data=0
17 thresholdLevel=70
18 eMail=nuno@cern.ch
19 
20 [CMSSW]
21 total_number_of_events=-1
22 show_prod = 1
23 number_of_jobs=1
24 """

Definition at line 241 of file harvestRelVal.py.

harvestRelVal.do_reference = False

Definition at line 271 of file harvestRelVal.py.

tuple harvestRelVal.dsetpaths = list()

Definition at line 326 of file harvestRelVal.py.

string harvestRelVal.dsfile = ''

Definition at line 270 of file harvestRelVal.py.

tuple harvestRelVal.dslproc = open("dset_processed.txt", 'w')

Definition at line 348 of file harvestRelVal.py.

string harvestRelVal.f_crab = 'crab.cfg'

Create harvest.py template.

Create crab.cfg template

Definition at line 358 of file harvestRelVal.py.

string harvestRelVal.f_multi_crab = 'multicrab.cfg'

Create harvest_n.py for individual datasets.

Create multicrab.cfg

Definition at line 366 of file harvestRelVal.py.

tuple harvestRelVal.harvfilelist = list()

Print what has been created.

Definition at line 371 of file harvestRelVal.py.

string harvestRelVal.input_type = ''

Definition at line 268 of file harvestRelVal.py.

tuple harvestRelVal.is_dbs = check_dbs()

Definition at line 293 of file harvestRelVal.py.

tuple harvestRelVal.optManager = DbsOptionParser()

Definition at line 302 of file harvestRelVal.py.