File indexing completed on 2025-10-30 09:01:04
0001 
0002 
0003 
0004 
0005 
0006 
0007 
0008 #define _E_PI_SEPARATION_MODE_
0009 
0010 void delphes_btof( void )
0011 {
0012   
0013 
0014   auto btof = new DelphesConfigTOF("BTOF");
0015   btof->UsePtMode();
0016 
0017   
0018   
0019 #ifdef _E_PI_SEPARATION_MODE_
0020   btof->AddMassHypothesis(-11);
0021 #endif
0022   btof->AddMassHypothesis("pi+");
0023 #ifndef _E_PI_SEPARATION_MODE_
0024   btof->AddMassHypothesis("K+");
0025   btof->AddMassHypothesis("proton");
0026 #endif
0027 
0028   
0029   btof->SetT0Resolution        (20.00);
0030   btof->SetDetectorResolution  (30.00);
0031   
0032   btof->SetMomentumResolution  (0.020, 0.500);
0033   
0034   btof->SetPathLengthResolution(1.000);
0035 
0036   
0037   btof->SetInstallationRadius  (500.0);
0038   btof->SetMagneticField       (3.000);
0039 
0040   
0041   btof->SetEtaRange     (-1.05, 1.05,  10);
0042   
0043 #ifdef _E_PI_SEPARATION_MODE_
0044   btof->SetMomentumRange( 0.22, 0.45,  10);
0045 #else
0046   btof->SetMomentumRange( 0.22, 2.20,  10);
0047 #endif
0048 
0049   
0050   
0051   btof->DoSigmaCalculations();
0052   
0053   
0054   
0055   btof->WriteTcl();
0056   exit(0);
0057 }