ATLAS Offline Software
Loading...
Searching...
No Matches
magnetStrength.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef FPTRACKER_MAGNETSTRENGTH_H
6#define FPTRACKER_MAGNETSTRENGTH_H
7
8namespace FPTracker{
9 // calculate qpole gradient from formula g = K1L Brho /L
10 // K1L from CERN database
11 // Brho = 23349. = 3.345*7000
12 // L = mag length
13
14
15 double magnetStrength(int type, double length, double strength, double Brho);
16}
17
18#endif
double length(const pvec &v)
double magnetStrength(int type, double length, double strength, double Brho)