PandaRoot
Configuration.h
Go to the documentation of this file.
1 // ******************************************************
2 // DecayTreeFitter Package
3 // We thank the original author Wouter Hulsbergen
4 // (BaBar, LHCb) for providing the sources.
5 // http://arxiv.org/abs/physics/0503191v1 (2005)
6 // Adaptation & Development for PANDA: Ralf Kliemt (2015)
7 // ******************************************************
8 #ifndef DECAYTREEFITTER_CONFIG_H
9 #define DECAYTREEFITTER_CONFIG_H 1
10 
11 // class ITrackStateProvider ;
12 #include "RecoTrackStateProvider.h"
13 #include "Rtypes.h"
14 
15 namespace DecayTreeFitter {
17  public:
18  Configuration(const RecoTrackStateProvider *stateprovider = nullptr) : m_stateprovider(stateprovider), m_useTrackTraj(true) {}
19 
20  virtual ~Configuration(){};
21 
22  const RecoTrackStateProvider *stateProvider() const { return m_stateprovider; }
23 
24  bool useTrackTraj() const { return m_stateprovider && m_useTrackTraj; }
25 
26  private:
27  const RecoTrackStateProvider *m_stateprovider;
28  bool m_useTrackTraj;
29  ClassDef(Configuration, 1)
30 };
31 } // namespace DecayTreeFitter
32 
33 #endif
Configuration(const RecoTrackStateProvider *stateprovider=nullptr)
Definition: Configuration.h:18
const RecoTrackStateProvider * stateProvider() const
Definition: Configuration.h:22