FairRoot/PandaRoot
PndTrackFunctor.cxx
Go to the documentation of this file.
1 /*
2  * PndTrackFunctor.cxx
3  *
4  * Created on: 06.02.2017
5  * Author: Stockmanns
6  */
7 #include "PndTrackFunctor.h"
8 
10 {
11  if (functorName.compare("StandardTrackFunctor") == 0)
12  return new StandardTrackFunctor();
13  if (functorName.compare("OnlySttFunctor") == 0)
14  return new OnlySttFunctor();
15  if (functorName.compare("RiemannMvdSttGemFunctor") == 0)
16  return new RiemannMvdSttGemFunctor();
17  if (functorName.compare("CircleHoughTrackFunctor") == 0)
18  return new CircleHoughTrackFunctor();
19  if (functorName.compare("FtsTrackFunctor") == 0)
20  return new FtsTrackFunctor();
21  if (functorName.compare("NoFtsTrackFunctor") == 0)
22  return new NoFtsTrackFunctor();
23  else {
24  std::cout << "-E- PndTrackFunctor: No valid functorName given: " << functorName << std::endl;
25  return new AllTracksFunctor();
26  }
27 }
28 
static PndTrackFunctor * make_PndTrackFunctor(std::string functorName)