CMS 3D CMS Logo

RKLocalFieldProvider.cc
Go to the documentation of this file.
1 #include "RKLocalFieldProvider.h"
5 
6 RKLocalFieldProvider::RKLocalFieldProvider(const MagVolume& vol) : theVolume(vol), theFrame(vol), transform_(false) {}
7 
9  : theVolume(vol), theFrame(frame), transform_(true) {}
10 
12  if
16  }
17  return theVolume.fieldInTesla(lp).basicVector();
18 }
MagVolume.h
Likely.h
RKLocalFieldProvider::theVolume
const MagVolume & theVolume
Definition: RKLocalFieldProvider.h:38
funct::false
false
Definition: Factorize.h:29
RKLocalFieldProvider::inTesla
Vector inTesla(const LocalPoint &lp) const
the argument lp is in the local frame specified in the constructor
Definition: RKLocalFieldProvider.cc:11
UNLIKELY
#define UNLIKELY(x)
Definition: Likely.h:21
RKLocalFieldProvider.h
RKLocalFieldProvider::theFrame
const Frame & theFrame
Definition: RKLocalFieldProvider.h:39
Point3DBase< float, LocalTag >
funct::true
true
Definition: Factorize.h:173
RKLocalFieldProvider::RKLocalFieldProvider
RKLocalFieldProvider(const MagVolume &vol)
Local field access to the MagVolume field, in the MagVolume frame.
Definition: RKLocalFieldProvider.cc:6
MagVolume
Definition: MagVolume.h:13
RKLocalFieldProvider::transform_
bool transform_
Definition: RKLocalFieldProvider.h:40
MagneticField.h
PV3DBase::basicVector
const BasicVectorType & basicVector() const
Definition: PV3DBase.h:53
GloballyPositioned::toLocal
LocalPoint toLocal(const GlobalPoint &gp) const
Definition: GloballyPositioned.h:98
amptDefault_cfi.frame
frame
Definition: amptDefault_cfi.py:12
MagVolume::fieldInTesla
LocalVector fieldInTesla(const LocalPoint &lp) const
Definition: MagVolume.cc:11
Basic3DVector
Definition: extBasic3DVector.h:30
GloballyPositioned::toGlobal
GlobalPoint toGlobal(const LocalPoint &lp) const
Definition: GloballyPositioned.h:66