set_sm2_bfield.h File Reference

#include "util/get_run_number.h"

Go to the source code of this file.

Functions

void set_sm2_bfield ()

Function Documentation

void set_sm2_bfield (  ) 

Definition at line 3 of file set_sm2_bfield.h.

References get_run_number(), BfldLoanPool::Instance(), CfgConfigurable::Set(), and CfgConfigurable::Update().

00004 {
00006   //  This checks to make sure the B field is set to zero
00007   //     when sm2 had no field
00008   //Set B=0 for SM2 if runNumber < 17566
00009   if (get_run_number() < 17566) {
00010     BfldLoanPool* bfldpool = BfldLoanPool::Instance();
00011     bfldpool->Set("NoFieldBeyondZ=15.3797");
00012     bfldpool->Update();
00013   }
00014 }


Generated on 8 Jul 2019 for loon by  doxygen 1.6.1