LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
ComputePi_module.cc File Reference

Computes pi. More...

#include <random>
#include <ios>
#include <iomanip>
#include "fhiclcpp/ParameterSet.h"
#include "art/Framework/Core/EDAnalyzer.h"
#include "art/Framework/Core/ModuleMacros.h"

Go to the source code of this file.

Classes

class  lar::ComputePi
 Computes pi (but it does not make it available) More...
 

Namespaces

 lar
 LArSoft-specific namespace.
 

Functions

template<typename T >
constexpr T sqr (T v)
 

Detailed Description

Computes pi.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
August 19th, 2014

Definition in file ComputePi_module.cc.

Function Documentation

template<typename T >
constexpr T sqr ( v)
inline

Definition at line 96 of file ComputePi_module.cc.

Referenced by lar::ComputePi::analyze().

96 { return v*v; }