# | Line 3 | Line 3 | class sample: | |
---|---|---|
3 | def __init__(self,name,type): | |
4 | self.name=name | |
5 | #type = bkg, sig or data | |
6 | < | if type not in ['BKG','SIG','DATA']: |
7 | < | raise Exception("type must be 'BKG', 'SIG', or 'DATA'!") |
6 | > | #if type not in ['BKG','SIG','DATA']: |
7 | > | # raise Exception("type must be 'BKG', 'SIG', or 'DATA'!") |
8 | self.type=type | |
9 | self.prefix='' | |
10 | self.identifier='' | |
11 | < | self.active=True |
11 | > | self.active='True' |
12 | self.group='' | |
13 | self.path='' | |
14 | self.lumi=0. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |