Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #include "FindingFoos.h"
0002 #include "MkBase.h"
0003 #include "KalmanUtilsMPlex.h"
0004 
0005 namespace {
0006   using namespace mkfit;
0007   const FindingFoos s_fndfoos_brl(kalmanPropagateAndComputeChi2, kalmanPropagateAndUpdate, &MkBase::propagateTracksToR);
0008   const FindingFoos s_fndfoos_ec(kalmanPropagateAndComputeChi2Endcap,
0009                                  kalmanPropagateAndUpdateEndcap,
0010                                  &MkBase::propagateTracksToZ);
0011 }  // namespace
0012 
0013 namespace mkfit {
0014 
0015   const FindingFoos& FindingFoos::get_barrel_finding_foos() { return s_fndfoos_brl; }
0016   const FindingFoos& FindingFoos::get_endcap_finding_foos() { return s_fndfoos_ec; }
0017 
0018   const FindingFoos& FindingFoos::get_finding_foos(bool is_barrel) { return is_barrel ? s_fndfoos_brl : s_fndfoos_ec; }
0019 
0020 }  // namespace mkfit