parameters: (self, jets, kind, systematic)
return_statement: return wtot
docstring: The per-event weight is just a product of per-jet weights.
docstring_summary: The per-event weight is just a product of per-jet weights.
docstring_tokens: The per - event weight is just a product of per - jet weights .
function: def calcEventWeight(self, jets, kind, systematic):
          """
          The per-event weight is just a product of per-jet weights.
          """
          weights = np.array(
              [self.calcJetWeight(jet, kind, systematic)
              for jet in jets]
          )
  
          wtot = np.prod(weights)
          return wtot
function_tokens: def calcEventWeight ( self , jets , kind , systematic ) : weights = np . array ( [ self . calcJetWeight ( jet , kind , systematic ) for jet in jets ] ) wtot = np . prod ( weights ) return wtot