Variables
samwebCountEvents Namespace Reference

Variables

 parser = OptionParser()
 
 help
 
 action
 
 type
 
 str
 
 dest
 
 default
 
 options
 
 args
 
 sam = samweb_client.SAMWebClient(experiment=os.environ["EXPERIMENT"])
 Analyse. More...
 
 lines = open(options.input, "rb").readlines()
 
int good_events = 0
 
int good_subruns = 0
 
list runs = []
 
 metadata = sam.getMetadata(line.strip())
 
 run = metadata["Online.RunNumber"]
 
 subrun = int(metadata["Online.Subrun"])
 
 n_events = int(metadata["Online.TotalEvents"])
 
 partition = int(metadata["Online.Partition"])
 

Variable Documentation

samwebCountEvents.action

Definition at line 9 of file samwebCountEvents.py.

samwebCountEvents.args

Definition at line 11 of file samwebCountEvents.py.

samwebCountEvents.default

Definition at line 9 of file samwebCountEvents.py.

samwebCountEvents.dest

Definition at line 9 of file samwebCountEvents.py.

int samwebCountEvents.good_events = 0

Definition at line 22 of file samwebCountEvents.py.

int samwebCountEvents.good_subruns = 0

Definition at line 23 of file samwebCountEvents.py.

samwebCountEvents.help

Definition at line 9 of file samwebCountEvents.py.

samwebCountEvents.lines = open(options.input, "rb").readlines()

Definition at line 20 of file samwebCountEvents.py.

samwebCountEvents.metadata = sam.getMetadata(line.strip())

Definition at line 28 of file samwebCountEvents.py.

samwebCountEvents.n_events = int(metadata["Online.TotalEvents"])

Definition at line 32 of file samwebCountEvents.py.

samwebCountEvents.options

Definition at line 11 of file samwebCountEvents.py.

samwebCountEvents.parser = OptionParser()

Definition at line 8 of file samwebCountEvents.py.

samwebCountEvents.partition = int(metadata["Online.Partition"])

Definition at line 33 of file samwebCountEvents.py.

samwebCountEvents.run = metadata["Online.RunNumber"]

Definition at line 29 of file samwebCountEvents.py.

list samwebCountEvents.runs = []

Definition at line 24 of file samwebCountEvents.py.

samwebCountEvents.sam = samweb_client.SAMWebClient(experiment=os.environ["EXPERIMENT"])

Analyse.

Definition at line 19 of file samwebCountEvents.py.

samwebCountEvents.str

Definition at line 9 of file samwebCountEvents.py.

samwebCountEvents.subrun = int(metadata["Online.Subrun"])

Definition at line 31 of file samwebCountEvents.py.

samwebCountEvents.type

Definition at line 9 of file samwebCountEvents.py.