FairRoot/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
16 {
18  {
19  public:
20  Configuration(const RecoTrackStateProvider* stateprovider=0)
21  : m_stateprovider(stateprovider),
22  m_useTrackTraj( true )
23  {}
24 
25  virtual ~Configuration(){};
26 
28 
29  bool useTrackTraj() const { return m_stateprovider && m_useTrackTraj ; }
30 
31  private:
34  ClassDef ( Configuration,1 )
35  } ;
36 }
37 
38 #endif
const RecoTrackStateProvider * stateProvider() const
Definition: Configuration.h:27
const RecoTrackStateProvider * m_stateprovider
Definition: Configuration.h:32
Configuration(const RecoTrackStateProvider *stateprovider=0)
Definition: Configuration.h:20