ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Betchart/TopRefTuple/python/tuple.py
(Generate patch)

Comparing UserCode/Betchart/TopRefTuple/python/tuple.py (file contents):
Revision 1.15 by bbetchar, Sat Nov 17 03:55:34 2012 UTC vs.
Revision 1.16 by bbetchar, Tue Jan 8 23:09:54 2013 UTC

# Line 14 | Line 14 | class Tuple(object) :
14                  
15      def path(self) :
16          return cms.Path( self.events() *
17 +                         self.exists() *
18                           self.gen() *
19                           self.triggers() *
20                           self.electron() *
# Line 35 | Line 36 | class Tuple(object) :
36                                                    vertexTag = tags("goodOfflinePrimaryVertices"))
37          return self.empty + self.process.tupleEvents
38          
39 +    def exists(self) :
40 +        self.process.tupleExists = cms.EDProducer("Tuple_ProductExists",
41 +                                                  products = tags(["mvaTrigV0"]))
42 +        return self.empty + self.process.tupleExists
43 +
44      def gen(self) :
45          if self.options.isData : return self.empty
46          self.process.tupleGen = cms.EDProducer("Tuple_GenParticle",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines