Garfield++ 3.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
vec.cpp File Reference
#include <stdlib.h>
#include <iomanip>
#include <cmath>
#include "wcpplib/geometry/vec.h"
#include "wcpplib/random/ranluxint.h"

Go to the source code of this file.

Namespaces

namespace  Heed
 

Functions

vfloat Heed::cos2vec (const vec &r1, const vec &r2)
 
vfloat Heed::ang2vec (const vec &r1, const vec &r2)
 
vfloat Heed::sin2vec (const vec &r1, const vec &r2)
 
vec Heed::project_to_plane (const vec &r, const vec &normal)
 
vfloat Heed::ang2projvec (const vec &r1, const vec &r2, const vec &normal)
 
std::ostream & Heed::operator<< (std::ostream &file, const vec &v)
 
std::ostream & Heed::operator<< (std::ostream &file, const basis &b)
 
std::ostream & Heed::operator<< (std::ostream &file, const point &p)
 
std::ostream & Heed::operator<< (std::ostream &file, const abssyscoor &f)
 
std::ostream & Heed::operator<< (std::ostream &file, const fixsyscoor &f)
 

Variables

int Heed::vecerror = 0
 
vec Heed::dex (1, 0, 0)
 
vec Heed::dey (0, 1, 0)
 
vec Heed::dez (0, 0, 1)
 
vec Heed::dv0 (0, 0, 0)