PandaRoot
Configuration.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 // ******************************************************
14 // DecayTreeFitter Package
15 // We thank the original author Wouter Hulsbergen
16 // (BaBar, LHCb) for providing the sources.
17 // http://arxiv.org/abs/physics/0503191v1 (2005)
18 // Adaptation & Development for PANDA: Ralf Kliemt (2015)
19 // ******************************************************
20 #ifndef DECAYTREEFITTER_CONFIG_H
21 #define DECAYTREEFITTER_CONFIG_H 1
22 
23 // class ITrackStateProvider ;
24 #include "RecoTrackStateProvider.h"
25 #include "Rtypes.h"
26 
27 namespace DecayTreeFitter {
29  public:
30  Configuration(const RecoTrackStateProvider *stateprovider = nullptr) : m_stateprovider(stateprovider), m_useTrackTraj(true) {}
31 
32  virtual ~Configuration(){};
33 
34  const RecoTrackStateProvider *stateProvider() const { return m_stateprovider; }
35 
36  bool useTrackTraj() const { return m_stateprovider && m_useTrackTraj; }
37 
38  private:
39  const RecoTrackStateProvider *m_stateprovider;
40  bool m_useTrackTraj;
41  ClassDef(Configuration, 1)
42 };
43 } // namespace DecayTreeFitter
44 
45 #endif
Configuration(const RecoTrackStateProvider *stateprovider=nullptr)
Definition: Configuration.h:30
const RecoTrackStateProvider * stateProvider() const
Definition: Configuration.h:34