22 using std::setprecision;
77 LOG(warn) <<
"empty parameter container!";
86 fBx = fieldPar->
GetBx();
87 fBy = fieldPar->
GetBy();
88 fBz = fieldPar->
GetBz();
119 if (x < fXmin || x > fXmax || y < fYmin || y > fYmax || z < fZmin || z > fZmax) {
127 if (x < fXmin || x > fXmax || y < fYmin || y > fYmax || z < fZmin || z > fZmax) {
135 if (x < fXmin || x > fXmax || y < fYmin || y > fYmax || z < fZmin || z > fZmax) {
143 LOG(info) <<
"======================================================";
144 LOG(info) <<
"---- " << fTitle <<
" : " << fName;
146 LOG(info) <<
"---- Field type : constant";
148 LOG(info) <<
"---- Field regions : ";
149 LOG(info) <<
"---- x = " << setw(4) << fXmin <<
" to " << setw(4) << fXmax <<
" cm";
150 LOG(info) <<
"---- y = " << setw(4) << fYmin <<
" to " << setw(4) << fYmax <<
" cm";
151 LOG(info) <<
"---- z = " << setw(4) << fZmin <<
" to " << setw(4) << fZmax <<
" cm";
152 LOG(info) <<
"---- B = ( " << setprecision(4) << fBx <<
", " << fBy <<
", " << fBz <<
" ) kG";
153 LOG(info) <<
"======================================================";
158 TString MapName = GetName();
list of container factories
static FairRun * Instance()
void SetField(Double_t bX, Double_t bY, Double_t bZ)
void setChanged(Bool_t flag=kTRUE)
ClassImp(FairEventBuilder)
virtual void Print(Option_t *) const
FairParSet * getContainer(const Text_t *)
void SetParameters(FairField *field)
void SetFieldRegion(Double_t xMin, Double_t xMax, Double_t yMin, Double_t yMax, Double_t zMin, Double_t zMax)
virtual ~FairConstField()
void setInputVersion(Int_t v=-1, Int_t i=0)
FairRuntimeDb * GetRuntimeDb(void)