~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to MadSpin/decay.py

more options for systematics

Show diffs side-by-side

added added

removed removed

Lines of Context:
284
284
        line_type = 'none' # support type: init / event / rwgt
285
285
        self.diese = ''
286
286
        for line in self.inputfile:
 
287
            origline = line
287
288
            line = line.lower()
288
289
            if line=="":
289
290
                continue 
290
291
            # Find special tag in the line
291
292
            if line[0]=="#":
292
 
                self.diese+=line
 
293
                self.diese+=origline
293
294
                continue
294
295
            if '<event' in line:
295
296
                #start new_event
319
320
            if line_type == 'none':
320
321
                continue
321
322
            elif line_type == 'other_block':
322
 
                self.diese += line
 
323
                self.diese += origline
323
324
            # read the line and assign the date accordingly                
324
325
            elif line_type == 'init':
325
326
                line_type = 'event'