CMS 3D CMS Logo

L1GlobalTriggerFunctions.h File Reference

Go to the source code of this file.

Functions

int factorial (int n)
 factorial function


Function Documentation

int factorial ( int  n  ) 

factorial function

Definition at line 3 of file L1GlobalTriggerFunctions.cc.

References factorial().

Referenced by L1GtCaloCondition::evaluateCondition(), L1GtMuonCondition::evaluateCondition(), and factorial().

00003                      {
00004     return (n <= 0) ? 1:(n*factorial(n-1));
00005 }


Generated on Tue Jun 9 17:54:37 2009 for CMSSW by  doxygen 1.5.4