CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/L1Trigger/GlobalTrigger/interface/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().

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