Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-21 23:14:15

0001 #include "RecoTracker/MkFitCore/interface/Config.h"
0002 
0003 namespace mkfit {
0004 
0005   const PropagationConfig* PropagationConfig::s_default = nullptr;
0006 
0007   void PropagationConfig::set_as_default(bool force) {
0008     if (s_default != nullptr) {
0009       if (force)
0010         delete s_default;
0011       else
0012         return;
0013     }
0014     s_default = new PropagationConfig(*this);
0015   }
0016 
0017   //------------------------------------------------------------------------------
0018 
0019   namespace Config {
0020     // Multi threading configuration
0021 #if defined(MKFIT_STANDALONE)
0022     int numThreadsFinder = 1;
0023     int numThreadsEvents = 1;
0024     int numSeedsPerTask = 32;
0025 #endif
0026 
0027 #if defined(MKFIT_STANDALONE)
0028     bool removeDuplicates = false;
0029     bool useHitsForDuplicates = true;
0030 #endif
0031     const float maxdPt = 0.5;
0032     const float maxdPhi = 0.25;
0033     const float maxdEta = 0.05;
0034     const float maxdR = 0.0025;
0035     const float minFracHitsShared = 0.75;
0036 
0037     const float maxd1pt = 1.8;     //windows for hit
0038     const float maxdphi = 0.37;    //and/or dr
0039     const float maxdcth = 0.37;    //comparisons
0040     const float maxcth_ob = 1.99;  //eta 1.44
0041     const float maxcth_fw = 6.05;  //eta 2.5
0042 
0043 #ifdef CONFIG_PhiQArrays
0044     bool usePhiQArrays = true;
0045 #endif
0046   }  // namespace Config
0047 
0048 }  // end namespace mkfit